View Single Post
  #1  
Old 05-23-2009, 10:30 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
onPlayerAttributesUpdated()

An event occuring when a player get their attributes changed by RC ('edit attributes' or '/open <account>' for example).

Parameters: Player object or account name
Usage: I had in mind using it for an automatic staff-abuse detector, but it could have other usages as well.

Having this function would make it easier to make systems monitoring staff-abuse.
Instead of having a timeout checking all the player's variables every that amount of seconds, a function like this would eliminate just that.

Thoughts?

PS, would be nice to have onServerOptionsUpdated() too
__________________
Reply With Quote