Kill spaces in config. This is subject to further change.

This commit is contained in:
h31ix committed 2013-10-13 23:02:47 -04:00
1 parent a909bbcb9a
commit e474be703e
2 files changed
+35 -35

No files matched your search

@@ -54,24 +54,24 @@ public class Config extends ConfigurationFile {
@Override
public void open() {
logToConsole = new ConfigValue<Boolean>("System.Log to console");
logXRayStats = new ConfigValue<Boolean>("XRay.Log xray stats");
autoUpdate = new ConfigValue<Boolean>("System.Auto update");
verboseStartup = new ConfigValue<Boolean>("System.Verbose startup");
alertWhenXRayIsFound = new ConfigValue<Boolean>("XRay.Alert when xray is found");
silentMode = new ConfigValue<Boolean>("System.Silent mode");
exemptOp = new ConfigValue<Boolean>("System.Exempt op");
trackCreativeXRay = new ConfigValue<Boolean>("XRay.Track creative");
eventChains = new ConfigValue<Boolean>("System.Event Chains");
enterprise = new ConfigValue<Boolean>("System.Enterprise");
blockChatSpam = new ConfigValue<Boolean>("Chat.Block chat spam");
blockCommandSpam = new ConfigValue<Boolean>("Chat.Block command spam");
logToConsole = new ConfigValue<Boolean>("system.log-to-console");
logXRayStats = new ConfigValue<Boolean>("xray.check-xray");
alertWhenXRayIsFound = new ConfigValue<Boolean>("xray.alert");
autoUpdate = new ConfigValue<Boolean>("system.auto-update");
verboseStartup = new ConfigValue<Boolean>("system.verbose-startup");
silentMode = new ConfigValue<Boolean>("system.silent-mode");
exemptOp = new ConfigValue<Boolean>("system.exempt-op");
trackCreativeXRay = new ConfigValue<Boolean>("xray.check-creative");
eventChains = new ConfigValue<Boolean>("system.event-chains");
enterprise = new ConfigValue<Boolean>("system.enterprise");
blockChatSpam = new ConfigValue<Boolean>("spam.chat");
blockCommandSpam = new ConfigValue<Boolean>("spam.command");
fileLogLevel = new ConfigValue<Integer>("System.File log level");
fileLogLevel = new ConfigValue<Integer>("system.file-log-level");
spamKickAction = new ConfigValue<String>("Chat.Kick Action");
spamBanAction = new ConfigValue<String>("Chat.Ban Action");
spamKickAction = new ConfigValue<String>("spam.action-one");
spamBanAction = new ConfigValue<String>("spam.action-two");
exemptedWorlds = new ConfigValue<List<String>>("Disable in");
exemptedWorlds = new ConfigValue<List<String>>("disable-in");
}
}
+19 -19
View File
@@ -1,39 +1,39 @@
# AntiCheat configuration file
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
XRay:
xray:
# Should AntiCheat use calculations to try and find xrayers?
Log xray stats: true
check-xray: true
# Should a warning be sent to admins when a person is found that could be xraying?
Alert when xray is found: false
alert: false
# Should players in creative mode be tracked for possible xray usage?
Track creative: true
Chat:
check-creative: true
spam:
# Should AntiCheat block players spamming messages in chat?
Block chat spam: true
chat: true
# Should AntiCheat block players spamming commands in chat?
Block command spam: true
command: true
# Valid actions = NONE,KICK,BAN,COMMAND[command]
Kick Action: KICK
Ban Action: BAN
System:
action-one: KICK
action-two: BAN
system:
# 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
auto-update: true
# Should AntiCheat log ALL failed checks to console?
Log to console: false
log-to-console: false
# Should AntiCheat log to files?
# 0 = off, 1 = log only when an event takes place, 2 = more detailed logs, 3 = most detailed logs
File log level: 1
file-log-level: 1
# Should AntiCheat display extra debug information when starting?
Verbose startup: false
verbose-startup: false
# 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.
Silent mode: false
silent-mode: false
# Should ops be exempt from all checks?
Exempt op: false
exempt-op: false
# Should AntiCheat track plugins in its own registered events?
Event Chains: true
event-chains: true
# Should Enterprise options be enabled? Only set this to true if you're an advanced user.
Enterprise: false
Disable in:
enterprise: false
disable-in:
- example-world
- example-world-2