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 Jun 13, 2014Can you add a way to have it add a prefix in the chat?
-
View User Profile
-
Send Message
Posted Jun 13, 2014After you fix all of the internal errors :p could you make it so that you can completely customize the /ranks message. Make it so that each rank can me a different color and stuff like that.
-
View User Profile
-
Send Message
Posted Jun 13, 2014OK GUYS. USE VERSION 2.2 IT WORKS FOR ME, ANY VERSIONS ABOVE THAT HAVE INTERNAL ERRORS! (USE THE ACCORDING VAULT)
-
View User Profile
-
Send Message
Posted Jun 13, 2014INFO org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin PrisonRankup v2.5
I continue to get this error. I have vault. Im on 1.7.2
-
View User Profile
-
Send Message
Posted Jun 13, 2014Just throwing this out there, when I edit the ranks section in the config the first rank will still be a darkish-blue letter and the price will still be the gold color when the players do /ranks. Hope you fix this, and this is an excellent plugin.
Thanks
-
View User Profile
-
Send Message
Posted Jun 12, 2014Hello
Great plugin, but it doesnt work for me all commands work only /rankup doesnt it comes with an error saying the command cant be done.
please help
-
View User Profile
-
Send Message
Posted Jun 11, 2014@Fuzzy_Bacca
i think you forgot to get vault vault is required
-
View User Profile
-
Send Message
Posted Jun 11, 2014can you make an update
-
View User Profile
-
Send Message
Posted Jun 11, 2014Just add multiple pages to /ranks because not all people have desktop mouses lol
-
View User Profile
-
Send Message
Posted Jun 11, 2014Are you going to be adding a feature to turn off rankup broadcasting as it get's pretty spammy when they rankup like 10-15 times in a row...
-
View User Profile
-
Send Message
Posted Jun 9, 2014Oh god.. Doesn't seem that I can take a 3 day holiday without the comments going crazy..
@soulscapex
Noticed that bug while I was out, I'll be uploading a fixed version soon, until then, please remove that large stack-trace from your comment.
@doom701
That is absolutely incorrect may I just say..
As I currently have a fixed version of the plugin, I feel that it doesn't have enough to fix one bug to upload. So if you have any feature suggestions for the plugin, this would be the best time to suggest them. Soon I will be setting up a Jenkins so I do not have to test things out publicly, and have some beta testers to check. (Excuse some of the grammar errors that may have been made, like I said before, I just came from a 3 day holiday and am pretty tired)
-
View User Profile
-
Send Message
Posted Jun 9, 2014[18:41:33] [Server thread/INFO]: soulscapex issued server command: /rankup [18:41:33] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin PrisonRankup v2.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot.jar:git-Spigot-1433] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [spigot.jar:git-Spigot-1433] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:724) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:985) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:830) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:167) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:713) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:576) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:482) [spigot.jar:git-Spigot-1433] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1433] Caused by: java.lang.NullPointerException at java.util.UUID.fromString(UUID.java:192) [?:1.7.0_51] at net.craftservers.prisonrankup.Models.PRPlayer.fromString(PRPlayer.java:156) [?:?] at net.craftservers.prisonrankup.Models.PRPlayer.getPlayer(PRPlayer.java:98) [?:?] at net.craftservers.prisonrankup.Models.PRPlayer.<init>(PRPlayer.java:33) [?:?] at net.craftservers.prisonrankup.SubCommands.Rankup.onCommand(Rankup.java:29) [?:?] at net.craftservers.prisonrankup.Models.CommandHandler.onCommand(CommandHandler.java:42) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-1433] ... 13 more
-
View User Profile
-
Send Message
Posted Jun 9, 2014The command 'rankup' accesses an internal class 'UUID' which attempts to reference a Bukkit API method 'fromString' in the UUID class on line 192 which depends on a Minecraft version of 1.7.0_45. The UUID method returns null causing the command handler to illegally access an undefined object throwing a NullPointerException.
-
View User Profile
-
Send Message
Posted Jun 9, 2014For some reason when i use /rankup an internal error happens. Any idea why?
-
View User Profile
-
Send Message
Posted Jun 8, 2014I don't know what I'm doing wrong but the plugin does not seem to be working at all. The only command that doesn't cause an error is the /ranks command. The problem might be because I'm confused with the ranking thing in the config. Is the first rank you put the one that you start with or the next rank after the one you start with. I have tried both and it still gives me and error. My first rank is "C' and I set it in the config to $0 but that doesn't seem to work. Any help would be nice.
-
View User Profile
-
Send Message
Posted Jun 8, 2014Prison Rankup is the world Plugin you could possibly use!
-
View User Profile
-
Send Message
Posted Jun 8, 2014How do I connect it to PermissionsEx? I am able to /rankup but it just says I am rank B it doesn't do anything
-
View User Profile
-
Send Message
Posted Jun 8, 2014Guys v2.0 is the only one I can get to work. The config will show up normally like it does above in the description. Only /ranks doesn't work, thats the only downside. It still supports UUIDs and is working fine with GroupManager for all my prison players. I made a cool GUI to pop up with /ranks instead that shows all of the rank prices in a chest. Not a big deal.
-
View User Profile
-
Send Message
Posted Jun 8, 2014@AltoGrizzlyHD
@CombatBorn I had this problem when was using PrisonRankUp 2.5 and had this error so I downgraded the plugin to 2.4 and it worked
-
View User Profile
-
Send Message
Posted Jun 7, 2014@AltoGrizzlyHD
Same, I'm pretty frustrated.