3.1.2 bugfixes (see long description)

- add messages in /rank and /rankup for when the configuration has a rankup to a non-existent rank.
- add invalid rankup message
- fix error for placeholders when prestiging is disabled
- add message for when a rank has no requirements
This commit is contained in:
okx-code
2018-10-03 15:43:55 +01:00
parent cad5280006
commit ae52d94fe8
9 changed files with 36 additions and 15 deletions
+4 -4
View File
@@ -5,13 +5,13 @@ version: 1
# /rankup3 reload will not do anything if this is changed,
# you will have to restart your server.
ranks: true
# in 1.13 you can negate the permission rankup.prestiges
# so the command will not autocomplete
# you can alternatively negate the permission rankup.prestiges
# this will also make the command not autocomplete in 1.13
prestiges: true
# whether or not /prestige and /prestiges should be enabled.
# in 1.13 you can negate the permission rankup.prestige
# so the command will not autocomplete
# you can alternatively negate the permission rankup.prestige
# this will also make the command not autocomplete in 1.13
prestige: true
# how people should confirm ranking up
+2 -1
View File
@@ -57,4 +57,5 @@ prestige:
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."
not-in-ladder: "&cSorry, but we could not find any rankups for the group(s) you are in."
invalid-rankup: "Invalid rankup defined in config, please check console."
+1 -4
View File
@@ -1,5 +1,5 @@
name: Rankup
version: 3.1.1
version: 3.1.2
main: sh.okx.rankup.Rankup
author: Okx
depend: [Vault]
@@ -32,7 +32,6 @@ permissions:
rankup.checkversion: true
rankup.ranks: true
rankup.reload: true
rankup.ranks: true
rankup.prestige: true
rankup.prestiges: true
rankup.info:
@@ -41,8 +40,6 @@ permissions:
default: true
rankup.checkversion:
default: op
rankup.ranks:
default: true
rankup.reload:
default: op
rankup.ranks: