By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.
OK, Don't show this again
Advanced bragging plugin for Pocketmine-MP.
Command | Description | Permission |
---|---|---|
/brag | Brag management command. | betterbrag.brag.command |
/brag start | Start bragging about the item within your hand. | betterbrag.command.start |
/brag stop | Stop bragging about the item you are currently bragging about. | betterbrag.command.stop |
/brag list | List all current bragging players & corresponding items. | betterbrag.command.list |
/brag view | View the item a player is bragging about. | betterbrag.command.view |
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.
Reach out on discord snare_gale
if having any issues or if you need help with configuration.
You can leave one review per plugin release, and delete or update your review at any time