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!
I am have problems with the /ranks command every time i do it/my players It just says Current Available Ranks: Every thing else is working, My Craftbukkit is 1.7.2-R0.3 Bate build and i have Version 1.4 of Prisonrankup Thanks. -ToxicPrison
@HoppyR6
If you go to the ftp access on your server or the folder that the plugin makes its in there
For everyone who has errors use the bukkit version that is CRAFTBUKKIT 1.7.2-RO.2
When I do any /rankup command it says: 'An interal error occurred while attemping to perform this command'
When I do /rankup I get an internal server error has occurred
Great problem, only one small problem thought. Something you might forgot to add, you can customize rankup message and highest rank message but you can not edit the message that appear if the player does not have enought money. If there is any way you could add that into the config it would be great. Love the plugin so far :)
When a player uses /rankup they only get the next rank in that world. I use PEX and ideas how to fix this?
How do you edit /ranks?
Hi,How i can do that someone doing command (/rankup) and get premission
/ranks not working :( I see no ranks when i do /ranks, is it normal? i use the latest version.
Can youa dd a file to translate the plugin please, i have a french server so i need to translate it, thanks
Why did I get this error? [22:52:54 ERROR]: Error occurred while enabling PrisonRankup v1.4 (Is it up to d ate?) java.lang.IllegalArgumentException: Plugin already initialized! at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader .java:98) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2- 41-g3c20ce6-b3013jnks] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:59) [craftb ukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c20ce6-b3013j nks] at net.craftservers.prisonrankup.Main.<init>(Main.java:23) [?:?] at net.craftservers.prisonrankup.JoinHandler.<init>(JoinHandler.java:10) [?:?] at net.craftservers.prisonrankup.Main.onEnable(Main.java:50) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [c raftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c20ce6-b 3013jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:350) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2- 41-g3c20ce6-b3013jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:389) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2 -41-g3c20ce6-b3013jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.jav a:439) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g 3c20ce6-b3013jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer. java:375) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-4 1-g3c20ce6-b3013jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:77 3) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c20 ce6-b3013jnks] at org.bukkit.Bukkit.reload(Bukkit.java:279) [craftbukkit-1.7.2-R0.3-201 40210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c20ce6-b3013jnks] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 23) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c2 0ce6-b3013jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:17 5) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c20 ce6-b3013jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServe r.java:683) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2 -41-g3c20ce6-b3013jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(Craf tServer.java:670) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7. 2-R0.2-41-g3c20ce6-b3013jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java: 286) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c 20ce6-b3013jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2 51) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c2 0ce6-b3013jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5 45) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c2 0ce6-b3013jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java :457) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3 c20ce6-b3013jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6 17) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c2 0ce6-b3013jnks] Caused by: java.lang.IllegalStateException: Initial initialization at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader .java:101) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2 -41-g3c20ce6-b3013jnks] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:59) [craftb ukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c20ce6-b3013j nks] at net.craftservers.prisonrankup.Main.<init>(Main.java:23) [?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.7.0_21] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [?:1.7.0_21] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) [?:1.7.0_21] at java.lang.reflect.Constructor.newInstance(Unknown Source) [?:1.7.0_2 1] at java.lang.Class.newInstance0(Unknown Source) [?:1.7.0_21] at java.lang.Class.newInstance(Unknown Source) [?:1.7.0_21] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav a:52) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g 3c20ce6-b3013jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:133) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-4 1-g3c20ce6-b3013jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:313) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2- 41-g3c20ce6-b3013jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:236) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2 -41-g3c20ce6-b3013jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.ja va:350) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41 -g3c20ce6-b3013jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:77 1) [craftbukkit-1.7.2-R0.3-20140210.013653-38.jar:git-Bukkit-1.7.2-R0.2-41-g3c2 0ce6-b3013jnks] ... 10 more
This is the only working rankup plugin for me! Thanks! But the newest update does not generate a config file! So I was forced to downgrade to 1.3 for the time being. But if you are ranked up whenever you relog it puts you back to the lowest rank.
It also says I don't have permission to do /ranks but i can do /rankup
When I do /rankup I get an internal server error has occurred
/ranks not working and sometimes when a player make /rankup,he was kick from the server with readtimedout error...
Is there any chance we could have the rank as a suffix instead of a prefix ?
Hey, so I am having a bit of a problem. The plugin looks as if it works great, and if it did I would be happy to use it on my server, but, when I or another player types "/rankup", it announces that the player ranked up on the server, and takes their money, but doesn't promote them. I use PermissionsEx. http://pastebin.com/YWADwZpQ
Hello I am kind of having trouble with this plugin... It works all and dandy but the Default rank which is "Bronze" when attempting to do /ranks it will not show any of the ranks however once he does /rankup to BronzeV he is able to see them all? I am a little confused and hope for a quick answer! http:pastebin.com/jKTUq60d
I cant do /rankup, wverytime i do, nothing comes up. I cant do others either like /rankup set etc. I can do /ranks and thats it plz help!
@Zakan03
Im guessing your using PEX buycraft and this rankup plugin?
With pex i havent found a way for you to have a donor rank on the server where they can rank up, what you have to do is setup buycraft so that you give the buyer the permissions for your donor rank with a suffix of the donor rank.
This in turn allows the player to stil have their normal rank prefix, random permissions to warp to donor areas/feed/fly whatever and a suffix of their newly bought donor rank.