rconCommand

Parameters

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}`)
});