Refactored a buttload of stuff. This may get rid of the spotty bug, it fixes logging to file and to console, fixes color in console, adds ability to specify the event levels, and changing gamemode while in the air.

This commit is contained in:
H31IX committed 2012-09-01 02:10:28 -04:00
1 parent 531b7a4985
commit 28964850e3
15 files changed
+539 -494

No files matched your search

+4
View File
@@ -10,6 +10,10 @@ Events:
#&player will be replaced with player's name, and any command on your server can be used.
Level Medium: WARN
Level High: KICK
#How many warnings should the player get before entering medium?
Medium threshold: 20
#How many warnings should the player get before entering high?
High threshold: 50
System:
#Turning auto-update off is a _BAD_ idea. You will no longer be protected by the latest hacks/cheats if you do so.
+8 -6
View File
@@ -1,14 +1,16 @@
alert:
medium_alert:
- '[ALERT] &player has entered the MEDIUM hack level.'
- '[ALERT] This means they may be using a hacked client or may have a bad connection!'
- "&player has just entered the medium hack level."
- "&player's last failed check was: &check."
- "Type '/anticheat report &player' for more information."
high_alert:
- '[ALERT] &player has entered the HIGH hack level.'
- '[ALERT] This means they probably are hacking or are lagging out!'
- "&player has just entered the high hack level."
- "&player's last failed check was: &check."
- "Type '/anticheat report &player' for more information."
warning:
player_warning:
- '[AntiCheat] Hacks are not allowed on this server.'
- '[AntiCheat] If you continue to use hacks, action will be taken.'
- '[AntiCheat] Hacking is not permitted.'
- '[AntiCheat] If you continue to hack, action will be taken.'
ban:
ban_reason: 'Banned by AntiCheat'
ban_broadcast: '[AntiCheat] &player was banned for hacking.'