rconCommand
Parameters
This event is deprecated. Please use REGISTER_COMMAND instead, and use the
restricted
flag.
string command, table/array arguments
- command: A string containing the command name that was executed.
- arguments: A list containing all arguments passed to the command.
Examples
JavaScript Example:
on('rconCommand', (command, args) => {
console.log(`${command} called over RCON with ${args}`)
});
Last modified January 6, 2021: Work on docs for the new doc FE (6433552)