89c70ff447
* #1026 Add more tags for forced commands (lazily replaced) - Extract lazy replacement of tags to its own class - Implement wrapper to replace a String property within an object - Use wrapper in command manager and add new tags * Make argument type generic in lazy tags util
21 lines
530 B
YAML
21 lines
530 B
YAML
# Sample commands.yml file with wrong and missing sections
|
|
|
|
onJoin:
|
|
broadcast:
|
|
command: 'broadcast %p has joined'
|
|
executor: CONSOLE
|
|
onLogin:
|
|
welcome:
|
|
command: 'msg %p Welcome back, %nick'
|
|
executor: CONSOLE
|
|
show_motd:
|
|
# command: 'motd' <-- mandatory property, so entry should be ignored
|
|
executor: PLAYER
|
|
display_list:
|
|
command: 'list'
|
|
executor: WRONG_EXECUTOR
|
|
doesNotExist:
|
|
wrongEntry:
|
|
command: 'should be ignored'
|
|
executor: PLAYER
|