Add prestige.no-prestige
This commit is contained in:
@@ -398,7 +398,7 @@ public class Rankup extends JavaPlugin {
|
||||
.send(player);
|
||||
return false;
|
||||
} else if (prestige.isLast()) { // check if they are at the highest rank
|
||||
getMessage(prestige, Message.NO_RANKUP)
|
||||
getMessage(prestige, Message.PRESTIGE_NO_PRESTIGE)
|
||||
.failIf(!message)
|
||||
.replaceRanks(player, prestige)
|
||||
.replaceFromTo(prestige)
|
||||
|
||||
@@ -16,6 +16,7 @@ public enum Message {
|
||||
RANKS_CURRENT("rankup.list.current"),
|
||||
RANKS_INCOMPLETE("rankup.list.incomplete"),
|
||||
PRESTIGE_REQUIREMENTS_NOT_MET("prestige.requirements-not-met"),
|
||||
PRESTIGE_NO_PRESTIGE("prestige.no-prestige"),
|
||||
PRESTIGES_HEADER("prestige.list.header"),
|
||||
PRESTIGES_FOOTER("prestige.list.footer"),
|
||||
PRESTIGES_COMPLETE("prestige.list.complete"),
|
||||
|
||||
@@ -39,6 +39,7 @@ rankup:
|
||||
# prestige messages can also be customised
|
||||
prestige:
|
||||
requirements-not-met: "&cYou need {MONEY} money to prestige."
|
||||
no-prestige: "&eYou are at the highest prestige."
|
||||
|
||||
success-public: "&a{PLAYER} &ehas prestiged to: &d{RANK}"
|
||||
success-private: "&aYou have prestiged to: &d{RANK}"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Rankup
|
||||
version: 3.2.1-beta.3
|
||||
version: 3.2.1-beta.4
|
||||
main: sh.okx.rankup.Rankup
|
||||
author: Okx
|
||||
depend: [Vault]
|
||||
|
||||
Reference in New Issue
Block a user