An advanced prisons plugin for Pocketmine-MP.
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.
Version: 1.0.0
Downloads: 509
Updated: 8/27/2024
Supported API versions: 5.3.0 to 5.27.1
Categories: Minigame, API plugins, Miscellaneous, Fun, Economy, Mechanics, Chat-Related, General
License: GPL-3.0