protection icon indicating copy to clipboard operation
protection copied to clipboard

Detection Descriptions.

Open CantBeKarma opened this issue 7 years ago • 0 comments

While most are seemingly obvious, I believe every detection (protection/x.inc) should have a description (brief, even) of what exactly the cheat is and how it's countered by default. This is useful so that scripters know exactly what each detection does without looking through the whole code and/or figuring it out by name because cheats can be/get very specific at times. This will especially be beneficial when detecting more complicated cheats.

For example:

(protections/armour.inc):

Cheat Description: When a player sets his armor without the server's approval (SetPlayerArmor). Default Countermeasure: Sets the player's armor to the correct amount.

(protections/teleport.inc):

Cheat Description: When a player teleports somewhere (on foot or within a vehicle) without the server's approval. Default Countermeasure: Sets the player that's on foot or inside of a vehicle back to the last position the server authorized.

CantBeKarma avatar Dec 06 '18 19:12 CantBeKarma