Filter Commands¶
This page describes the usage and permissions of the DKBans filter commands.
Important things to remember:
- Required arguments are declared with
<example> - Optional arguments are declared with
[example]
Index
/filter list¶
Permission: dkbans.command.filter
List all available filters on this network.
/filter add <area> <value> [operation]¶
Permission: dkbans.command.filter
Arguments:
* <area> The area to add this filter
* <value> The value of the filter
* [operation] The compare operation/algorithm
Add a new filter and block messages.
Available areas:
CHAT_ADVERTISINGBlock messages from the chat for advertisingCHAT_INSULTBlock messages from the chat for insultingCOMMANDBlock entire commands for the networkCOMMAND_MUTEBlock commands for muted players (e.g. ./msg)PLAYER_NAMEBlock player names from the network
Available operations:
EQUALSThe filter value and the chat input must exactly matchCONTAINSThe chat input must contain the valueSTARTS_WITHThe chat input must start with the valueENDS_WITHThe chat input must end the valueREGEXThe chat input matches with the configured regex
/filter remove <id>¶
Permission: dkbans.command.filter
Arguments:
* <id> The id of the filter (available in filter list)
Remove an existing filter by id.
Last update:
2021-05-24