The Command Spy module shows players real-time commands to admins. Commands can optionally be whitelisted or blacklisted. Does not require "process-commands" in the main config to be enabled to function.
To receive notifications, op or the permission: "chatsentry.commandspy" is required.
Players with op or the permissions: "chatsentry.commandspy" & "chatsentry.commandspy.toggle" can toggle their commandspy notifications off and on.
To make a player or group exempt from having their commands sent to players with command spy permission, add "chatsentry.commandspy.exempt" to their permissions.
You can access the below settings in the command-spy.yml file within the modules folder of the plugin's root folder.
Config excerpts taken from v3.6.0 and may not be completely up-to-date with the latest changes. To see the most up-to-date file, see below: