mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-06 01:26:42 +00:00
Revert API
This commit is contained in:
21
src/main/resources/commands.yml
Normal file
21
src/main/resources/commands.yml
Normal file
@ -0,0 +1,21 @@
|
||||
#
|
||||
# Command Blocker
|
||||
#
|
||||
# Format:
|
||||
# - "<regex or match>:<rank>:command name no slash:Block message"
|
||||
#
|
||||
# Symbols to use:
|
||||
# - r for RegEx
|
||||
# - m for matching
|
||||
# - The ranks are "e" for everyone, "s" for senior admin, and "a" for admin
|
||||
# - 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.
|
||||
# - 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:
|
||||
- "r:e:^[^ :]+::Plugin specific commands are disabled."
|
||||
- "m:e:mail sendall:You cannot send messages to everyone on the server."
|
||||
- "m:e:mail sendtempall:You cannot send messages to everyone on the server."
|
Reference in New Issue
Block a user