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!

-
View User Profile
-
Send Message
Posted May 5, 2014Imeant PEX not PRX
-
View User Profile
-
Send Message
Posted May 5, 2014Hey, I downloaded this a while ago and couldbnt get it to work, I was really mad and made a kitpvp server instead, nowi see the problem I didnt have PRX! Thanks! And do you know what plugin gives players money when they kill someone?
-
View User Profile
-
Send Message
Posted May 5, 2014Seem to be having trouble with ranks N and Y ... putting quotes around it seems to cause an error?!
-
View User Profile
-
Send Message
Posted May 4, 2014@Adnan2000
No problem, what version of PrisonRankup are you using?
@StevensCruz711
This is possible with v2.2
-
View User Profile
-
Send Message
Posted May 4, 2014Hello, im trying to set up my prison server so that players can do /rankup in any world. For example if i have two worlds with the name of: Prison and PlotWorld. I want it so that players can rank up in any world and they ranks would transfer from world to world. How do i make this possible? Can i use GroupManager ? Please @StevensCruz711 so i can get notification.
-
View User Profile
-
Send Message
Posted May 4, 2014@mazentheamazin Im sorry for the inconvenience, I am currently not using PermissionsEx, another problem is that it goes to c then it goes back to b and b to c and c.. so on. I dont have any experience with PermissionsEx that is the reason why i use groupmanager.
-
View User Profile
-
Send Message
Posted May 4, 2014@Adnan2000
Downgrade PermissionsEx, I am currently waiting Vault to update to fix this issue
@BrutalNetwork
Transfer ranks to profile checks on-login (If their profile is not registered) if any of the ranks they have reflect the ones on the one in PrisonRankup, if so, create the player profile with the rank mentioned.
-
View User Profile
-
Send Message
Posted May 4, 2014not sure if its a bug or not, but i just started my prison server back up, and when people rank up, some of them get different ranks in their chat prefixes ( group manager group ) then what they are in prison?
i enabled Transfer ranks to profile: true
if that changes anything?
thanks
-
View User Profile
-
Send Message
Posted May 4, 2014@mazentheamazin
I need assistance, whenever i submit the command /rankup, it broadcasts in chat that i have ranked up but it does not charge me anything or promote me to the new group. No error message to be seen.
-
View User Profile
-
Send Message
Posted May 4, 2014@DeanAyalon
Anyone that Vault is compatible with
@mcserverdev
Yes, it is. Do double price = PrisonRankup.getNextRank(player).getPrice();
@nathan2439
Please send the error.
@ShadowCrafter829
No problem ;)
-
View User Profile
-
Send Message
Posted May 3, 2014I found out what was wrong. I was using the old format "A: 30" instead of the new one: "A:30". Thanks anyway though Mazen because you fixed my problem while you fixed someone else's.
-
View User Profile
-
Send Message
Posted May 3, 2014Mazen I'm using the default CONFIG file from above to test my plugin Even with the default CONFIG if I do /rankup I still get internal server error
-
View User Profile
-
Send Message
Posted May 3, 2014@mazentheamazin
i use the config like this is the new format but i still get the error http://pastebin.com/YAdaeyE3
-
View User Profile
-
Send Message
Posted May 3, 2014Is it possible to get the price of the NEXT rank from my plugin?
-
View User Profile
-
Send Message
Posted May 3, 2014Yes Mazen I was kinda confusing myself so let me start over. I am using Spigot 1.7.2 R04, PrisonRankupv2.2. When I edit the default config (http://pastebin.com/XdvKB2np) it breaks into this (http://pastebin.com/4PtRFytB). I know its broken because when I type "/rankup" it gives me an "Internal Error". I am also using PEX, vault, and essentials.
-
View User Profile
-
Send Message
Posted May 3, 2014What Economy PlugIns is it compatable with?
-
View User Profile
-
Send Message
Posted May 2, 2014@ShadowCrafter829
You're really confusing me. Send me the config if you want me to help you.
@giu1
You're using the old format. In your config.yml its A:23 not A: 23
@CC3475
Please send the error in console.
-
View User Profile
-
Send Message
Posted May 2, 2014@mazentheamazin
Listen i reloaded and then i the owner can rankup but all other players cant rankup and it gives me the error it gave before i reloaded but only whit people without op
-
View User Profile
-
Send Message
Posted May 2, 2014@mazentheamazin
http://pastebin.com/wV0J5F4h
-
View User Profile
-
Send Message
Posted May 2, 2014Nevermind it is doing the normal "Internal Error" when I type "/rankup".