Staff++
Search…
Command detection
A small module that can detect players executing certain commands.

Configuration

1
command-detection:
2
enabled: true
3
command-groups:
4
- commands:
5
- op
6
- deop
7
- lp
8
actions: []
Copied!
We can group certain commands and link actions to them.

Actions

You can link actions whenever a player tries to execute a command inside the configured command-group.
Actions listed here should be in the Staff ++ command format

Placeholders:

Placeholder value
Description
%player%
The playername of the player that executed the command
%command%
The exact command the player tried to execute

Targets/Executors

player
The player that tried to execute the command

Alerts

In addition players can also be notified about the commands being executing through the alerts module.
1
alerts-module:
2
3
# Whether or not staff will be notified when the command-detection gets triggered.
4
command-detection: true
5
command-detection-console: false
Copied!