Plex/src/main/resources/commands.yml

20 lines
889 B
YAML
Raw Normal View History

2022-04-08 05:16:05 +00:00
#
# Command Blocker
#
# Format:
# - "<regex or match>:<rank>:command name no slash:Block message"
#
# Symbols to use:
# - r for RegEx
# - m for matching
2022-04-08 06:15:25 +00:00
# - The ranks are "e" for executive and below, "a" for admin and below, "s" for senior admin and below,
######## TODO: DOCUMENT ALL OTHER LETTERS!! ^^^^
2022-04-08 05:16:05 +00:00
# - The command is just the command without slashes. Optional arguments are specified as well
# - Finally the block message. MUST NOT CONTAIN ":". Use _ to use the default command blocked message as specified in messages.yml, or you can optionally put your own in
#
# So these would be valid:
# - "m:e:mail sendall:You cannot send messages to everyone on the server"
# - "r:e:(.*:):Plugin specific commands are disabled"
blockedCommands:
- "m:e:mail sendall:You cannot send messages to everyone on the server"
2022-04-08 06:15:25 +00:00
- "r:e:^[^ ]+::Plugin specific commands are disabled"