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 prisons plugin for Pocketmine-MP.
Command | Description | Permission |
---|---|---|
/rankup | Rankup command. | betterprisons.rankup.command |
/prestige | Prestige Command | betterprisons.prestige.command |
Use the following in your scorehud.yml (ScoreHud must be downloaded for this feature).
Tag | Description |
---|---|
{scorehudx.prisonrank} | Displays the players current prison rank. |
{scorehudx.prisonprestige} | Displays the players current prestige. |
{scorehudx.prisonrequiredblocks} | Displays the number of blocks players need to mine to be able to prestige. |
{scorehudx.prisonrequiredrank} | Displays the amount of money the player requires to rank up. |
{scorehudx.prisonrequiredprestige} | Displays the amount of money the player requires to prestige. |
Use the following in your config.yml's nametag and chat format (RankSystem must be downloaded for this feature).
Prefix | Description |
---|---|
{prison_rank} | Displays the players current prison rank. |
{prison_prestige} | Displays the players current prestige. |
To obtain an instance of this plugin's main class:
use snare\BetterPrisons\BetterPrisons;
$instance = BetterPrisons::getBetterPrisons();
Various methods can be found below:
$manager = $instance->getDataSessionManager();
$session = $manager->getDataSession(string $name);
$rank = $session->getRank();
$prestige = $session->getPrestige();
$blocksBroken = $session->getBlocksBroken();
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