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 Jul 18, 2014Addon seemed good, but got way too many internal errors, even after making sure the formatting of the ranks was 100% perfect. Would like to try this addon again in the future when this bug is fixed.
-
View User Profile
-
Send Message
Posted Jul 18, 2014@skull4949
Please make sure Java 7 is the default Java installed, as this is all the error is suggesting.
@princecraft23
Please send the error in console through pastebin.
-
View User Profile
-
Send Message
Posted Jul 18, 2014when ever i type /rankup i get an error message "an internal error occurred while trying to perform this command
-
View User Profile
-
Send Message
Posted Jul 18, 2014@mazentheamazin
It still gives me the same error message.
-
View User Profile
-
Send Message
Posted Jul 17, 2014@skull4949
Please update to Java 7 and please remove the error message as soon as you read this.
-
View User Profile
-
Send Message
Posted Jul 17, 2014@Marvin29431
You can set the formats of the rank by modifying (or creating if it doesn't exist) rank-format as shown here.
-
View User Profile
-
Send Message
Posted Jul 17, 2014Can you make it where we can edit what comes up when you type /ranks?
-
View User Profile
-
Send Message
Posted Jul 14, 2014@xbenas
AFAIK You can have decimals in prices and its the usual integer limit.
-
View User Profile
-
Send Message
Posted Jul 14, 2014its keeps saying an iternal error
-
View User Profile
-
Send Message
Posted Jul 14, 2014@DJdaBomB
Did you download vault? Vault is required for prisonrankup to run
-
View User Profile
-
Send Message
Posted Jul 14, 2014b.t.w. My Error is in game that might help... lol xD
-
View User Profile
-
Send Message
Posted Jul 14, 2014this plugin still never loads -_- I HAVE ALL THE REQUIREMENTS BUT IT STILL DOESNT LOAD THE FILES... any help?
-
View User Profile
-
Send Message
Posted Jul 14, 2014@mazentheadmin
so if i want permissions ops only i need to set them to false?
- martmists
-
View User Profile
-
Send Message
Posted Jul 14, 2014mazentheamazin when i do /rankup as a op is says an internal error has ocurred while performing this command do i have a setting wrong cause no one can rankup when they do / rankup it does nothing
-
View User Profile
-
Send Message
Posted Jul 14, 2014Hey man, just wanted to ask what is the maximum price you can put up for a rank and can I use decimals in prices (like 4.99 $)? Is it the usual integer limit, 2147483647?
Thanks!
-
View User Profile
-
Send Message
Posted Jul 14, 2014@martmists
AFAIK there is no value 'op', please set it to true. If you do not wish other players to have 'prisonrankup.*' set default to false.
-
View User Profile
-
Send Message
Posted Jul 13, 2014@Poptarts102
try using the plugin rankdisplaynames.
-martmists
-
View User Profile
-
Send Message
Posted Jul 13, 2014@mazetheadmin
1. normal permissions and i tried pex.
2. http:pastebin.com/93bLPfgR
if i change, for example prisonrankup.set, to op, it crashes. should i delete true after "default:" in my permissions system? here is my permissions file
-martmists
-
View User Profile
-
Send Message
Posted Jul 13, 2014@martmists
1. What permissions system are you using? 2. Please send the error in log through pastebin
-
View User Profile
-
Send Message
Posted Jul 13, 2014okay, so its all done, but when i do /rankup, it says an internal error occurred and i lose money but i dont rankup. everything else works, and im in rank A so i have to rankup to B.
permissions.yml: prisonrankup.*: description: prisonrankup permissions default: true children: prisonrankup.rankup: true prisonrankup.set: op prisonrankup.create: op prisonrankup.get: op prisonrankup.reload: op prisonrankup.update: op prisonrankup.ranks: true
- martmists