A Pocketmine plugin implementing a more advanced item bragging system.
Advanced bragging plugin for Pocketmine-MP.
Command | Description | Permission |
---|---|---|
/brag | Brag management command. | brag.command |
/brag start | Start bragging about the item within your hand. | brag.command.start |
/brag stop | Stop bragging about the item you are currently bragging about. | brag.command.stop |
/brag list | List all current bragging players & corresponding items. | brag.command.list |
/brag view | View the item a player is bragging about. | brag.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.
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