(3.0.0 - 3.25.6) 2.1.0 (3.0.0 - 3.25.6) 2.0.0 (3.0.0 - 3.25.6) 1.2.1 (3.0.0 - 3.25.6) 1.2.0 (3.0.0 - 3.25.6) 1.1.0 (3.0.0 - 3.25.6) 1.0.0
313
Read more on poggitA pocketmine plugin implementing the legacy prison rank up system in addition to a form of prestiging.
Players have the ability to rank up for a specific price configurable in the config.
Player can 'ascend' which is essentially prestiging, this resets their prison rank to A and resets their money, the rank up prices are then multiplied by an amount specified in the config.
You have the option to configure permissions that are removed and given during rank up and ascension.
All messages are configurable within the config!
Rank names can be altered within the config.
You have the option for a chat format which shows the players prison rank and ascension level.
Use {PRISON_RANK} for the prison rank of a player and {PRISON_ASCENSION} for the ascension level of a player when editing chat format.
/rankup - If the player has a sufficient amount of they are ranked up to the next prison rank.
/ascend - If the player is at the prison rank 'z' and has a sufficient amount of money then they ascend, resetting their money to 0, teleporting them to a spawn location specified within the config and resetting their prison rank to 'a'.
prisons.*:
default: op
description: Allows the usage of all prison commands.
prisons.rankup:
default: true
description: Allows the usage of the /rankup command.
prisons.ascend:
default: true
description: Allows the usage of the /ascend command.
EconomyAPI is required in order for this plugin to work, if it is not installed, the plugin will not work.
PurePerms is also required in order for this plugin to work, if it not installed,
the plugin will not work.
PureChat is required only if you wish to implement the 'chat format' feature that comes with this plugin.
The following functions can be used by developers in the following way, what the functions do is fairly self explanatory:
Prisons::get()->getRank(string $name);
Prisons::get()->getAscension(string $name);
Prisons::get()->setRank(string $name, string $rank);
Prisons::get()->setAscension(string $name, int $ascensionLevel);
If you require any help or assistance, are receiving any errors or have an idea/suggestion, message me on discord TPE#1061.