mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-18 14:47:47 +01:00
#1449 Update commands.yml and make getter/setter in sync for new delay property
This commit is contained in:
parent
b7f0159618
commit
035c2f352a
@ -61,7 +61,7 @@ public class Command {
|
|||||||
return delay;
|
return delay;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDelay(int delay) {
|
public void setDelay(long delay) {
|
||||||
this.delay = delay;
|
this.delay = delay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,6 +24,13 @@
|
|||||||
# command: 'broadcast %p has joined, welcome back!'
|
# command: 'broadcast %p has joined, welcome back!'
|
||||||
# executor: CONSOLE
|
# executor: CONSOLE
|
||||||
#
|
#
|
||||||
|
# You can also add delay to command. It will run after the specified ticks. Example:
|
||||||
|
# onLogin:
|
||||||
|
# rules:
|
||||||
|
# command: 'rules'
|
||||||
|
# executor: PLAYER
|
||||||
|
# delay: 200
|
||||||
|
#
|
||||||
# Supported command events: onLogin, onSessionLogin, onFirstLogin, onJoin, onLogout, onRegister, onUnregister
|
# Supported command events: onLogin, onSessionLogin, onFirstLogin, onJoin, onLogout, onRegister, onUnregister
|
||||||
#
|
#
|
||||||
# For onLogin and onFirstLogin, you can use 'ifNumberOfAccountsLessThan' and 'ifNumberOfAccountsAtLeast'
|
# For onLogin and onFirstLogin, you can use 'ifNumberOfAccountsLessThan' and 'ifNumberOfAccountsAtLeast'
|
||||||
|
Loading…
Reference in New Issue
Block a user