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 22, 2014Hi Mazen, I think I have found a bug/glitch in you plugin with EssentialsChat. I have 6 Staff Groups for my server, Helper, Mod, TrialAdmin, Admin, HeadAdmin, CoOwner, Owner. So let us say I pick a person named "Test123" and I see he is ONLY in group A and has no other external permissions/groups. My Helper Group, has the chat http://pastebin.com/Rr1h8K0e and when I want to add Test123 to group Helper, (/pex user Test123 group add Helper) and he has his green chant (&a) and everything is fine. Although, when he /rankup his green chat dissapers and it makes it the chat for group B (Next Rank) Which is http://pastebin.com/SHSDdz5f. How do I fix this?
-
View User Profile
-
Send Message
Posted Jun 22, 2014@MinecraftDotOrg
PrisonRankup will set you to the first rank automatically, regardless if you're an owner or whatever permissions you may have.
-
View User Profile
-
Send Message
Posted Jun 22, 2014Whenever I login it makes me (owner) rank A (My first prisonrankup rank.) How do I fix this?
-
View User Profile
-
Send Message
Posted Jun 22, 2014Where is the cmd ?
-
View User Profile
-
Send Message
Posted Jun 22, 2014@mazentheamazin
never mind it is not doing it anymore for some reason.
-
View User Profile
-
Send Message
Posted Jun 22, 2014@rajbaba
You may have Java 6 installed, make sure its un-installed in that case. To check your Java version run this in cmd: "java -version". The number after 1. will determine which version is being run through the command prompt.
-
View User Profile
-
Send Message
Posted Jun 22, 2014I don't get what you mean mazen, i really need help. How do I fix the error?
-
View User Profile
-
Send Message
Posted Jun 22, 2014@rajbaba
The error suggests differently.
@masef21
I am still not getting you.
-
View User Profile
-
Send Message
Posted Jun 22, 2014@mazentheamazin
I was trying to ask why does it put me into 2 ranks when i use /rankup. on my server, i am the C rank. then when i do /rankup to rankup to B rank, its says that i was moved to group Head-Guard, then says i was moved to group B. it is not really affecting anything, it is just kind of annoying me.
-
View User Profile
-
Send Message
Posted Jun 22, 2014How do I remove the error???? And my java is running Java 7.
-
View User Profile
-
Send Message
Posted Jun 22, 2014@rajbaba
Please remove the error, and its due to you're running Java 6. Please update to Java 7.
@legoboybob2
You're running Java 6 or lower, please update to Java 7.
-
View User Profile
-
Send Message
Posted Jun 22, 2014I keep having this problem!!! Please help me, I'm new at this. [08:01:49 ERROR]: Could not load 'plugins/PrisonRankup_v2.6.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/craftservers/prisonrankup/PR : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:355) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.<init>(CraftServer.java:317) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at net.minecraft.server.v1_7_R3.PlayerList.<init>(PlayerList.java:68) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at net.minecraft.server.v1_7_R3.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] Caused by: java.lang.UnsupportedClassVersionError: net/craftservers/prisonrankup/PR : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_65] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [?:1.6.0_65] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [?:1.6.0_65] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_65] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_65] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_65] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_65] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_65] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_65] at java.lang.Class.forName0(Native Method) [?:1.6.0_65] at java.lang.Class.forName(Class.java:249) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-71-ge1cec47-b3082jnks] ... 9 more
-
View User Profile
-
Send Message
Posted Jun 22, 2014@mazentheamazin
22.06 16:55:09 [Server] INFO java.lang.NullPointerException Thats all I got from your plugin
-
View User Profile
-
Send Message
Posted Jun 22, 2014Hi,
I can't get the plugin to work. I've downloaded this craftbukkit.jar file: http://dl.bukkit.org/downloads/craftbukkit/view/02631_1.7.9-R0.2/ and I get this on command prompt: http://prntscr.com/3vdqwl Am I using the wrong craftbukkit version or something? Can you send me a build number or something I should be using?
Thanks :) -lego
p.s. yush me noob at java code <3
-
View User Profile
-
Send Message
Posted Jun 22, 2014@DarknessxFazer
Rather that is not the full error, or its not a PrisonRankup error.
-
View User Profile
-
Send Message
Posted Jun 22, 2014@mazentheamazin I'm getting an error http://pastebin.com/bg3vRTe8
-
View User Profile
-
Send Message
Posted Jun 21, 2014@masef21
Wait, is that a question?
@TheBuildGames
Just have vault installed, it will do it automatically.
-
View User Profile
-
Send Message
Posted Jun 21, 2014@mazentheamazin
ok, so i updated vault and that fixed the error. now i would like to know that when i do /rankup, it will say that i was moved to Head-Guard, then to B if i were the C rank. I am an op and the owner rank if that has anything to do about it.
-
View User Profile
-
Send Message
Posted Jun 21, 2014How do I make it where it ranks them up to B in GroupManager? Please help!
-
View User Profile
-
Send Message
Posted Jun 21, 2014When i Type /rankup it logs me out and says Internal Server Error