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

An advanced prisons plugin for Pocketmine-MP.
version 1.0.0
Approved
Direct Download How to install?
58 Downloads / 58 Total
Plugin Description §

BetterPrisons

Advanced prisons plugin for Pocketmine-MP.

Features

  • Ranking up and prestiging system.
  • Customisable command executing and permission giving system per rank up/prestige.
  • Optional rank system and scorehud addons.
  • Compatibility with bedrock economy.
  • Customisable messages and multipliers.
  • Optional requirement for players to mine a specified number of blocks before prestiging.

Installation

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

Commands

Command Description Permission
/rankup Rankup command. betterprisons.rankup.command
/prestige Prestige Command betterprisons.prestige.command

ScoreHud Addon

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.

RankSystem Addon

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.

API

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();

Setup

  • If you wish to use the block requirement per prestige feature, ensure all world names which you wish block breaking to count towards the target are named solely as a single letter, I.E: Mine E is in the world 'e'.
  • If the ScoreHud bugs out, restart your server, currently I do not understand why this occurs.

Support

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

Supported API versions
5.3.0
->
5.16.0
Dependencies
RankSystem 1.1.3
Optional
View Plugin
ScoreHud 8.0.0
Optional
View Plugin
BedrockEconomy 4.0.4
Required
View Plugin
Producers §
  • Collaborators:
    • @snarerectify
License §
Categories:
Minigame
General
Chat-Related
Mechanics
Economy
Fun
Miscellaneous
API plugins
Permissions
Database
Other files
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...