Better configuration (again) - also implemented new Chat section in config, as well as new definable chat warning messages & actions.

This commit is contained in:
h31ix committed 2012-10-17 22:24:46 -04:00
1 parent 6d611b905f
commit f8c067f566
7 files changed
+216 -62

No files matched your search

+11 -7
View File
@@ -1,15 +1,24 @@
# AntiCheat configuration file
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
XRay:
# Should AntiCheat use calculations to try and find xrayers?
Log xray stats: true
# Should a warning be sent to admins when a person is found that could be xraying?
Alert when xray is found: false
# Should players in creative mode be tracked for possible xray usage?
Track creative: true
Chat:
# Should AntiCheat block players spamming messages in chat?
Block chat spam: true
# Should AntiCheat block players spamming commands in chat?
Block command spam: true
# Valid actions = NONE,KICK,BAN,COMMAND[command]
Kick Action: KICK
Ban Action: BAN
# Events occur when a player's hack level changes. You may configure reactions to these events here.
# Valid events = NONE,WARN,KICK,BAN,COMMAND[command]
# Use commands like so: COMMAND[ban &player 30] or COMMAND[kick &player hacking] or COMMAND[jail &player 10]
# &player will be replaced with player's name, and any command on your server can be used.
# &player will be replaced with player's name, and &world will be replaced with the player's world
Events:
Level Medium: WARN
Level High: KICK
@@ -18,8 +27,7 @@ Events:
# 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.
# AntiCheat will never bother you about updates if this is on, but if you turn it off you will have to manually update.
# Turning auto-update off is a _BAD_ idea. You will no longer be protected by the latest hacks/cheats if you do so, and will have to update manually.
Auto update: true
# Should AntiCheat log ALL failed checks to console?
Log to console: false
@@ -28,10 +36,6 @@ System:
File log level: 1
# Should AntiCheat display extra debug information when starting?
Verbose startup: false
# Should AntiCheat block players spamming messages in chat?
Block chat spam: true
# Should AntiCheat block players spamming commands in chat?
Block command spam: true
# If silent mode is on, players will not be stopped when they try to hack,
# and AntiCheat will do everything possible to keep them unaware of their rising hack level.
# However, alerts will still be sent to console and to admins online, and events will still take place.
+7 -2
View File
@@ -13,10 +13,15 @@ warning:
player_warning:
- '[AntiCheat] Hacking is not permitted.'
- '[AntiCheat] If you continue to hack, action will be taken.'
spam:
warning: 'Stop spamming the server or you will be kicked!'
kick_reason: 'Kicked for spamming'
ban_reason: 'Banned for spamming'
kick_broadcast: '[AntiCheat] &player was kicked for spamming'
ban_broadcast: '[AntiCheat] &player was banned for spamming'
ban:
ban_reason: 'Banned by AntiCheat'
ban_broadcast: '[AntiCheat] &player was banned for hacking.'
kick:
kick_reason: 'Kicked by AntiCheat'
kick_broadcast: '[AntiCheat] &player was kicked for hacking.'
kick_broadcast: '[AntiCheat] &player was kicked for hacking.'