* #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
24 lines
523 B
YAML
24 lines
523 B
YAML
# Sample commands.yml file
|
|
|
|
onJoin:
|
|
broadcast:
|
|
command: 'broadcast %nick has joined'
|
|
executor: CONSOLE
|
|
onRegister:
|
|
announce:
|
|
command: 'me I just registered'
|
|
executor: PLAYER
|
|
notify:
|
|
command: 'log %p (%ip, %country) registered'
|
|
executor: CONSOLE
|
|
onLogin:
|
|
welcome:
|
|
command: 'msg %p Welcome back'
|
|
executor: CONSOLE
|
|
show_motd:
|
|
command: 'motd'
|
|
executor: PLAYER
|
|
display_list:
|
|
command: 'list'
|
|
executor: PLAYER
|