BetterBrag

A Pocketmine plugin implementing a more advanced item bragging system.

BetterBrag

Advanced bragging plugin for Pocketmine-MP.

Features

  • GUI Based bragging system.
  • Commands for commencing and ending brags.
  • Ability to list all other ongoing brags.

Installation

  1. Download plugin phar from here
  2. Add to your servers' plugin folder.
  3. Restart server.

Commands

CommandDescriptionPermission
/bragBrag management command.brag.command
/brag startStart bragging about the item within your hand.brag.command.start
/brag stopStop bragging about the item you are currently bragging about.brag.command.stop
/brag listList all current bragging players & corresponding items.brag.command.list
/brag view View the item a player is bragging about.brag.command.view

API

To obtain an instance of this plugin's main class:

use snare\BetterBrag\BetterBrag;

$instance = BetterBrag::getBetterBrag();

Various methods can be found below:

$instance->getBragItems(); // returns an array with player name as key, Item instance as value.

$instance->isBragging(Player $player); // returns true or false depending on whether or not the specified player is bragging.

$instance->startBragging(Player $player); // causes the specified player to brag about the item in their hand.

$instance->stopBragging(Player $player); // returns true if able to stop playing bragging, false if not.

$instance->getBraggingItem(Player $player); // returns Item instance if player is bragging, null if not.

Support

Reach out on discord snare_gale if having any issues or if you need help with configuration.

Details

Version: 1.0.0

Downloads: 283

Updated: 7/24/2024

Supported API versions: 5.3.0 to 5.27.1

Categories: Fun, API plugins, Miscellaneous, Minigame, Chat-Related, Informational, General

License: GPL-3.0

Producers