Is there a way for the plugin to check wether a command is typed in chat, in consol or by rcon ?
Detect rcon, consol or chat command
You can use these hooks for that:
OnPlayerCommand
OnUserCommand
OnServerCommand
OnRconCommand
OnClientCommand
You can find them here:https://umod.org/documentation/games/rust#