Add much more configuration ability to spam module. Fixes #247

This commit is contained in:
h31ix committed 2013-10-14 12:53:12 -04:00
1 parent e474be703e
commit bd2fd0952f
14 files changed
+214 -90

No files matched your search

+15 -6
View File
@@ -5,16 +5,25 @@ xray:
check-xray: true
# Should a warning be sent to admins when a person is found that could be xraying?
alert: false
# How often (in seconds) should AntiCheat check for xrayers if alert is true?
alert-interval: 60
# Should players in creative mode be tracked for possible xray usage?
check-creative: true
spam:
# Should AntiCheat block players spamming messages in chat?
chat: true
chat:
# Should AntiCheat block players spamming messages in chat?
block-speed: true
block-repetition: true
# Valid actions = NONE,KICK,BAN,COMMAND[command]
action-one: KICK
action-two: BAN
# Should AntiCheat block players spamming commands in chat?
command: true
# Valid actions = NONE,KICK,BAN,COMMAND[command]
action-one: KICK
action-two: BAN
command:
block-speed: true
block-repetition: true
# Valid actions = NONE,KICK,BAN,COMMAND[command]
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
+10 -6
View File
@@ -2,24 +2,28 @@
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
# Documentation for these values is available at http://gravitydevelopment.net/docs/anticheat/net/h31ix/anticheat/util/Magic.html
ANIMATION_CHECK: 5
ASCENSION_COUNT_MAX: 8
ANIMATION_TIMEMIN: 400
ANIMATION_MIN: 200
ANIMATION_TIMEMIN: 400
ASCENSION_COUNT_MAX: 8
BLOCK_BREAK_MIN: 0.1
BLOCK_MAX_DISTANCE: 5.5
BLOCK_MAX_DISTANCE_CREATIVE: 6.0
BLOCK_PLACE_MIN: 0.1
BLOCK_PUNCH_MIN: 5
BOW_ERROR: 0.25
CHAT_BAN_LEVEL: 3
CHAT_KICK_LEVEL: 10
CHAT_ACTION_ONE_LEVEL: 3
CHAT_ACTION_TWO_LEVEL: 5
CHAT_MIN: 100
CHAT_REPEAT_MIN: 260
CHAT_WARN_LEVEL: 7
COMMAND_ACTION_ONE_LEVEL: 3
COMMAND_ACTION_TWO_LEVEL: 5
COMMAND_MIN: 100
COMMAND_REPEAT_MIN: 260
DAMAGE_TIME: 3000
DROP_CHECK: 10
DROPPED_ITEM_TIME: 100
DROP_TIME_MIN: 800
DROPPED_ITEM_TIME: 100
EAT_TIME_MIN: 1000
ENTERED_EXITED_TIME: 1000
ENTITY_MAX_DISTANCE: 5.5
@@ -71,8 +75,8 @@ XZ_SPEED_MAX_FLY: 0.56
XZ_SPEED_MAX_POTION: 0.7
XZ_SPEED_MAX_SNEAK: 0.15
XZ_SPEED_MAX_SOULSAND: 0.13
XZ_SPEED_MAX_SOULSAND_SPRINT: 0.2
XZ_SPEED_MAX_SOULSAND_POTION: 0.16
XZ_SPEED_MAX_SOULSAND_SPRINT: 0.2
XZ_SPEED_MAX_SPRINT: 0.65
XZ_SPEED_MAX_WATER: 0.19
XZ_SPEED_MAX_WATER_SPRINT: 0.3