commands.yml: Fix executor property name in comments

This commit is contained in:
ljacqu 2017-01-02 16:32:24 +01:00
parent 0317d5f414
commit 429088a42f
2 changed files with 8 additions and 8 deletions

View File

@ -29,19 +29,19 @@ public final class CommandSettingsHolder implements SettingsHolder {
"onRegister:", "onRegister:",
" welcome:", " welcome:",
" command: 'msg %p Welcome to the server!'", " command: 'msg %p Welcome to the server!'",
" as: CONSOLE", " executor: CONSOLE",
"", "",
"This will make the console execute the msg command to the player.", "This will make the console execute the msg command to the player.",
"Each command under an event has a name you can choose freely (e.g. 'welcome' as above),", "Each command under an event has a name you can choose freely (e.g. 'welcome' as above),",
"after which a mandatory 'command' field defines the command to run,", "after which a mandatory 'command' field defines the command to run,",
"and 'as' defines who will run the command (either PLAYER or CONSOLE). Longer example:", "and 'executor' defines who will run the command (either PLAYER or CONSOLE). Longer example:",
"onLogin:", "onLogin:",
" welcome:", " welcome:",
" command: 'msg %p Welcome back!'", " command: 'msg %p Welcome back!'",
" as: PLAYER", " executor: PLAYER",
" broadcast:", " broadcast:",
" command: 'broadcast %p has joined, welcome back!'", " command: 'broadcast %p has joined, welcome back!'",
" as: CONSOLE", " executor: CONSOLE",
"", "",
"Supported command events: onLogin, onJoin, onRegister" "Supported command events: onLogin, onJoin, onRegister"
}; };

View File

@ -5,19 +5,19 @@
# onRegister: # onRegister:
# welcome: # welcome:
# command: 'msg %p Welcome to the server!' # command: 'msg %p Welcome to the server!'
# as: CONSOLE # executor: CONSOLE
# #
# This will make the console execute the msg command to the player. # This will make the console execute the msg command to the player.
# Each command under an event has a name you can choose freely (e.g. 'welcome' as above), # Each command under an event has a name you can choose freely (e.g. 'welcome' as above),
# after which a mandatory 'command' field defines the command to run, # after which a mandatory 'command' field defines the command to run,
# and 'as' defines who will run the command (either PLAYER or CONSOLE). Longer example: # and 'executor' defines who will run the command (either PLAYER or CONSOLE). Longer example:
# onLogin: # onLogin:
# welcome: # welcome:
# command: 'msg %p Welcome back!' # command: 'msg %p Welcome back!'
# as: PLAYER # executor: PLAYER
# broadcast: # broadcast:
# command: 'broadcast %p has joined, welcome back!' # command: 'broadcast %p has joined, welcome back!'
# as: CONSOLE # executor: CONSOLE
# #
# Supported command events: onLogin, onJoin, onRegister # Supported command events: onLogin, onJoin, onRegister
onLogin: onLogin: