<!> Unlike other updates this time you should update the config manually or it will use the default config<!>
Special Thanks to MasterDoctor for his PaginatedGUI Lib
his account: https://www.spigotmc.org/members/masterdoctor.79213/
Resource: https://www.spigotmc.org/threads/paginated-gui.277689/
- 1.5 Minecraft Support
- Added GUI ranks list [USE-GUIRANKLIST] in config
- Added GUI prestige list [USE-GUIPRESTIGELIST] in config
* configurable like you want in the config including Unsafe Enchantments, Item Flags Inventory Title
* Also automatically paginated when you have a lot of ranks
- Fixed Placeholders UUID Problem
- Improved Performance
* Removed Repeating Task , now the placeholders are now being updated in these events
* [XRankupEvent<custom>, BlockBreakEvent<for mining>, CommandEvent<i forgot>, PlayerJoinEvent]
- Added rank,prestige -reset-commands + -del-commands when you execute one of these commands
* /prx delplayerrank, /prx delplayerprestige, /prx resetrank , /prx resetprestige
* including [auto-command] thing that has the ability to remove every permission player got from ranking up or prestiging up
- Auto-Commands:
[pex-rankpermissions] remove
= removes every permission that player got from ranking up <!> PermissionsEX Must be installed
[pex-prestigepermissions] remove
= removes every permission that player got from prestiging up <!> PermissionsEX Must be installed
[groupmanager-rankpermissions] remove
= removes every permission that player got from ranking up <!> EssentialsGroupManager Must be installed
[groupmanager-prestigepermissions] remove
= removes every permission that player got from prestiging up <!> EssentialsGroupManager Must be installed
- Fixed over 20 Bugs
Latest Config:
Code (YAML):
#<!> Editing ranks in game will remove every green text you see here <!>
#RankUP Permission is : prisonranksx.rankup
#RankUPMax Permission is : prisonranksx.rankupmax
#RankUP Other Permission is : prisonranksx.rankup.other
#RankUP Other : Is if you want to rankup other players using your money
#ForceRankup : Is a command for admins if you want to rankup other players without losing money
#Version 1.3+
#Symbols can be used in every message
#"[>>]", "»"
#"[<<]", "«"
#"[coolarrow]", "➤"
#"[<3]", "❤"
#"[shadowarrow]", "➢"
#"[shadowarrow_2]", "➣"
#"[shadowarrow_down]", "⧨"
#"[shadowsquare]", "❑"
#"[nuke]", "☢"
#"[+]", "✚"
#"[correct]", "✔"
#"[incorrect]", "✖"
#"[bowarrow]", "➸"
#"[squaredot]", "◼"
#"[happyface]", "☺"
#"[|]", "⎟"
#Disabled worlds
#[you will not see messages of other worlds if allworlds-broadcast is false]
#[you can't rankup]
#[you can't prestige]
#[you can't use /prx commands]
worlds
:
- iamdisabled
#customrankslist: true = sets a custom list when you execute /ranks
#forcedisplay: true = adds the rank prefix before GroupManager/Pex Prefixes without using a variable [COOL OPTION]
#..
#..
#defaultlist-paginate: true = adds rank pages if there's alot of ranks [configurable][/ranks 2,3,4] etc..
#defaultlist-paginate-items: 9 = maximum amount of ranks to be shown in a page 'defaultlist-paginate' must be true if you want to use this
#Holographic Displays must be installed! if you want to use hologramrankup!
#..
#allworlds-broadcast: true = broadcast rank up messages to everyworld in the server | false = only not disabled worlds
#autoforcedisplay-space: true = automatically adds space[key] after rank display format in the chat [forcedisplay must be true]
Options:
prestige-enabled
: true
forcedisplay
: true
customlist
:
-
"&6[B] > $1000"
customlist-prestige
:
-
"&aPrestige-I"
-
"&bPrestige-II"
customlist-paginate
: true
customlist-paginate-items
: 9
customlist-paginate-firstline
:
"&3Ranks &7[<<] &a%currentpage% &9of &a%totalpages% &7[>>]"
defaultlist-beginline
:
"&8&m+----------------------------------+"
defaultlist-endline
:
"&8&m+----------------------------------+"
defaultlistformat
:
"%ranklistdisplay% &8[>>] %ranklistnextdisplay% %moneysymbol%&f%ranknextcost_formatted%"
defaultlist-paginate
: true
defaultlist-paginate-items
: 9
defaultlist-paginate-firstline
:
"&aRanks &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
defaultlist-completedrank-checker
: true
defaultlist-completedrank-rankformat
:
"&7[%ranklist%]&r"
defaultlist-completedrank-rankupformat
:
"&7[%ranklistnext%]&r"
defaultlist-completedrank-rankupcostformat
:
"&bCompleted"
defaultlist-moneysymbol
:
"&c$"
hologramrankup
: true
hologramformat
:
"&6%player% &3Ranked Up To &c%rankup%"
hologram-removetime
: 5
hologram-multilines
: true
hologram-height
: 4
hologram-linedformat
:
-
"&6%player%"
-
"&b&kii&3Ranked Up To&b&kii"
-
"&e&l%rankup%"
rankupsound
: true
allworlds-broadcast
: false
autoforcedisplay-space
: true
send-rankupmsg
: true
USE-UUID
: true
GUI-RANKLIST
: true
GUI-PRESTIGELIST
: true
Main-GUIOptions:
previouspage-itemNAME
:
"ARROW"
previouspage-itemDATA
: 0
previouspage-itemDISPLAYNAME
:
"&6Next Page >>"
nextpage-itemNAME
:
"ARROW"
nextpage-itemDATA
: 0
nextpage-itemDISPLAYNAME
:
"&c<< Previous page"
no-previous-pages
:
"&eThere are no previous pages."
no-additional-pages
:
"&eThere are no additional pages."
currentpage
:
"&cPage &4{currentpage} &cof &4{maxpages}"
Ranklist-GUI:
title
:
"&6Ranks"
currentrank-options:
itemNAME
: EMERALD_BLOCK
itemDATA
: 0
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%currentrank_display%"
itemLORE
:
-
"&6Your current rank!"
itemENCHANTMENTS
:
- DURABILITY 10
itemFLAGS
:
- HIDE_ENCHANTS
completedrank-options:
itemNAME
: EMERALD_BLOCK
itemDATA
: 0
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%completedrank_display%"
itemLORE
:
-
"&bCOMPLETED"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
notcompletedrank-options:
itemNAME
: REDSTONE_BLOCK
itemDATA
: 0
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%notcompletedrank_display%"
itemLORE:
- "&cCost
:
&3%notcompletedrank_cost_formatted%"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
Prestigelist-GUI:
title
:
"&3Prestiges"
currentprestige-options:
itemNAME
: EMERALD_BLOCK
itemDATA
: 0
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%currentprestige_display%"
itemLORE
:
-
"&eYour current prestige!"
itemENCHANTMENTS
:
- DURABILITY 10
itemFLAGS
:
- HIDE_ENCHANTS
completedprestige-options:
itemNAME
: EMERALD_BLOCK
itemDATA
: 0
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%completedprestige_display%"
itemLORE
:
-
"&bCOMPLETED"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
notcompletedprestige-options:
itemNAME
: REDSTONE_BLOCK
itemDATA
: 0
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%notcompletedprestige_display%"
itemLORE:
- "&cCost
:
&3%notcompletedprestige_cost_formatted%"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
#autocommands:
#'[pex-rankpermissions] remove' = removes every permission that player got from ranking up <!> PermissionsEX Must be installed
#'[pex-prestigepermissions] remove' = removes every permission that player got from prestiging up <!> PermissionsEX Must be installed
#'[groupmanager-rankpermissions] remove' = removes every permission that player got from ranking up <!> EssentialsGroupManager Must be installed
#'[groupmanager-prestigepermissions] remove' = removes every permission that player got from prestiging up <!> EssentialsGroupManager Must be installed
prestigeOptions:
resetMoney
: true
resetRank
: true
#executed when you prestige
prestige-cmds
:
-
"[pex-rankpermissions] remove"
#executed when you do /pex delplayerprestige
prestige-delete-cmds
:
-
"[pex-prestigepermissions] remove"
-
"eco set %player% 0"
#executed when you do /pex resetplayerprestige
prestige-reset-cmds
:
-
"[pex-prestigepermissions] remove"
-
"[groupmanager-prestigepermissions] remove"
rankOptions
:
#executed when you type /pex delplayerrank
rank-delete-cmds
:
-
"[pex-rankpermissions] remove"
#executed when you do /pex resetplayerrank
rank-reset-cmds
:
-
"[pex-rankpermissions] remove"
#rankup-progress-doublevalues: true = will make the progress longer just for better looking and will increase every 5%
PlaceholderAPI:
rankup-progress-style
: '
[squaredot
]'
rankup-progress-filled
: '&a'
rankup-progress-needed
: '&c'
rankup-progress-doublevalues
: false
rankup-progress-full-enabled
: false
rankup-progress-full
:
"&aType &e/rankup &3!"
rankup-progress-lastrank
:
"&aType &e/prestige to go to a high level &3!"
rankup-cost-lastrank
:
"&cHighest Rank"
rankup-lastrank
:
"&cType /prestige"
#to use in /ranks cmd use this placeholder: %ranknextcost_formatted%
Moneyformatter:
thousand
: 'K'
million
: 'M'
billion
: 'B'
trillion
: 'T'
quadrillion
: 'Q'
quintillion
: 'QT'
sextillion
: 'S'
septillion
: 'ST'
octillion
: 'O'
nonillion
: 'N'
decillion
: 'D'
undecillion
: 'UD'
Duodecillion
: 'DD'
Messages:
notenoughmoney
:
-
"&7&m-------------------------------------------------"
-
""
-
"&eYou need &f$%rankupcost_formatted% &eto rankup to &a%rankup%"
-
""
-
"&7&m-------------------------------------------------"
notenoughmoney-other
:
-
"&7&m-------------------------------------------------"
-
""
-
"&eYou need &f$%rankupcost_formatted% &eto rankup %player% to &a%rankup%"
-
""
-
"&7&m-------------------------------------------------"
nopermission
:
"&cInsufficent Permission!"
playernotfound
:
"&cThere's no player with that name."
delrank
:
"&e%args1% &cRank has been deleted"
setrank
:
"&cChanged &e%target% &cRank to &e%settedrank% &crank."
resetrank
:
"&cRestored &e%target% &cRank to %firstrank%"
createrank
:
"&cCreated rank &e%createdrank% &cwith price:&a%rankcost%"
setnextrank
:
"&cChanged &e%args1% &cnextrank to &a%args2%"
setrankdisplay
:
"&cChanged &e%args1% &cdisplay to &r%args2%"
setrankcost
:
"&cChanged &e%args1% &cRank Cost to &a%args2%"
delplayerrank
:
"&cDeleted &e%player% &cRank"
addrankcmd
:
"&c%args1% &eUpdated with: &7%args2%"
addrankbroadcast
:
"&c%args1% &eUpdated! with: &7%args2%"
addrankmsg
:
"&c%args1% &eUpdated! with: &7%args2%"
setdefaultrank
:
"&cDefault rank changed to &e%args1%"
setlastrank
:
"&cLast rank changed to &e%args1%"
reload
:
"&eConfig Successfully reloaded."
runfromconsole
:
"&6You should run this in game or do /forcerankup %player% if you want to rankup a player"
notcorrectworld
:
"&cYou cannot run this command here."
rankup
:
"&9You have ranked up to %rankupdisplay%"
delprestige
:
"&e%args1% &cPrestige has been deleted"
setfirstprestige
:
"&cFirst prestige changed to &e%args1%"
setlastprestige
:
"&cLast prestige changed to &e%args1%"
setprestige
:
"&cChanged &e%target% &cPrestige to &e%settedprestige% &cprestige."
resetprestige
:
"&cRestored &e%target% &cPrestige to &e%firstprestige%"
createprestige
:
"&cCreated prestige &e%createdprestige% &cwith price:&a%prestigecost%"
setnextprestige
:
"&cChanged &e%previousprestige% &cnext prestige to &a%nextprestige%"
setprestigedisplay
:
"&cChanged &e%prestige% &cdisplay to &e%changeddisplay%"
setprestigecost
:
"&cChanged Prestige &e%prestige% &ccost to %prestigecost%"
prestige
:
"&aYou have prestiged to &r%prestigenextdisplay%"
noprestige
:
"&aYou must be at the latest rank to prestige!"
delplayerprestige
:
"&cDeleted &e%player% &cPrestige"
prestige-notenoughmoney
:
-
"&7&m-------------------------------------------------"
-
""
-
"&eYou need &f$%prestigenextcost_formatted% &eto prestige to &a%prestigenext%"
-
""
-
"&7&m-------------------------------------------------"
lastprestige
:
-
"&7&m---------------------------------------"
-
"&cYou are at the latest prestige"
-
"&7&m---------------------------------------"
lastrank
:
-
"&7&m---------------------------------------"
-
"&aYou are at the latest rank"
-
"&7&m---------------------------------------"
forcerankup-msg
:
"&a%player% &cRanked UP to &e%nextrank%"
#PlaceHolders:
#%rank% = current rank
#%rankdisplay% = current rank display format
#%rankup% = next rank
#%rankupdisplay% = next rank display
#%player% = gets player name
#[ESSENTIALSCHAT] {pranks} = shows current rank
#[ESSENTIALSCHAT] {pranksdisplay} = shows current rank display format
#----------------------------------------------
#Don't Forget This !
#----------------------------------------------
defaultrank
: A
lastrank
: D
firstprestige
: Prestige-I
lastprestige
: Prestige-II
#Broadcast,Msg Supports MultiLines + executecmds supports multi commands :P
#To Disable just do broadcast: []
#msg: []
#executecmds: []
#Or Just Remove.!
#---------------------------
#To set as lastrank type: 'LASTRANK' in nextrank section [v1.3+] [you can ignore this if you use a custom list]
#---------------------------
Ranks:
A:
display
: '&7
[A
]'
cost
: 0
nextrank
: B
B:
display
: '&6
[B
]'
cost
: 1000
nextrank
: C
executecmds
:
- eco give
%player% 10
- pex user
%player% add essentials.warps.B
broadcast
:
- '&6
%player% ranked up to %rankupdisplay%'
randomcmds:
'1':
chance
: 5
commands
:
- forcerankup
%player%
'2':
chance
: 20
commands
:
- crate givekey
%player% specialkey 1
'3':
chance
: 50
commands
:
- eco give
%player% 1000
C:
display
: '&e
[C
]'
cost
: 5000
nextrank
: D
executecmds
:
- crate givekey
%player% rankupkey 1
- pex user
%player% add essentials.warps.C
broadcast
:
- '&6
%player% ranked up to %rankupdisplay%'
D:
display
: '&9
[D
]'
cost
: 15000
send-firework
: true
firework-builder:
flicker
: true
trail
: true
effect
:
- STAR
color
:
- BLUE
- WHITE
fade
:
- AQUA
power
: 1
nextrank
: LASTRANK
executecmds
:
- crate givekey
%player% rankupkey 1
- pex user
%player% add essentials.warps.D
broadcast
:
- '&6
%player% ranked up to %rankupdisplay%'
Prestiges:
Prestige-I:
display
: '&8
[&cP1&8
]'
cost
: 100000
nextprestige
: Prestige-II
executecmds
:
- crate givekey
%player% prestigekey 1
- manuaddp
%player% essentials.fly
broadcast
:
- '
%player% has prestiged to &cPrestige &7[1]'
msg
:
[
]
send-firework
: true
firework-builder:
flicker
: true
trail
: true
effect
:
- BALL_LARGE
color
:
- RED
fade
:
- WHITE
power
: 1
randomcmds:
'1':
chance
: 100
commands
:
- eco give
%player% 100000
Prestige-II:
display
: '&8
[&cP2&8
]'
cost
: 500000
nextprestige
: Prestige-III
executecmds
:
- manuaddp
%player% test.test
broadcast
:
[
]
msg
:
[
]
send-firework
: false
firework-builder
:
{
}
Also please don't decompile the Main class lol