mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Add disable broadcast
Prevents public embarassment. Some anarchy server owners like myself want to kick those who have certain hacks but don't want their kick to be publicly known.
This commit is contained in:
1 parent
3b9b39c49a
commit
ef5b4069ce
4 files changed
+7
-3
No files matched your search
@@ -36,6 +36,7 @@ public class Config extends ConfigurationFile {
|
||||
public ConfigValue<Boolean> eventChains;
|
||||
public ConfigValue<Boolean> enterprise;
|
||||
public ConfigValue<Boolean> debugMode;
|
||||
public ConfigValue<Boolean> disableBroadcast;
|
||||
|
||||
public ConfigValue<Boolean> blockChatSpamSpeed;
|
||||
public ConfigValue<Boolean> blockCommandSpamSpeed;
|
||||
@@ -67,6 +68,7 @@ public class Config extends ConfigurationFile {
|
||||
eventChains = new ConfigValue<Boolean>("system.event-chains");
|
||||
enterprise = new ConfigValue<Boolean>("system.enterprise");
|
||||
debugMode = new ConfigValue<Boolean>("system.debug-mode");
|
||||
disableBroadcast = new ConfigValue<Boolean>("system.disable-broadcast");
|
||||
|
||||
blockChatSpamSpeed = new ConfigValue<Boolean>("spam.chat.block-speed");
|
||||
blockChatSpamRepetition = new ConfigValue<Boolean>("spam.chat.block-repetition");
|
||||
@@ -86,7 +88,6 @@ public class Config extends ConfigurationFile {
|
||||
if (notifyEveryVl.getValue() < 1) {
|
||||
notifyEveryVl.setValue(5);
|
||||
}
|
||||
|
||||
maxSetbackDistance = new ConfigValue<Integer>("system.max-setback-distance");
|
||||
if (maxSetbackDistance.getValue() < 5) {
|
||||
maxSetbackDistance.setValue(50);
|
||||
|
||||
Reference in new issue
Block a user