mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Simplified confirmation server settings to accept just "expected output" and not have multiple settings for each command, such as "success", "failure1" and "failure2".
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
extends: minecraft/1.2.0
|
|
log-confirmations:
|
|
commands:
|
|
gamemode:
|
|
pattern: "gamemode <mode> <player>"
|
|
output: "That player cannot be found"
|
|
|
|
kick:
|
|
pattern: "kick <player>"
|
|
output:
|
|
- "Kicked <player> from the game"
|
|
- "That player cannot be found"
|
|
|
|
time-set:
|
|
pattern: "time set <time>"
|
|
output:
|
|
- "Set the time to <time>"
|
|
- "The number you have entered (<time>) is too small, it must be at least 0"
|
|
- "'<time>' is not a valid number"
|
|
time-add:
|
|
pattern: "time add <time>"
|
|
output:
|
|
- "Added <time> to the time"
|
|
- "The number you have entered (<time>) is too small, it must be at least 0"
|
|
- "'<time>' is not a valid number"
|
|
|
|
toggledownfall:
|
|
pattern: "toggledownfall"
|
|
output: "Toggled downfall"
|
|
|
|
give:
|
|
pattern: "give <player> <item> <amount> <damage>"
|
|
output:
|
|
- "Given .+ (ID <item>) * <amount> to <player>"
|
|
- "That player cannot be found"
|
|
- "'<item>' is not a valid number"
|
|
|
|
xp:
|
|
pattern: "xp <amount> <player>"
|
|
output:
|
|
- "Given <amount> experience to <player>"
|
|
- "That player cannot be found"
|
|
- "'<amount>' is not a valid number"
|
|
- "The number you have entered (<amount>) is too small, it must be at least 0"
|
|
|
|
save-on:
|
|
pattern: "save-on"
|
|
output: "Turned on world auto-saving"
|
|
save-off:
|
|
pattern: "save-off"
|
|
output: "Turned off world auto-saving"
|
|
save-all:
|
|
pattern: "save-all"
|
|
output: "Saved the world"
|
|
timeout: 10 |