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 17, 2014Okay, so I installed the plugin and I do the /rankup add *blaahhahaha and I do /ranks and there is B, C and D already on there, with prices I don't like! So I go into config and theres nothing there under ranks?? I can't change the price on the ranks I want! Please help!
-
View User Profile
-
Send Message
Posted Aug 17, 2014@GhostMc64
I am having the same exact problem, Have you found a fix yet?
-
View User Profile
-
Send Message
Posted Aug 17, 2014when i type /rankup it says "An internal error has occurred while trying to preform this command" what do i do?
-
View User Profile
-
Send Message
Posted Aug 17, 2014@AwokenPVP
That's scientific notation, and can you please elaborate about where you found 'input' for /rankup create. As the format is /rankup create [rank] [price]
-
View User Profile
-
Send Message
Posted Aug 16, 2014Just a question, what does it mean by input when I do /rankup create? Also, the numbers are in some weird format, instead of displaying the 0s it just does an E and however many digits are after it. Is there a way to fix that?
-
View User Profile
-
Send Message
Posted Aug 16, 2014@Dark_zack1
Not really, don't see the use of it and not quite sure if that will end up very well.
@RobotRabbit
No problemo, you'd might have to look into another plugin to do that though.
@LocoForTacos
1. Use latest development build of CraftBukkit 2. Use the latest version of Vault 3. Have an economy and permissions plugin installed.
-
View User Profile
-
Send Message
Posted Aug 16, 2014I downloaded plugin, and got internal error from the start. Don't know how to fix.
-
View User Profile
-
Send Message
Posted Aug 16, 2014Thanks for that mazentheamazin, however each time I stop and start the server, it reverts to what it originated as, and the only way to get it back to the custom way I did it is to use your command "/rankup reload". Is there a way to not have to use the /rankup reload command each time I start the server back up? Thank you for the quick reply previously too, much appreciated! :)
-
View User Profile
-
Send Message
Posted Aug 16, 2014@mazentheamazin Is there a way to color code ranks
-
View User Profile
-
Send Message
Posted Aug 16, 2014@RobotRabbit
Make sure you're using the most updated version of PrisonRankup. As well, you should reload the config using /rankup reload. That seems to fix it for some people.
-
View User Profile
-
Send Message
Posted Aug 16, 2014Hey, I absolutely love the plugin. Couldn't ask for a better plugin. I've just got one problem though. The "not-enough-money" line at the end of the config file is not applying in the game, after many restarts of the server. If you could please fix this, that would be terrific! Thanks a lot for the plugin, purely amazing and very very helpful.
-
View User Profile
-
Send Message
Posted Aug 15, 2014@PickaxeJunky
One of 2 things:
- Your config.yml is defined incorrectly, please fix accordingly;
- In your data.yml your player has a rank which doesn't exist.
-
View User Profile
-
Send Message
Posted Aug 15, 2014every different version i try always has the same error "internal server error" and i have vault heres my server console http://pastebin.com/nvmB3DC6
-
View User Profile
-
Send Message
Posted Aug 15, 2014@PerezHD
Please send the error in console through pastebin.
@MrHollick
Oh wow, thats a large piece of text. First of all, thats technically not possible and differenciating between males and females gameplay shouldn't be done with PrisonRankup and ranks. I would recommend you to look into PrisonRankup Player API Data, as it will allow you to utilize PrisonRankup's data file.
-
View User Profile
-
Send Message
Posted Aug 14, 2014Well Hey guys, I do not understand what is going here,
groups:
- Specialist:100
- Corporal:500
- Sergeant:1200
- Master-Sergeant:2600
- Captain:5000
- Lieutenant:3100
- Colonal:7200
- General:10000
First Rank: Private
Last Rank: General
In game, it says that these groups arent created, but they are created and it also gives me a internal error for some reason, I dont understand what is wrong atm
-
View User Profile
-
Send Message
Posted Aug 14, 2014for instance Dame/Knight are the same just one is male and one female. What i have done is put Dame first and then made Knight next for free, so if a male is playing they would rank to dame then rank once more for free. which is fine but then females would stop at Dame and not do /rankup until they had the money for the next rank, but if they did /rankup it would make them a knight. anyway around that or is this probably the best way to do that?
- Outcast:0
- Serf:10
- Peasant:100
- Yeoman:1000
- Squire:10000
- Reeve:100000
- Dame:1000000
- Knight:0
- Baroness:2000000
- Baron:0
- Countess:3000000
- Count:0
- Duchess:4000000
- Duke:0
- Regent:5000000
- Consort:6000000
- Princess:7000000
- Prince:0
- Queen:8000000
- King:0
First Rank: Outcast
Last Rank: King
If i can figure out how to deal with the gender specific ranks or where there is a rank with a gender as not all have them that would be fantastic! Also the way I have it going a female player that reaches the last female rank of Queen would always have one more rank to go i.e.., King. I imagine it would be hard to fix that to work as I want, unless you could have ranks with options? like final rank King/Queen and the user somehow choose which title they wanted?
-
View User Profile
-
Send Message
Posted Aug 14, 2014@MrHollick
The first rank shouldn't be the one where they're not in the rankup system. Furthermore, your first rank should have no price set as they would not be charged for it.
-
View User Profile
-
Send Message
Posted Aug 14, 2014@mazentheamazin
Actually Im not running Cb 1.7.10 here is my server info thats good right?
[Server] INFO This server is running CraftBukkit version git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
I installed and just a few odd things. I started testing with four groups/ranks
Serf:30 Peasant:100 Yeoman:300 King:500
when you do /ranks it returns:
All ranks; [Serf]:30 [Peasant]:100 [Yeoman]:300 [King]:500
I also have Serf set as first rank and King as last.
When a player in the "Default" group does /rankup it doesn't put them in Serf it skips it and puts them into the Peasant group.
Should the "first" rank in the config file be the group they are in before starting the /rankup system?
Also if the player is already in a group it seems to be putting these /rankup ranks into subgroups I thought that was odd, what might cause that?
-
View User Profile
-
Send Message
Posted Aug 14, 2014Can i color the rank Letters like A *is red
-
View User Profile
-
Send Message
Posted Aug 14, 2014@MrHollick
1. Not as of currently;
2. Can you please clarify.