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 21, 2014Can you explain to me how I could Fix it?
-
View User Profile
-
Send Message
Posted Jul 21, 2014@minecraftinventz
Oh. wow. Update Vault to the latest version, this may require you to update your permissions and/or economy plugin.
@superzyr
If any error in console please send it though pastebin, otherwise I would recommend you editing the config and running /rankup reload.
-
View User Profile
-
Send Message
Posted Jul 21, 2014It seems like no matter what I try to do I cannot add or even edit the existing ranks.
All I see is A,B and C. I tried adding D and it still showed A,B,C. I thought I'd try even just replacing the letters A,B,C in the config to Z,Y,R and it didn't even change, so I have no idea where the plugin is reading from.
I also tried to edit the config.yml inside the .jar file and then upload that to my server and it still doesn't change!
The only thing that changed for me is the color/format of the /ranks. I have Vault installed and I'm using GroupManager.
Please help!
-
View User Profile
-
Send Message
Posted Jul 21, 2014Hey, I'm using Group Manager for handling my permissions and OnTime to make timed groups (buy vip for 30 days, etc.). There's one problem: after vip expires you get transfered to default group, for me default group is the first in rankup list and if the player has rankedup he's just set to default even tho his rank is higher in data.yml.
So my suggestion would be: add a timed check or on event that would check if the player is in the group that he's suppose to be.
-
View User Profile
-
Send Message
Posted Jul 21, 2014@mazentheamazin
http://pastebin.com/GEtXE4TF
Is My .data File
And This Is The Error Code That Tags Along With It When I Do /Rankup
http://pastebin.com/mVAifybV
-
View User Profile
-
Send Message
Posted Jul 21, 2014@minecraftinventz
I apologize for the inconvenience however I will require your data.yml as well as the UUID of your player, as the stacktrace is leading me to think that it may be a problem there.
-
View User Profile
-
Send Message
Posted Jul 21, 2014@mazentheamazin
Still Doesn't Work Even When I Reset The Config All Together Anew But Heres My Current Config: http://pastebin.com/jPEiPiRC
-
View User Profile
-
Send Message
Posted Jul 20, 2014@SpiderLincoln
The rank you have in the data.yml doesn't exist.
@minecraftinventz
Your config.yml is most probably defined incorrectly, please make sure you're using the correct format (example on main page). If this error still occurs post config.yml through pastebin.
-
View User Profile
-
Send Message
Posted Jul 20, 2014@mazentheamazin
Ok So I Deleted The Data File And Tried Again And Had The Internal Error Thing Pop Up Again So I Decided To Redo Only The Ranks And Prices All New Nothing Else Changed And This Came Up I Checked The Data File And Everything...
http://pastebin.com/WDD6jCKS
-
View User Profile
-
Send Message
Posted Jul 20, 2014Console Error
http://pastebin.com/MdTZb5KP
-
View User Profile
-
Send Message
Posted Jul 20, 2014@minecraftinventz
The rank you have in the data.yml doesn't exist.
-
View User Profile
-
Send Message
Posted Jul 20, 2014@mazentheamazin
The PM Said I Got An Internal Error Everytime I Did /rankup the error is here: http://pastebin.com/eLBUDz80
-
View User Profile
-
Send Message
Posted Jul 19, 2014@SpiderLincoln
Please send the error in console through pastebin.
-
View User Profile
-
Send Message
Posted Jul 19, 2014No, Only thing that happens when they do /rankup it gives them a internal error
-
View User Profile
-
Send Message
Posted Jul 19, 2014@SpiderLincoln
Odd. Is there any error in console when they login?
-
View User Profile
-
Send Message
Posted Jul 19, 2014Everytime someone new comes on I have to manually set them as a rank throuh the data file
-
View User Profile
-
Send Message
Posted Jul 19, 2014@minecraftinventz
"Please Don't Talk Like This, Its Annoying". I have not received any PM from you on BukkitDev nor the Bukkit Forums.
-
View User Profile
-
Send Message
Posted Jul 18, 2014@Marvin29431
That is not possible, override the command with another plugin.
@VersedCraft
Please explain into more detail what is not working, and send errors through pastebin.
@princecraft23
I have responded to you in your PM
-
View User Profile
-
Send Message
Posted Jul 18, 2014@mazentheamazin
here is the paste bin link
http://pastebin.com/0zigMS5g
-
View User Profile
-
Send Message
Posted Jul 18, 2014@mazentheamazin I mean like each individual rank that pops up. So like a red color for the first one and like a blue one for the last one.