Plex/Plex-Core/build/resources/main/commands.yml

21 lines
1.1 KiB
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-09 02:13:51 +00:00
# - The ranks are "e" for everyone, "s" for senior admin, and "a" for admin
2022-04-08 14:41:28 +00:00
# - MATCHING MODE: The command is just the command without slashes. Optional arguments are specified as well. It also accepts full plugins via specifying the plugin name followed by a ":" (e.g. "viaversion:")
# - REGEX MODE: The command is regex that matches the desired command. It matches case insensitively.
2022-04-08 05:16:05 +00:00
# - 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"
2022-04-09 05:05:06 +00:00
# - "r:e:^[^ :]+::Plugin specific commands are disabled"
2022-04-08 05:16:05 +00:00
blockedCommands:
2022-04-08 15:07:11 +00:00
- "r:e:^[^ :]+::Plugin specific commands are disabled."
2022-04-08 13:47:22 +00:00
- "m:e:mail sendall:You cannot send messages to everyone on the server."
2022-04-08 15:07:11 +00:00
- "m:e:mail sendtempall:You cannot send messages to everyone on the server."