Jump to content
  • 0

About ACL & who is unbaning people


solidsnake

Question

hi all i have problem that 1 of admins that unbanning people every time when i ban someone is there any log file or anyway that i can catch him who is doing this

plz its big problem if theresnt plz tell me how to make log or something that i can catch him its important plz .

Link to comment

5 answers to this question

Recommended Posts

  • 0
Please see Step 1 and think. Can you output something to the server log via scripting?

ok thanks & correct me if i am worng

root = getRootElement()
 
function announceUnban( theBan )
if getElementType( source ) then
outputServerLog ( getPlayerName( source ) .. " unbanned " .. ( getBanSerial(theBan) or getBanIP(theBan) ) )
end
end
 
addEventHandler( "onUnban", root, announceUnban )

Link to comment
  • 0

Looks good, although I'm not sure what you intend with the getElementType. It serves no real purpose and will throw an error if the input is invalid.

In this case, however, your admin-gone-bad can just change his player name. Add the responsible account too. You'll need to get the player's (that is, admin's) account and then you can get the account name.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...