<!> this version was uploaded for testing purposes. And should not be used publicly. If you find any problem contact me.
- Recoded the entire plugin
* Huge Performance Boost
- Added Rebirth
* Rebirth Text & GUI List are available
- Major API Changes
- Separated the config files => {config.yml, messages.yml, commands.yml, ranks.yml, prestiges.yml, rebirths.yml, rankdata.yml, prestigedata.yml, rebirthdata.yml}
- Added a placeholder for PlaceholderAPI => %prisonranksx_next_progress% which shows a different progress for each stage (rank, prestige, rebirth)
- Added multiple rank paths
- USE-UUID option removed you are now forced to use UUIDs because they are better
- Added GUI constant items (items that are not ranks, rebirths...) so you can customize the GUI
- MySQL is currently disabled.
- Config no longer loses the green comments when it gets updated.
Latest config:
Code (YAML):
# --------------------------------------------------------------
# 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 rebirth]
# [you can't use /prx commands]
worlds
:
-
"i_am_a_disabled_world"
-
"i_should_not_be_messing_with_prisonranksx"
-
"not_even_the_op_can_bypass_me"
Options
:
# Wanna disable the prestige command? set this to false.
prestige-enabled
: true
# force display order default: "{rebirth}{prestige}{rank}"
force-display-order
:
"{rebirth}{prestige}{rank}"
# Forces any chat plugin to place the rank display name aka prefix before the chat format without using a variable/placeholder.
force-rank-display
: true
# Does the same as above but shows the prestige prefix/display name with the rank ofc.
force-prestige-display
: true
# -
force-rebirth-display
: true
# Don't want rank's 'broadcast:' section to be shown in every world? set this to false . this uses the worlds list above.
allworlds-broadcast
: false
# If you want to send the rankup msg that one in the messages.yml file.
send-rankupmsg
: true
# If you want to send the prestige msg /\
send-prestigemsg
: true
# -
send-rebirthmsg
: true
# You better use this if your server is premium so players don't lose their ranks, prestiges and rebirths when they change user names in mojang website.
USE-UUID
: true
# Don't like the text rank list then try this setting [set it to true].
GUI-RANKLIST
: false
# You want a cool gui prestige list? use this [change it to true].
GUI-PRESTIGELIST
: false
# yep
GUI-REBIRTHLIST
: false
# Want your players to dance when they prestige? put a sound name here otherwise make it like this "" to disable.
prestigesound-name
:
"LEVEL_UP"
# Sound volume if you make it higher other players will hear it.
prestigesound-volume
: 1.0
# Sound pitch you will hear the sound similar to the original one but with little changes like it's made with demon's mouth when it's high.
prestigesound-pitch
: 1.0
# You can disable this by making it empty as you see "".
rankupsound-name
:
"LEVEL_UP"
# -
rankupsound-volume
: 1.0
# -
rankupsound-pitch
: 1.0
# -
rebirthsound-name
:
"GHAST_SCREAM"
# -
rebirthsound-volume
: 1.0
# -
rebirthsound-pitch
: 1.0
# if you want every rank to have a restricted permission. the permission is: "prisonranksx.rankup.<the_rank_that_you_will_go_to>" without the quotes.
per-rank-permission
: false
# if you don't want the server to be a text garbage when the players rankup max then disable this by setting it to true.
rankupmax-broadcastlastrankonly
: true
# if you enable this the player may miss an important message you put in one of the ranks.
rankupmax-msglastrankonly
: true
# this is literally useless just disable it by making it true. except if you want the players to show their coolness when they rankup max.
rankupmax-rankupmsglastrankonly
: true
# Want vault plugin to handle the ranks instead of prisonranksx? then use this.
rankup-vault-groups
: false
# You can write here "GroupManager" or "PermissionsEX" or "LuckPerms" or "Vault" otherwise you can write the command using the placeholders %player% and %rank%.
rankup-vault-groups-plugin
:
"Vault"
# enable autorankup task.
autorankup
: true
# if you want the player to prestige up when he gets enough money to prestige while ranking up using "/rankupmax" command
rankupmax-with-prestige
: false
Ranklist-text
:
# text based ranks list
# placeholders: %rank_name% %rank_displayname% %nextrank_name% %nextrank_displayname% %nextrank_cost% %nextrank_cost_formatted%
rank-current-format
:
"%rank_displayname% &a> %nextrank_displayname% &a| &2$&e%nextrank_cost_formatted% &a<&m---"
rank-completed-format
:
"&7&m%rank_name%&r &7> &7&m%nextrank_name%&r &8| &a&lCOMPLETED"
rank-other-format
:
"%rank_displayname% &7> &a%nextrank_displayname% &7| &f$&e%nextrank_cost_formatted%"
# You have a big collection of ranks? then use this to make your ranks list fancier.
enable-pages
: true
# How many ranks per page? 8 9 10 20..
rank-per-page
: 9
# This is how the players will see the ranks list in the game customize it to your liking.
# If you want a custom list just remove [rankslist] placeholder and put your thing
# however rank per page will count the text lines (header+footer) as ranks if you removed [rankslist] so you may increase it
# you can use PlaceholderAPI placeholders here.
rank-with-pages-list-format
:
-
"&7&m &7"
-
"[rankslist]"
-
"&aRanks &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
-
"&7&m &7"
rank-list-format
:
-
"&7&m &7"
-
"[rankslist]"
-
"&7&m &7"
Prestigelist-text
:
# text based prestiges list
# placeholders: %prestige_name% %prestige_displayname% %nextprestige_name% %nextprestige_displayname% %nextprestige_cost% %nextprestige_cost_formatted%
prestige-current-format
:
"%prestige_displayname% &a> %nextprestige_displayname% &a| &2$&e%nextprestige_cost_formatted% &a<&m---"
prestige-completed-format
:
"&7&m%prestige_name% &7> &7&m%nextprestige_name% &8| &a&lCOMPLETED"
prestige-other-format
:
"%prestige_displayname% &7> &a%nextprestige_displayname% &7| &f$&e%nextprestige_cost_formatted%"
enable-pages
: true
prestige-per-page
: 9
prestige-with-pages-list-format
:
-
"&7&m &7"
-
"[prestigeslist]"
-
"&aPrestiges &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
-
"&7&m &7"
prestige-list-format
:
-
"&7&m &7"
-
"[prestigeslist]"
-
"&7&m &7"
Rebirthlist-text
:
# text based rebirths list
# placeholders: %rebirth_name% %rebirth_displayname% %nextrebirth_name% %nextrebirth_displayname% %nextrebirth_cost% %nextrebirth_cost_formatted%
rebirth-current-format
:
"%rebirth_displayname% &a> %nextrebirth_displayname% &a| &2$&e%nextrebirth_cost_formatted% &a<&m---"
rebirth-completed-format
:
"&7&m%rebirth_name% &7> &7&m%nextrebirth_name% &8| &a&lCOMPLETED"
rebirth-other-format
:
"%rebirth_displayname% &7> &a%nextrebirth_displayname% &7| &f$&e%nextrebirth_cost_formatted%"
enable-pages
: true
rebirth-per-page
: 9
rebirth-with-pages-list-format
:
-
"&7&m &7"
-
"[rebirthslist]"
-
"&aRebirths &7[<<] &e%currentpage% &9of &e%totalpages% &7[>>]"
-
"&7&m &7"
rebirth-list-format
:
-
"&7&m &7"
-
"[rebirthslist]"
-
"&7&m &7"
# You must have HolographicDisplays plugin installed on your server in order for this to work.
Holograms:
rankup:
enable
: true
remove-time
: 3
height
: 4
format
:
# placeholders: %player% %nextrank% %nextrank_display%
-
"&6%player%"
-
"&b&kii&3Ranked Up To&b&kii"
-
"&e&l%nextrank%"
prestige:
enable
: true
remove-time
: 5
height
: 4
format
:
-
"&c%player%"
-
"&9&kii&6Prestiged Up To&9&kii"
-
"&4&l%nextprestige%"
rebirth:
enable
: true
remove-time
: 5
height
: 4
format
:
-
"&c%player%"
-
"&c&kii&4Reborn To&c&kii"
-
"&e&l%nextrebirth%"
MySQL
:
# wanna store players data in a database? enable this. but keep in mind this is only for reading (showing the rank in a website, prestige etc....)
enable
: false
host
: localhost
port
: 3306
database
: test
table
: prisonranksx
username
: root
password
:
"123"
Main-GUIOptions:
previouspage-itemNAME
:
"ARROW"
previouspage-itemDISPLAYNAME
:
"&c<< Previous page"
previouspage-itemLORE
:
-
"&f"
previouspage-itemENCHANTMENTS
:
[
]
previouspage-itemDATA
: 0
nextpage-itemNAME
:
"ARROW"
nextpage-itemDISPLAYNAME
:
"&6Next Page >>"
nextpage-itemLORE
:
-
"&f"
nextpage-itemENCHANTMENTS
:
[
]
nextpage-itemDATA
: 0
no-previous-pages
:
"&eThere are no previous pages."
no-additional-pages
:
"&eThere are no additional pages."
currentpage-itemNAME
:
"NAME_TAG"
currentpage-itemDISPLAYNAME
:
"&cPage &4{currentpage} &cof &4{maxpages}"
currentpage-itemLORE
:
-
"&f"
currentpage-itemENCHANTMENTS
:
[
]
currentpage-itemDATA
: 0
Ranklist-gui:
title
:
"&6Ranks"
constant-items
:
# placeholders: [_ = space] [@ = new line/new enchantment/new flag] [%at% = @ symbol] [%us% = _ symbol] [: = split enchantment name and the level]
-
"slot=0 item=DIAMOND amount=1 name=&6Spaces_Of_Course lore=&[email protected]&7List enchantments=durability:1 flags=HIDE_ENCHANTS"
-
"slot=1 item=DIAMOND amount=1 name=&6Illegal_Enchantments lore=&[email protected]&[email protected]&6GUI enchantments=durability:[email protected]:7 flags=HIDE_ENCHANTS"
-
"slot=2 item=DIAMOND amount=1 name=&6_&6 lore=&[email protected]&[email protected]&6GUI enchantments=durability:1"
-
"slot=3 item=DIRT amount=1 name=&3&lCustomName enchantments=durability:1 flags=HIDE_ENCHANTS"
-
"slot=4 item=STONE amount=1"
-
"slot=5 item=GLASS amount=1 name=&9Glass"
-
"slot=6 item=DIAMOND amount=1 name=&4Same_Enchantment lore=&f&lDifferent_name enchantments=unbreaking:1 flags=HIDE_ENCHANTS"
-
"slot=7 item=DIAMOND amount=1 name=&6_&6 lore=&[email protected]&[email protected]&6GUI enchantments=durability:1 flags=HIDE_ENCHANTS"
-
"slot=8 item=DIAMOND amount=1 name=&6_&6 lore=&[email protected]&[email protected]&6GUI enchantments=durability:1 flags=HIDE_ENCHANTS"
current-format
:
# placeholders: %currentrank% %currentrank_display% %currentrank_cost% %currentrank_cost_formatted%| format: <itemname>:[data] | example: WOOL:1 | data is optional
itemNAME
: EMERALD_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%currentrank_display%"
itemLORE
:
# placeholder api supported
-
"&6Your current rank!"
itemENCHANTMENTS
:
- DURABILITY 10
itemFLAGS
:
- HIDE_ENCHANTS
itemCOMMANDS
:
# placeholder api supported. possible prefixes { (cancel-item_move),(closeinv),[op] <command>,[console] <command>,[player] <command>}
-
"(cancel-item_move)"
-
"[console] warp %currentrank%"
completed-format
:
# placeholders: %completedrank% %completedrank_display% %completedrank_cost% %completedrank_cost_formatted%
itemNAME
: EMERALD_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%completedrank_display%"
itemLORE
:
-
"&bCOMPLETED"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
itemCOMMANDS
:
-
"(cancel-item_move)"
other-format
:
# placeholders: %otherrank% %otherrank_display% %otherrank_cost% %otherrank_cost_formatted%
itemNAME
: REDSTONE_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%otherrank_display%"
itemLORE:
- "&cCost
:
&3%otherrank_cost_formatted%"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
itemCOMMANDS
:
-
"(cancel-item_move)"
Prestigelist-gui:
title
:
"&3Prestiges"
current-format:
itemNAME
: EMERALD_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%currentprestige_display%"
itemLORE
:
-
"&eYour current prestige!"
itemENCHANTMENTS
:
- DURABILITY 10
itemFLAGS
:
- HIDE_ENCHANTS
itemCOMMANDS
:
-
"(cancel-item_move)"
completed-format:
itemNAME
: EMERALD_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%completedprestige_display%"
itemLORE
:
-
"&bCOMPLETED"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
itemCOMMANDS
:
-
"(cancel-item_move)"
other-format:
itemNAME
: REDSTONE_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%otherprestige_display%"
itemLORE:
- "&cCost
:
&3%otherprestige_cost_formatted%"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
itemCOMMANDS
:
-
"(cancel-item_move)"
Rebirthlist-gui:
title
:
"&4Rebirths"
current-format:
itemNAME
: GOLD_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%currentrebirth_display%"
itemLORE
:
-
"&cYour current rebirth!"
itemENCHANTMENTS
:
- DURABILITY 10
itemFLAGS
:
- HIDE_ENCHANTS
itemCOMMANDS
:
-
"(cancel-item_move)"
completed-format:
itemNAME
: DIAMOND_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%completedrebirth_display%"
itemLORE
:
-
"&9COMPLETED"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
itemCOMMANDS
:
-
"(cancel-item_move)"
other-format:
itemNAME
: REDSTONE_BLOCK
itemAMOUNT
: 1
itemDISPLAYNAME
:
"&a%otherrebirth_display%"
itemLORE:
- "&cCost
:
&e%otherrebirth_cost_formatted%"
itemENCHANTMENTS
:
[
]
itemFLAGS
:
[
]
itemCOMMANDS
:
-
"(cancel-item_move)"
# autocommands:
# '[rankpermissions] remove' = removes every permission that player got from ranking up <!> Of course Vault Must be installed
# '[prestigepermissions] remove' = removes every permission that player got from prestiging up <!> Of course Vault Must be installed
# '[rebirthpermissions] remove' = removes every permission that player got from rebirthing up <!> Of course Vault Must be installed
PrestigeOptions:
ResetMoney
: false
ResetRank
: true
# global rankup_cost_increase, if you want to disable this set it to 0 algorthim: (prestigenumber * rankup_cost_increase_percentage)
rankup_cost_increase_percentage
: 0
# executed when you prestige
prestige-cmds
:
-
"[rankpermissions] remove"
# executed when you do /prx delplayerprestige
prestige-delete-cmds
:
-
"[prestigepermissions] remove"
-
"say Hi %player%"
# executed when you do /prx resetplayerprestige
# '[prestigepermissions$1] remove' = removes every permission that player got from prestiging up except the first prestige, it only works here
prestige-reset-cmds
:
-
"[prestigepermissions$1] remove"
RankOptions
:
# executed when you type /prx delplayerrank
rank-delete-cmds
:
-
"[rankpermissions] remove"
# executed when you do /prx resetplayerrank
rank-reset-cmds
:
-
"[rankpermissions] remove"
RebirthOptions:
ResetMoney
: false
ResetRank
: true
ResetPrestige
: true
rebirth-cmds
:
-
"[rankpermissions] remove"
-
"[prestigepermissions] remove"
rebirth-delete-cmds
:
-
"[rebirthpermissions] remove"
rebirth-reset-cmds
:
-
"[rebirthpermissions$1] remove"
PlaceholderAPI:
rankup-progress-style
: '
[squaredot
]'
rankup-progress-filled
: '&a'
rankup-progress-needed
: '&c'
rankup-progress-full-enabled
: false
rankup-progress-full
:
"&aType &e/rankup &3!"
rankup-progress-lastrank
:
"Prestige now by typing &e/prestige"
rankup-percentage-lastrank
:
"&c/prestige"
rankup-cost-lastrank
:
"&cHighest Rank"
rankup-lastrank
:
"&cType /prestige"
currentrank-lastrank-enabled
: false
currentrank-lastrank
:
"&a/prestige"
prestige-lastprestige
:
"&cHighest Prestige"
prestige-notprestiged
:
"&fNone"
nextprestige-notprestiged
:
"&fNot Prestiged"
currency-symbol
:
"$"
currency-symbol-behind
: true
percent-sign
:
"%"
percent-sign-behind
: false
rebirth-notrebirthed
:
"&fNone"
nextrebirth-notrebirthed
:
"&fN/A"
rebirth-lastrebirth
:
"&4Last Rebirth"
next-progress-style
:
# global progress bar for every level. changes according to your level position (rank,prestige,rebirth) [configurable]
rankup
: '
[|
]'
prestige
: '
[squaredot
]'
rebirth
: '
[>>
]'
next-progress-filled:
rankup
: '&a'
prestige
: '&b'
rebirth
: '&6'
next-progress-needed:
rankup
: '&c'
prestige
: '&7'
rebirth
: '&8'
next-progress-full-isrankup-enabled
: false
next-progress-full-isprestige-enabled
: false
next-progress-full-isrebirth-enabled
: false
next-progress-full-islast-enabled
: false
next-progress-full-isrankup
:
"&7Type &a/rankup&7!"
next-progress-full-isprestige
:
"&7Type &c/prestige&7!"
next-progress-full-isrebirth
:
"&7Type &c/rebirth&7!"
next-progress-full-islast
:
"&7You are at the latest stage."
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'
zillion
: 'Z'
# ----------------------------------------------
# Don't Forget This !
# ----------------------------------------------
defaultrank
: A
lastrank
: D
defaultpath
:
"default"
firstprestige
: P1
lastprestige
: P2
firstrebirth
: R1
lastrebirth
: R2