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've currently looked through the errors and many of them have been fixed in PrisonRankup v.1.5, as of saying this I am currently waiting approval for this to happen. Please stand by.
@Bimmr
Removing { }change nothing at all, it's not even reduce the time processing...
I was just looking at the source to figure out what variables I could add for Info board and I noticed this, its not much though
And I wondered why not just use
Also I thought saveDefaultConfig() overwrote all values(Even changed ones) and put the default config in there
Getting a startup error saying "Is it up to date?", I'd imagine this means this plugin needs an update for every small new version of spigot / CB? Cause I tested with spigot build 1250(or around there) and then now 1326, both 1.7, and both not working, and the plugin says it's for 1.7
@MR_JACY
I have the same problem did you find out how to fix it or not
i have a problem with the /ranks it's working but it's not listing the rank's
all it saying is "Current Available Ranks:" is there a way to fix or help me ?**
#
Found a Error, I put in 1.4 into my server, didnt generate a config... so i put in 1.3 and it did, so 1.4 isnt working right... ill try and update it from 1.3, should work!
@brenzi_b
try restarting your server, and relogging in minecraft, other then That I think it could be a permissions plugins problem! (often is for me)
Whenever I type /rankup it says an internal error has occurred. Can you please help me!
This is my config and everytime i put it in the Prisonrankup folder it is replaced with the default and none of my changes are saved, so how do i fix this
Rankup BC Message: '&3%player% &6has ranked up to &3%rank%'
groups:
A: 0
B: 50000
C: 200000
D: 1000000
E: 2500000
F: 7000000
G: 15000000
H: 50000000
I: 100000000
J: 130000000
K: 250000000
L: 600000000
M: 1000000000
N: 5000000000
O: 15000000000
P: 20000000000
Q: 50000000000
R: 60000000000
S: 75000000000
T: 100000000000
U: 200000000000
V: 300000000000
W: 500000000000
X: 600000000000
Y: 800000000000
Z: 1000000000000
FREE: 10000000000000
First Rank: 'A'
Last Ranks: 'Free'
Highest Ranks MSG: '&6 You are already the highest rank!'
Timed Requirement: false
Time Interval: 0.0
Time type: Seconds
Interval on all ranks: false
Transfer ranks to profile: false
users:
sharktigerdino: group: A
Hey so I have something wrong with my plugin, whenever people spam rankup its fine till about rank P then it freezes the server my ranks are: Default: 0
B: 50000
C: 200000
D: 1000000
E: 2500000
F: 7000000
G: 15000000
H: 50000000
I: 100000000
J: 130000000
K: 250000000
L: 600000000
M: 1000000000
N: 5000000000
O: 15000000000
P: 20000000000
Q: 50000000000
R: 60000000000
S: 75000000000
T: 100000000000
U: 200000000000
V: 300000000000
W: 500000000000
X: 600000000000
Y: 800000000000
Z: 1000000000000
FREE: 10000000000000
PrestigeA: 0
PrestigeB: 50000
PrestigeC: 200000
PrestigeD: 1000000
PrestigeE: 2500000
PrestigeF: 7000000
PrestigeG: 15000000
PrestigeH: 50000000
PrestigeI: 100000000
PrestigeJ: 130000000
PrestigeK: 250000000
PrestigeL: 600000000
PrestigeM: 1000000000
PrestigeN: 5000000000
PrestigeO: 15000000000
PrestigeP: 20000000000
PrestigeQ: 50000000000
PrestigeR: 60000000000
PrestigeS: 75000000000
PrestigeT: 100000000000
PrestigeU: 200000000000
PrestigeV: 300000000000
PrestigeW: 500000000000
PrestigeX: 600000000000
PrestigeY: 800000000000
PrestigeZ: 1000000000000
PrestigeFREE: 10000000000000
PrisonGodI: 12000000000000
PrisonGodII: 15000000000000
PrisonGodIII: 20000000000000
PrisonGodIV: 35000000000000
PrisonGodV: 50000000000000
PrisonBreakout: 100000000000000
Tell me if you know anyway to fix it, or if this is just happening because they are spamming it. Thanks ~ HazePvPMC
Maybe once youve leveled up it tps/warps you somewhere
I don't know what I am doing wrong but every time I type /rankup it says "An internal error occurred while attempting to perform this command" this is my config file.
Prefix: '&a[&bPrison&6-&bRankup&a]'
Rankup BC Message: '&3%player% &6has ranked up to &3%rank%'
groups:
D: 0
C: 25000
B: 75000
A: 175000
First Rank: D
Last Rank: A
Highest Rank MSG: '&6 You are already the highest rank!'
Timed Requirement: false
Time Interval: 0.0
Time type: Seconds
Interval on all ranks: false
Transfer ranks to profile: false
users:
iBeStrafin: group: A
MoNk3yN1nJa: group: D
i have a problem with the /ranks it's working but it's not listing the rank's
all it saying is "Current Available Ranks:" is there a way to fix or help me ?
also when players are in the plotworld there are a seperate rank in the prison world
hello im getting a bug or error when using this plugin a have ranks A B C D E And F in the config then closed and relloaded and worked fine but i went to add ranks G And H but everytime i reload then go and im left with ranks A - F again ive also made the last rank H in the config
Hello I'm using group manager and hva e a problem [ i have buy craft) I'm the rank up owner and do /rankup and its says you are already the highest rank and what should i do so i can be owner and also be like rank E so I'm owner and e rank if you know please send a picture of how i setup it (i mean you config).
@minecrafteds
I'm not having problems, but it's annoying that only r0.2 works. I have some plugins that only for for r0.3 or r0.4. Therfor I't would be fantastic if mazentheamazin would update this.
If you having trouble using Prison-Rankup, Use the bukkit build name on the recent files, Hope this helps!
Can you please update this plugin so it works with all versions of bukkit/spigot. It's so annoying having to be on version 1.7.2 r0.2