Add prestige.no-prestige

This commit is contained in:
okx-code
2018-11-08 20:24:14 +00:00
parent d12cdf3b9c
commit fe0d0aef8f
5 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ plugins {
}
group 'sh.okx'
version '3.2.1-beta.3'
version '3.2.1-beta.4'
repositories {
mavenCentral()
+1 -1
View File
@@ -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"),
+1
View File
@@ -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 -1
View File
@@ -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]