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!
@KILLA654
I got this error too!
Error in Console Plugin Won't Disable or Enable [12:40:14 INFO]: [PrisonRankup] Enabling PrisonRankup v3.1 [12:40:14 ERROR]: [PrisonRankup] Unable to register managers, disabling plugin.. . java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.charAt(Unknown Source) [?:1.7.0_67] at java.util.regex.Matcher.appendReplacement(Unknown Source) [?:1.7.0_6 7] at java.util.regex.Matcher.replaceAll(Unknown Source) [?:1.7.0_67] at java.lang.String.replaceAll(Unknown Source) [?:1.7.0_67] at io.mazenmc.prisonrankup.utils.ClassFinder.find(ClassFinder.java:36) ~ [PrisonRankup-3.1.jar:?] at io.mazenmc.prisonrankup.utils.ClassFinder.find(ClassFinder.java:57) ~ [PrisonRankup-3.1.jar:?] at io.mazenmc.prisonrankup.PrisonRankupPlugin.onEnable(PrisonRankupPlugi n.java:52) [PrisonRankup-3.1.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [sp igot.jar:git-Spigot-1649] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:332) [spigot.jar:git-Spigot-1649] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:417) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.jav a:476) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer. java:394) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.reload(CraftServer.java:86 6) [spigot.jar:git-Spigot-1649] at org.bukkit.Bukkit.reload(Bukkit.java:301) [spigot.jar:git-Spigot-1649 ] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 23) [spigot.jar:git-Spigot-1649] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 1) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServe r.java:767) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand(Craf tServer.java:753) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java: 326) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:2 90) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:5 84) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java :490) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:6 28) [spigot.jar:git-Spigot-1649] [12:40:14 INFO]: [PrisonRankup] Disabling PrisonRankup v3.1 [12:40:14 ERROR]: Error occurred while disabling PrisonRankup v3.1 (Is it up to date?) java.lang.ExceptionInInitializerError at io.mazenmc.prisonrankup.PrisonRankupPlugin.onDisable(PrisonRankupPlug in.java:111) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:318) [s pigot.jar:git-Spigot-1649] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoade r.java:356) [spigot.jar:git-Spigot-1649] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManag er.java:436) [spigot.jar:git-Spigot-1649] at io.mazenmc.prisonrankup.PrisonRankupPlugin.onEnable(PrisonRankupPlugi n.java:57) [PrisonRankup-3.1.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [sp igot.jar:git-Spigot-1649] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:332) [spigot.jar:git-Spigot-1649] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:417) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.jav a:476) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer. java:394) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.reload(CraftServer.java:86 6) [spigot.jar:git-Spigot-1649] at org.bukkit.Bukkit.reload(Bukkit.java:301) [spigot.jar:git-Spigot-1649 ] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 23) [spigot.jar:git-Spigot-1649] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 1) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServe r.java:767) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand(Craf tServer.java:753) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java: 326) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:2 90) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:5 84) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java :490) [spigot.jar:git-Spigot-1649] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:6 28) [spigot.jar:git-Spigot-1649] Caused by: org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to r egister task while disabled at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.validate(Craf tScheduler.java:400) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.runTaskTimer( CraftScheduler.java:123) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.runTaskLater( CraftScheduler.java:106) [spigot.jar:git-Spigot-1649] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftScheduler.runTask(Craft Scheduler.java:89) [spigot.jar:git-Spigot-1649] at org.bukkit.scheduler.BukkitRunnable.runTask(BukkitRunnable.java:32) ~ [spigot.jar:git-Spigot-1649] at io.mazenmc.prisonrankup.managers.DataManager.<init>(DataManager.java: 44) [?:?] at io.mazenmc.prisonrankup.managers.DataManager.<clinit>(DataManager.jav a:38) [?:?] ... 21 more [12:40:14 INFO]: [PrisonMine] Enabling PrisonMine v1.32.106 [12:40:14 INFO]: [PrisonSuite] PrisonMine registered [12:40:14 INFO]: [PrisonMine] PrisonMine started [ 0 mine(s) found ] [12:40:14 INFO]: [Essentials] Enabling Essentials v2.13.1
Hello, I'm having the same issue as @Mini_Remix and @joshuawa and from what I can tell this is not even being acknowledged by the dev? All I want to say is that this seems to be a great plugin but if the dev isnt going to be supporting his work, even fixing bugs, well then I think I will be looking for a new rankup plugin. Dev, you wasted your time coding this because if you refuse to even fix bugs well then who is going to use a broken plugin?
I need it for 1.7.10!!!
How do you add prefixes?
Does anyone know how I can add to /ranks
To my prefix's from my Group Manager instead of it.
Saying the regular ranks I want it to show them something else. As my prefixes.
@Mini_Remix
Just explained this bug to the owner and it was "unsupported" apparently wtf.
@TheKillHDmc
That would be cool
Add a /prestige pls :)
@Mini_Remix
But I have everything setup in Group Manager :/ is there anyway you can help me
with group manager I have a big server coming up soon :/ and I need some help please
and thanks.....
@Henderry2019
You have to have a server hosting or a port forward server you can't just host a server on
you computer with out it being live you need to port forward your server or buy a hosting!
Or the plugin won't interact....
Now I realize that the plugin is not working period. I just re-downloaded it and started the server, and when I do /plugins, it shows up red. Any help?
Can someone please help me? A bug has occured that basically because a higher rank has the same starting letter, it makes the lower rank with the same letter the same price as it. This really needs to be fixed but I don't want to change the name of the ranks to like Rank-Bandit as that looks ugly.
Here is a pastebin link to my config: http://pastebin.com/xsSemHu7
@xexcruz27
Well it's much more complicated to do that for GroupManager in my opinion since I use PEX but used GroupManager for a long time. I would recommend switching to PEX since you would just have to do /pex user {player} group add {donor group} then they have both the A-Z prefix's and the donator suffix ;)
Does anyone know how I can make my Donor group still be able to rankup?
Once someone buy's a server rank for example: Donor group rank.
How do I make it where it still has the prefix of the rank (A-Z) as well as there suffix Donor?
I hear you are supposed to make it into a subgroup for group manager but I don't
know how to do it so if someone could please help it would mean a lot thanks!
I know, but in the config file there is a part for groups and a place for prices. The groups part in my file is empty because i dont know how to put it in, and therefore, the plugin isnt working
@Henderry2019
You have to have Group Manager and make every group for the rank.
How do you set up the "groups" part in the config? Like, is it by spacing, or new lines, what is it?
@bkleinman1
You need to put the donors groups as SubGruops because PrisonRankUp deletes the players group by putting them into the default group then adding the to whatever group they rank up to. Its sorta dumb I don't know why it doesn't just add them to the group they are rank up ing to but thats how it works. So whatever subgroup they are in stays so just make your donor groups Subgroups and your good.
if i make ranks a-z then make a rank Free the ranks F changes to be the same as Free. Now if i change the name Free to City the rank C changes to copy the price of City
A:0 B:100 C:300 D:500 E:700 F:1000 G:1200 H:1400 I:1600 J:1800 K:2000 L:2200 M:2400 N:2600 O:2800 P:3000 Q:3200 R:3400 S:3600 T:3800 U:4000 V:4200 W:4400 X:4600 Y:4800 Z:5000 City:10000
in game it shows C at 10000 and requires you to pay that to rank up.
Oh and do not click on the dev's if you have bug or idea button he dos this.
MazenMC locked and limited conversation to collaborators 5 hours ago Mazen K MazenMC closed this 5 hours ago
So he does not want to help you so do not donate to his useless ass and move on to a better supported plugin