Files
LoginSystem/src/test/resources/fr/xephi/authme/settings/commandconfig/commands.incomplete.yml
T
ljacqu 89c70ff447 #1026 Add more tags for forced commands (lazily replaced) (#214)
* #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
2017-01-29 13:54:37 +01:00

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