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

A pocketmine plugin implementing the legacy prison rank up system in addition to a form of prestiging.
version 1.1.0
Approved
Direct Download How to install?
Switch version
217 Downloads / 477 Total
2 Reviews
Plugin Description §

Prisons

A pocketmine plugin implementing the legacy prison rank up system in addition to a form of prestiging.

How to install

  1. Download the phar here.
  2. Add it to your servers 'plugins' directory.
  3. Restart your server.

Features

  • Players have the ability to rankup 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.

  • A scorehud addon.

  • Only allow players to mine in mines created by the mine reset plugin (unless you have a specific permission or are in a specified plot world).

Commands

  • /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'.

Permissions

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.

prisons.nomine.bypass:

default: op
description: Allows players to mine/place blocks in areas that are not mine areas.

Dependancies

  • 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.

  • MineReset is also required in order for this plugin to work, if not installed the plugin will not work.

  • Optional | v

  • PureChat is required only if you wish to implement the 'chat format' feature that comes with this plugin.

  • [ScoreHud])(https://poggit.pmmp.io/p/ScoreHud/5.2.0) is required only if you wish to use prison's scorehud feature.

Chat Format & ScoreHud

  • Use {PRISON_RANK} and {PRISON_ASCENSION} in order to display the rank/ascension level of player in chat.

  • You must download the scorehud addon from here, download the 'PrisonAddon.php' file and put it into your addon's folder and restart your server.

  • Use {PRISON_RANK} and {PRISON_ASCENSION} in order to display the rank/ascension level of a player on the scorehud.

API

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

Support

If you require any help or assistance, are recieving any errors or have an idea/suggestion, message me on discord TPE#1061.

What's new §
  • Added the ability for players to mine only within mines created by mine reset, the plot world that is specified in config and
    also if they have a specific permission (prisons.nomine.bypass).
  • Created a ScoreHud addon (see the section on scorehud and chat format for more information).

XTRMCRAFT
using v1.1.0
19 Jan 21
Great Plugin TPE i Tryed added you on discord about some bug i keep having and it keeps making a crash dump. Error: Undefined index: megacraft6994 File: plugins/Prisons (1).phar/src/TPE/Prisons/Provider/SQLite3 Line: 58 Type: ErrorException
OguzhanUmutlu
using v1.0.0
13 Jan 21
Looks nice ;)
TPEimperialPE
13 Jan 21
Thank you! Make sure you have installed the new version, 1.1.0.

Reply to review by :

Supported API versions
3.0.0
->
3.17.0
Dependencies
PureChat 1.4.11
Optional
View Plugin
EconomyAPI 5.7.2
Required
View Plugin
MineReset 3.2.0
Required
View Plugin
PurePerms 1.4.3
Required
View Plugin
ScoreHud 5.2.0
Optional
View Plugin
License §
Categories:
Minigame
General
Chat-Related
Teleportation
Economy
Fun
API plugins
Permissions
Other files
Permissions
Commands

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

Loading...