add /rankup cooldown
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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,5 +1,5 @@
|
||||
name: Rankup
|
||||
version: 3.0-alpha.12
|
||||
version: 3.0-alpha.13
|
||||
main: sh.okx.rankup.Rankup
|
||||
author: Okx
|
||||
depend: [Vault]
|
||||
|
||||
Reference in New Issue
Block a user