PrisonRankup
PrisonRankup
The highest-rated and most practical rankup plugin designed specifically for the ever-popular Prison server is finally here. This plugin features a unique database built into the config to house each individual player’s rank to prevent losing ranks, glitching out of the system, and allowing multiple groups to be compatible with popular permissions plugins, including PermissionsEX and GroupManager. Accessing player’s information has never been easier, as one can simply type “/rankup get (name)” to retrieve the player’s display name, rank, and current balance. In order for the balance feature to work, as well as the plugin itself, Vault is required.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Commands:
/rankup - Ranks the sender up to the next available rank (prisonrankup.rankup)
/rankup set (player) (rank) - Sets the given player to the given rank (prisonrankup.set)
/rankup stats (rank) - Receive statistics of a rank given (prisonrankup.stats)
/rankup create (rank) (price) - Create a rank in-game (prisonrankup.stats)
/rankup get (player) - Retrieve a player profile (prisonrankup.get)
/rankup reload - Reloads the config.yml (prisonrankup.reload)
/rankup update - Update PrisonRankup (prisonrankup.update)
/ranks - Shows you available ranks (prisonrankup.ranks)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Default Configuration File:
# Welcome to configuring PrisonRankup, I will be here to guide you through this config setup # First let me introduce myself, I am Mazen. I consider myself an expert in configuring Plugins and YAML configs and an advanced Java developer # First thing I want you to do is to set the prefix (What comes before the message) for the plugin to use. Keep the speech marks please to avoid errors. Prefix: '&a[&bPrison&6-&bRankup&a]' #Do not touch this! version: 3.0 # Next thing I want you to do is set the message you want it to be when somebody ranks up. Keep the speech marks here as well. # The %player% will be replaced with the players name, and the %rank% will be replaced with the rank they ranked up to. Rankup BC Message: '&3%player% &6has ranked up to &3%rank%' # Now, the most important part of this plugin is the rankup ladder groups: #Heres an example of the format of how it should be: # rank name:price #DO NOT REMOVE THE # FROM THE ABOVE! - A:30 - B:100 - C:300 #Here, I will be asking you to put the first rank on the ladder in this example A First Rank: 'A' # As well as the last rank to assure that we can message the player that he is at the end of the ladder Last Rank: 'C' # This message is the message we will send to the player if he is the highest rank. Highest Rank MSG: '&6 You are already the highest rank!' # This next one is if you want to use a timed requirement for your rankup system, set it to true if yes. Default is false; Timed Requirement: false # Now we're if you set it to true you will have to set a certain time that you want to be done for the rank requirement Time Interval: 0.0 # Here you will write what the time is based on, seconds, minutes or hours. Spelling does matter! Time type: Seconds # If you want, I added an option where you can choose if you want to make it so that the interval is added to every Rankup Sequence Interval on all ranks: false # Now you're almost there! Theres just one last part, If you're switching from Rankup and/or majority of Rankup plugins set this to true. If not, set it to false. # What this does is check if the player has a rank that is listed in groups (Every minute) and if so, makes a profile with that rank. Transfer ranks to profile: false # Set the next item to false if you do not want to use the updater update: true # Set this to true if you wish to enable debug mode debug: false # This is the format of the ranks which will appear when a player does /ranks #Variables are: %price%, %rank% ranks-format: '&5[&3%rank%&5]&6: %price%' # Here, is the message the player will recieve when he doesn't have enough money to rankup #Varaibles are the same as the ones shown above not-enough-money: '&6You need &2$%price% &6 to rankup to &2%rank%'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Switching
Are you switching from another Rankup plugin? Simple! Set the “Transfer ranks to profile” option to “true” in the config.yml!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.8 Compatibility
1.8 compatibilities with UUIDs have been implemented in version 2.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using the Sign Integration
You can make signs that work for PrisonRankup like this (You require the permission prisonrankup.sign):
Then, once you place it you will get something like this:
And congratulations! Now you have a sign that be used to Rankup!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Plugin Updater
As of Version 1.3 I have integrated an updater to the plugin, just do /rankup update to Update the plugin. You may disable this feature by setting updater to false in the config.yml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PrisonRankup Connects to Mojangs Servers
As of the UUID Update, PrisonRankup connects to 'sessionserver.mojang.org' as well as 'api.mojang.com' to fetch UUIDs and names.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found a bug? Report it!
Have a bug you ran into? You want something added to the plugin? Click here!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source (for educational purposes only)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JavaDocs
PrisonRankup now has JavaDocs for v3.0+! You can check it out here!
I tried using this plugin on my 1.7.10 server. It worked perfectly, apart from the fact that every time I restart/reboot my server everyone's ranks gets reset to the first rank/default rank. I noticed that this is because the plugin doesn't save in-game data. Can someone please help?
Whenever I type in /rankup it does nothing, even when I type /ranks.
Can you update this to 1.10?
Will this be updated to 1.9?
@stevesdiamondtnt
Solved.
In the "groups" tag (in the config file), are the groups you put there the groups that you create with your permissions plugin.
(I use PEX)
I need help please! When I do /rankup it says "An internal error occurred while attempting this command" My eco plugin in Vault and im using Group Manager. # Welcome to configuring PrisonRankup, I will be here to guide you through this config setup
That is my config please help
Pls update the plugin pls pls pls pls pls pls pls pls pls pls pls!!!!!!!!!!!!
No 1.8+ support?
For those who cant run the 1.7.9(3.0) plugin version in 1.8 use the 1.7.2(2.0) it works PERFECTLY with me in 1.8 spigot =)
Per world support world be nice :D
@H1DD3NxN1NJA
You could set up your donor ranks to have a prefix/suffix and the in game ranks to have the opposite e.g
[Prison Rank] Name [Donor Rank]
And what you also would have to do is when they donate, make sure the command being executed is 'pex group [donor group] user add {name}' rather than 'pex user {name} group set [donor group]' as the second one would remove any other groups they are in.
You can ignore the donor groups in the ladder and exclude them from your /ranks
This plugin didn't work for me but I hope I helped :)
@Pathojin It seems as if you have a problem with vault or permissions. Make sure Vault, PermissionsEX/GM/etc and PrisonRankup is up to date.
Update please
I've tried versions 2.6, 2.7, 3.0, and 3.1 of this plugin for Spigot/CB 1.8.6. 2.0 versions give the "An internal error occurred" message when someone tries to rankup, even with default configuration, but takes their money nonetheless. 3.0 versions simply don't do anything when commands are entered. I assume there are no permissions missing because operators are having the same problem.
Console:
Can you fix this to work for 1.8 please..?!?!?!
@supermankyle
Use v2.0
Hi! I have a problem. When i rankup i rankup into B,C but i have diffrent rank groups in my config! What should i do ? Please help! I use PrisonRankUp 2.2v
@H1DD3NxN1NJA
PermissionsEx has that feature. You can make it so players have more than 1 rank, with different weights. I switched over to PEX for that reason mainly, and it's very simple.
On my sever we r currently adding prison. There is a small problem i have, since ranks are made from Group manager and Prison Rankup, is there a way so people can donate and still have their prison rank (A-Z) and when they /rankup there donation rank doesn't change. Meaning a player is prison rank D and donated to rank Admin, they still have rank D and the Rank Admin, and when they /rankup, they move to rank E and still have the rank Admin.