add /rankup cooldown

This commit is contained in:
okx-code
2018-08-28 20:42:26 +01:00
parent 3fca80a79b
commit 923cc8918c
10 changed files with 59 additions and 16 deletions
+6 -1
View File
@@ -10,6 +10,11 @@ ranks: true
# options are: gui, text or none
confirmation-type: 'gui'
# how long in seconds people have to wait between a /rankup
# only successful rankups start the cooldown.
# set to 0 to disable.
cooldown: 1
gui:
rows: 1
rankup:
@@ -34,7 +39,7 @@ gui:
text:
# the time in seconds for a player to
# confirm ranking up by typing the command again
# confirm by typing /rankup again
timeout: 10
placeholders:
+4
View File
@@ -32,5 +32,9 @@ rankup:
# an empty string disables the header/footer
header: ''
footer: ''
# sent when a player tries to rankup when they are on cooldown
cooldown:
singular: '&cYou must wait {SECONDS} more second to rankup again.'
plural: '&cYou must wait {SECONDS} more seconds to rankup again.'
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.12
version: 3.0-alpha.13
main: sh.okx.rankup.Rankup
author: Okx
depend: [Vault]