mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 22:15:28 +00:00
Kill spaces in config. This is subject to further change.
This commit is contained in:
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
|
@Override
|
||||||
public void open() {
|
public void open() {
|
||||||
logToConsole = new ConfigValue<Boolean>("System.Log to console");
|
logToConsole = new ConfigValue<Boolean>("system.log-to-console");
|
||||||
logXRayStats = new ConfigValue<Boolean>("XRay.Log xray stats");
|
logXRayStats = new ConfigValue<Boolean>("xray.check-xray");
|
||||||
autoUpdate = new ConfigValue<Boolean>("System.Auto update");
|
alertWhenXRayIsFound = new ConfigValue<Boolean>("xray.alert");
|
||||||
verboseStartup = new ConfigValue<Boolean>("System.Verbose startup");
|
autoUpdate = new ConfigValue<Boolean>("system.auto-update");
|
||||||
alertWhenXRayIsFound = new ConfigValue<Boolean>("XRay.Alert when xray is found");
|
verboseStartup = new ConfigValue<Boolean>("system.verbose-startup");
|
||||||
silentMode = new ConfigValue<Boolean>("System.Silent mode");
|
silentMode = new ConfigValue<Boolean>("system.silent-mode");
|
||||||
exemptOp = new ConfigValue<Boolean>("System.Exempt op");
|
exemptOp = new ConfigValue<Boolean>("system.exempt-op");
|
||||||
trackCreativeXRay = new ConfigValue<Boolean>("XRay.Track creative");
|
trackCreativeXRay = new ConfigValue<Boolean>("xray.check-creative");
|
||||||
eventChains = new ConfigValue<Boolean>("System.Event Chains");
|
eventChains = new ConfigValue<Boolean>("system.event-chains");
|
||||||
enterprise = new ConfigValue<Boolean>("System.Enterprise");
|
enterprise = new ConfigValue<Boolean>("system.enterprise");
|
||||||
blockChatSpam = new ConfigValue<Boolean>("Chat.Block chat spam");
|
blockChatSpam = new ConfigValue<Boolean>("spam.chat");
|
||||||
blockCommandSpam = new ConfigValue<Boolean>("Chat.Block command spam");
|
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");
|
spamKickAction = new ConfigValue<String>("spam.action-one");
|
||||||
spamBanAction = new ConfigValue<String>("Chat.Ban Action");
|
spamBanAction = new ConfigValue<String>("spam.action-two");
|
||||||
|
|
||||||
exemptedWorlds = new ConfigValue<List<String>>("Disable in");
|
exemptedWorlds = new ConfigValue<List<String>>("disable-in");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,39 +1,39 @@
|
|||||||
# AntiCheat configuration file
|
# AntiCheat configuration file
|
||||||
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
|
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
|
||||||
XRay:
|
xray:
|
||||||
# Should AntiCheat use calculations to try and find xrayers?
|
# 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?
|
# 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?
|
# Should players in creative mode be tracked for possible xray usage?
|
||||||
Track creative: true
|
check-creative: true
|
||||||
Chat:
|
spam:
|
||||||
# Should AntiCheat block players spamming messages in chat?
|
# Should AntiCheat block players spamming messages in chat?
|
||||||
Block chat spam: true
|
chat: true
|
||||||
# Should AntiCheat block players spamming commands in chat?
|
# Should AntiCheat block players spamming commands in chat?
|
||||||
Block command spam: true
|
command: true
|
||||||
# Valid actions = NONE,KICK,BAN,COMMAND[command]
|
# Valid actions = NONE,KICK,BAN,COMMAND[command]
|
||||||
Kick Action: KICK
|
action-one: KICK
|
||||||
Ban Action: BAN
|
action-two: BAN
|
||||||
System:
|
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.
|
# 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?
|
# Should AntiCheat log ALL failed checks to console?
|
||||||
Log to console: false
|
log-to-console: false
|
||||||
# Should AntiCheat log to files?
|
# Should AntiCheat log to files?
|
||||||
# 0 = off, 1 = log only when an event takes place, 2 = more detailed logs, 3 = most detailed logs
|
# 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?
|
# 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.
|
# 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.
|
# 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?
|
# Should ops be exempt from all checks?
|
||||||
Exempt op: false
|
exempt-op: false
|
||||||
# Should AntiCheat track plugins in its own registered events?
|
# 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.
|
# Should Enterprise options be enabled? Only set this to true if you're an advanced user.
|
||||||
Enterprise: false
|
enterprise: false
|
||||||
Disable in:
|
disable-in:
|
||||||
- example-world
|
- example-world
|
||||||
- example-world-2
|
- example-world-2
|
||||||
Reference in new issue
Block a user