improve prestige customisation

add prestiges section of messages.yml
add prestige gui title
add first rank for prestiges
This commit is contained in:
okx-code
2018-09-06 21:30:21 +01:00
parent f78bc81d0f
commit 4c7c4ef7f5
10 changed files with 72 additions and 50 deletions
+2
View File
@@ -57,6 +57,8 @@ placeholders:
not-in-ladder: "None"
# used in next_rank placeholders when there is no rankup
highest-rank: "None"
# used in /prestiges as the {OLD_RANK} placeholder for the first prestige rank
first-prestige-rank: 'D'
# what to shorten money by.
# ie 1000 -> 1k
+18 -12
View File
@@ -13,7 +13,6 @@ rankup:
# used for the GUI confirmation
title: "Rankup to {RANK}"
not-high-enough: "&cYou cannot prestige at your rank!"
must-prestige: "&cYou must prestige to /rankup further!"
# you can (and probably should) you override these in rankups.yml
@@ -22,26 +21,33 @@ rankup:
# {MONEY} {MONEY_NEEDED} {PERCENT_DONE <requirement>} {PERCENT_LEFT <requirement>} {AMOUNT <requirement>} {AMOUNT_NEEDED <requirement>}
# {MONEY} and {MONEY_NEEDED} are different from {AMOUNT money} and {AMOUNT_NEEDED money} in that they use a different format.
# here is an example of showing the requirements for just money:
#ranks:
#list:
# complete: "&7{OLD_RANK} &8\xbb &7{RANK} &efor &7${MONEY}"
# current: "&c{OLD_RANK} &e\xbb &c{RANK} &efor &a${MONEY} &e{PERCENT_DONE mon ey}%"
# current: "&c{OLD_RANK} &e\xbb &c{RANK} &efor &a${MONEY} &e{PERCENT_DONE money}%"
# incomplete: "&r{OLD_RANK} &e\xbb &r{RANK} &efor &a${MONEY}"
ranks:
list:
complete: "&7{OLD_RANK} &8\xbb &7{RANK}"
current: "&c{OLD_RANK} &e\xbb &c{RANK}"
incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}"
# an empty string disables the header/footer
header: ''
footer: ''
prestiges:
header: ""
footer: ""
# sent when a player tries to rankup when they are on cooldown
cooldown:
singular: "&cYou must wait {SECONDS_LEFT} more second to rankup again."
plural: "&cYou must wait {SECONDS_LEFT} more seconds to rankup again."
# prestige messages can also be customised
prestige:
title: "Prestige to {RANK}"
list:
complete: "&7{OLD_RANK} &8\xbb &7{RANK}"
current: "&c{OLD_RANK} &e\xbb &c{RANK}"
incomplete: "&r{OLD_RANK} &e\xbb &r{RANK}"
header: ''
footer: ''
# sent when a player tries to rankup when they are on cooldown
header: ""
footer: ""
cooldown:
singular: '&cYou must wait {SECONDS_LEFT} more second to rankup again.'
plural: '&cYou must wait {SECONDS_LEFT} more seconds to rankup again.'
singular: "&cYou must wait {SECONDS_LEFT} second to prestige again."
plural: "&cYou must wait {SECONDS_LEFT} more seconds to prestige again."
not-high-enough: "&cYou cannot prestige at your rank!"
not-in-ladder: "&cSorry, but we could not find any rankups for the group(s) you are in."
+1 -1
View File
@@ -1,5 +1,5 @@
name: Rankup
version: 3.0-alpha.21
version: 3.0-alpha.22
main: sh.okx.rankup.Rankup
author: Okx
depend: [Vault]