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 having an issues with this also. When players try and rank up it ranks them backwards, or into the same rank. I use groupmanager also. Also the prisonrankup data file seems to have players ranks at different ranks compared to in goupmanager user file.
@Pr0XM4A1
That's exactly what has happened to me too. Whoever develops this please fix it.
Hello there, I have an issue with my ranks for ranking up. The money I have set for players to rank up is all correct in the config, but in game when I do /ranks or /rankup the prices are way more to rank up by millions/billions. here is my example of what I mean - II:7500 but it costs 999995544 to rankup. Any help would be nice, thanks.
Hey au2001 the plugin isn't being compatible with my server. It is red in the /pl command, even though i have the vault plugin. If you could help me that would be great. my skype is plumstead14hi
@mazentheamazin Hello, I code plugins for CatzFuriousSpeed and he found a bug with your plugin, one was that when you when you have that config in the groups:
groups: - prestige-I:8500000
it will set you A when you /rankup (because of the "-") so you need to add ' around, you could make it so that it doesn't do anything so that you don't have problems with people becoming A
But after adding ' on all the lines, it would still, sometimes, put you back to A... :/ The other bug is that you can't have two groups that start with the same letter, e.g. you have the A-Z groups and you want a Free and a Prestige group, well you have to put free and prestige without caps because if you put caps, it will just mess up because of the F and P groups...
Please fix all, that :D
Hell, all. Is there a way that any of you know in which I could allow this plugin to not override donor ranks? For example, at the moment, if a user is in a donor group, and they do /rankup, it will set their group to the one they rank up to, and remove their donor. Any of you know a fix?
Hello Plugin Creator I Would Like to Know how to make it so It auto Adds People to the rank They rankup To How do i do this?
Where can I find the new api for this plugin?
This Is Fucking Ridiculous There Are So Many People Having Problems And The Same Ones And He's Doing Nothing About It! It's Been A Month Now Since I First Reported It!
If Your The Dev Add Me On Skype And Send Me A Working Version! MinecraftInventz
When I have a rank "Free" and "F", rank F has the same price as rank Free! My config shows different! Probably because same first letter?
URGENT! When I set the price to rankup in the config file, it changes it'self ingame when I type /ranks. Please help it's urgent, valid proof can be found below.
http://imgur.com/yA67e7H
Is there a way to change the [PrisonRankup] Sign? For Example: Change the [PrisonRankup] To [PorterRankup] or something like that? If not, you should add it. That would be cool.
@Killkidxz
dude whats up its me sywy1874!
@Killkidxz
1. The Plugin Is Broke Wait For New Version
2. The Rank You Added Wasn't In Your Data File Delete And Reload To Fix It.
Should Be Fixed.
Whenever I try to rankup ingame, it gives me this error on the console. Does anyone know the cause?
10.09 17:09:21 [Server] INFO ... 13 more 10.09 17:09:21 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at io.mazenmc.prisonrankup.managers.CommandManager.onCommand(CommandManager.java:89) [?:?] 10.09 17:09:21 [Server] INFO at io.mazenmc.prisonrankup.commands.Rankup.onExecute(Rankup.java:71) [?:?] 10.09 17:09:21 [Server] INFO Caused by: java.lang.NullPointerException 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:740) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:21 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin PrisonRankup v3.1 10.09 17:09:21 [Server] ERROR null 10.09 17:09:08 [Server] INFO [sanctuary][A]Killkidxz.: herro 10.09 17:09:03 [Server] INFO Enabling sanctuary for switching 10.09 17:09:03 [Server] WARN An error occurred inserting data into the snooper database! 10.09 17:09:02 [Server] WARN An error occurred removing old data from the snooper database! 10.09 17:09:02 [Server] INFO No new version available 10.09 17:09:02 [Server] INFO Checking for Updates: 10.09 17:09:02 [Server] INFO Loaded 7 package(s) into the cache. 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at me.blackvein.quests.Quests$1.run(Quests.java:232) [Quests.jar:?] 10.09 17:09:02 [Server] INFO at me.blackvein.quests.Quests.getOnlineQuesters(Quests.java:2493) [Quests.jar:?] 10.09 17:09:02 [Server] INFO at me.blackvein.quests.Quester.loadData(Quester.java:2507) [Quests.jar:?] 10.09 17:09:02 [Server] INFO at me.blackvein.quests.Quester.hardClear(Quester.java:3398) [Quests.jar:?] 10.09 17:09:02 [Server] INFO at java.lang.Class.getMethod(Unknown Source) [?:1.7.0_55] 10.09 17:09:02 [Server] INFO java.lang.NoSuchMethodException: me.blackvein.quests.Quester$1.hardClear(java.lang.Object) 10.09 17:09:02 [Server] ERROR null 10.09 17:09:02 [Server] INFO 824 Phrase(s) loaded. 10.09 17:09:02 [Server] INFO 5 Event(s) loaded. 10.09 17:09:02 [Server] INFO 3 Quest(s) loaded. 10.09 17:09:02 [Server] INFO Loaded 0 NPCs. 10.09 17:09:02 [Server] INFO Plugin is now ready to be used. 10.09 17:09:02 [Server] INFO Authenticated with the specified Secret key. 10.09 17:09:02 [Server] WARN Can't keep up! Did the system time change, or is the server overloaded? Running 5828ms behind, skipping 116 tick(s) 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInPosition.handle(SourceFile:63) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInFlying.a(SourceFile:137) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:235) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [craftbukkit-dev.jar:git-Bukkit-1.7.9-R0.2-11-g3fd9db2-b3098jnks] 10.09 17:09:02 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_55] 10.09 17:09:02 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_55] 10.09 17:09:02 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_55] 10.09 17:09:02 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_55] 10.09 17:09:02 [Server] INFO at me.blackvein.quests.PlayerListener.onPlayerMove(PlayerListener.java:872) [Quests.jar:?] 10.09 17:09:02 [Server] INFO at me.blackvein.quests.Quests.getQuester(Quests.java:2471) [Quests.jar:?] 10.09 17:09:02 [Server] INFO at me.blackvein.quests.Quester.loadData(Quester.java:2507) [Quests.jar:?] 10.09 17:09:02 [Server] INFO at me.blackvein.quests.Quester.hardClear(Quester.java:3398) [Quests.jar:?] 10.09 17:09:02 [Server] INFO at java.lang.Class.getMethod(Unknown Source) [?:1.7.0_55] 10.09 17:09:02 [Server] INFO java.lang.NoSuchMethodException: me.blackvein.quests.Quester$1.hardClear(java.lang.Object
IT WORKS YAY!
@ebear123
God Damnit :P I Want This To Be Fixed I'm Loosing Up To £50 A Day in Donations And My Servers Been Closed A Week Already! Hurry!
Work with permissionsBukkit?
So if you're having that formatting error, Mazen and I are troubleshooting for you guys. Well, he's coding. I'm testing.
It'll be fixed eventually, whenever he gets a chance. He said he's prioritizing for TridentSDK.
Will it work on 1.5.2?