-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
This is a suggestion for NF.
Can we have a event to detect what IP have trigger a rcon command?
This way we can track what admin have send a command or something else done that.
Example
main:
local.admin_event = registerevent "adminrcon" global/admin_check.scr::admin
end
admin local.ip local.command:
for(local.i = 1; local.i <= $player.size;local.i++)
{
local.player = $player[local.i]
if(local.player isAdmin && (getip local.player) == local.ip)
{
local.player iprint "I have trigger the command " + local.command + "!"
}
}
end
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request