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 Aug 14, 2014Im running 1.7.10-R0.1 I think this plugin should work?
Couple quick questions is there anyway to customize the sign to reflect something besides the Prison Rank up, say for instance New Title
I would like to use this system not for a Prison server but for a caste system i.e.., peasant, squire, knight baron, prince, king and such. While i think /rankup would work great for this it would be nice to be able to edit out the Prison rank references and enter custom ones such as Title instead of Rank.
-
View User Profile
-
Send Message
Posted Aug 13, 2014and my server is 1.7.10 the bukkit
-
View User Profile
-
Send Message
Posted Aug 13, 2014No. Im on a 24/7 server host and they told me to get PermissionsEx and not group manager
-
View User Profile
-
Send Message
Posted Aug 13, 2014@Astemus
Yeah, PrisonRankup currently has just finished a rewrite and is going through the progress of being approved. Funny enough, I actually provided a method which updates the UUID (from internal Minecraft code) to the official ones from Mojang. Currently its going under the approval process and you will have to rather get a developer to compile it (edit: realized there is v3.1 code in there and has bugs with /rankup get and /rankup stats), or wait.
Here are the links for what I specified earlier:
- Source on GitHub
- Code which corrects the UUID
-
View User Profile
-
Send Message
Posted Aug 13, 2014Hi, our server was running in offline-mode for a bungeecord setup, but due to recent changes, we are trying to switch back to running in online mode. The problem is that UUIDs for offline mode are different than the official ones from Mojang. I have been able to convert everything on our server to online UUIDs except this plugin. Obviously having a prison server we are highly dependant on this specific plugin, and forcing a reset would be devastating. Is there any way you know of that we could convert the existing UUIDs to a different one? Or barring that, a way to read the rank from groupmanager's groups? I tried removing the database and using the "Transfer ranks to profile" setting to true, but it would not read the existing rank no matter what I did. I even tried running it with the newest versions of groupmanager and craftbukkit, but the result was the same.
My only other alternative is to go through the file manually, running a conversion on each entry's UUID to get the player name, and then convert the name to its online UUID. With close to 4,000 entries, this will be a torturous process...
-
View User Profile
-
Send Message
Posted Aug 12, 2014@seanzilla1219
Its most probably due to you're not running the latest development build of CraftBukkit but to be safe please pastebin the error in console.
-
View User Profile
-
Send Message
Posted Aug 12, 2014It says the same error for me when I put myself as a default and done the ranks, it says this:
Internal error: http://prntscr.com/4c8p3r Ranks (/ranks): http://prntscr.com/4c8p9t
it goes up A to Free, but I just cant do /rankup :( Plesae help! This is the only thing big that i need to get done for the server!
I also place a sign and do the [Prisonrankup] thing then I test it and it doesnt do anything. Please help me!
-
View User Profile
-
Send Message
Posted Aug 12, 2014I have a problem with the latest version of this plugin the prefix won't work i try to change it but it still says [prison-rankup]
-
View User Profile
-
Send Message
Posted Aug 12, 2014@insidiator444
Update to the latest development build of CraftBukkit.
-
View User Profile
-
Send Message
Posted Aug 12, 2014http://pastebin.com/X8PdLqyZ
I have no clue why the /rankup command isnt working... i have vault and pex.
please help
-Metaltraitor
-
View User Profile
-
Send Message
Posted Aug 12, 2014@LokiLolz
Update to the latest development build of CraftBukkit.
@drew5494
No, there isn't. AFAIK the rewrite is compatible with 1.7.9R01 though.
-
View User Profile
-
Send Message
Posted Aug 11, 2014Hi, is there a way around not updating to the latest version of Craftbukkit 1.7.10 and use 1.7.9R01 instead?
-
View User Profile
-
Send Message
Posted Aug 11, 2014Whenever I do /rankup, it says that there's an internal error.
http://pastebin.com/J2hhxKUg
-
View User Profile
-
Send Message
Posted Aug 11, 2014@TWSSYesterday:
I have been using Vault, and it still doesn't linkup.
-
View User Profile
-
Send Message
Posted Aug 10, 2014Hi, just curious. Running into a problem where the rankup ranks aren't linked to the PermissionsEx ranks. What do I need to do?
-
View User Profile
-
Send Message
Posted Aug 10, 2014@Cookiemonsterm
whole*
-
View User Profile
-
Send Message
Posted Aug 9, 2014Hi I get a hole load of errors when I try to rankup Please help.
-
View User Profile
-
Send Message
Posted Aug 9, 2014@lolwhycant
Update to the latest development build of CraftBukkit.
-
View User Profile
-
Send Message
Posted Aug 9, 2014@mazentheamazin
Hey, my config doesn't look like the one above. So how would I change the pre-fix with the new config.
-
View User Profile
-
Send Message
Posted Aug 8, 2014@Stealth2800
Hehe. I do have a github repo for the rewrite though (link).