mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Ready for pre-release; Removed broken code, finished config migrations and fixed false positive
This commit is contained in:
1 parent
07f3c3abce
commit
168c25e5d2
16 files changed
+156
-313
No files matched your search
@@ -1,5 +1,6 @@
|
||||
# AntiCheatReloaded checks configuration file
|
||||
# Flight check settings
|
||||
# Checks if a player moves wrongly in the air
|
||||
flight:
|
||||
# Checks for prolonged air movement
|
||||
# Debugs as 'tried to fly on the Y-axis' or 'had too little Y dropoff'
|
||||
@@ -48,6 +49,7 @@ elytrafly:
|
||||
enabled: true
|
||||
|
||||
# Speed check settings
|
||||
# Checks if a player moves too fast
|
||||
speed:
|
||||
# Checks movement speed in the air
|
||||
# Debugs as 'moved too fast in air'
|
||||
@@ -135,6 +137,7 @@ fastladder:
|
||||
vlBeforeFlag: 3
|
||||
|
||||
# KillAura check settings
|
||||
# Checks if the player uses a form of kill aura
|
||||
killaura:
|
||||
# Checks reach distance in fights
|
||||
# Debugs as 'reached too far'
|
||||
@@ -167,6 +170,7 @@ killaura:
|
||||
vlBeforeFlag: 3
|
||||
|
||||
# Aimbot check settings
|
||||
# Checks if the player is sending aimbot-like movements
|
||||
aimbot:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
@@ -176,6 +180,7 @@ aimbot:
|
||||
maxYaw: 355
|
||||
|
||||
# Criticals check settings
|
||||
# Checks if the player tries to do a crit without needed conditions
|
||||
criticals:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
@@ -191,6 +196,7 @@ velocity:
|
||||
vlBeforeFlag: 2
|
||||
|
||||
# FastPlace check settings
|
||||
# Checks if the player places blocks too fast
|
||||
fastplace:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
@@ -204,6 +210,7 @@ fastplace:
|
||||
blockPlacementTime: 1000
|
||||
|
||||
# IllegalInteract check settings
|
||||
# Checks if the player is using, placing or breaking blocks from illegal angles
|
||||
illegalinteract:
|
||||
# Maximum difference in angle from the players view
|
||||
maxAngleDifference: 90
|
||||
@@ -223,15 +230,16 @@ illegalinteract:
|
||||
# Should this part of the check be enabled?
|
||||
enabled: true
|
||||
# Default survival interact range
|
||||
survivalRange: 5.5
|
||||
survivalRange: 5.8
|
||||
# Default creative interact range
|
||||
creativeRange: 6.5
|
||||
creativeRange: 6.8
|
||||
# Extra allowed reach distance per millisecond of ping
|
||||
pingCompensation: 0.0045
|
||||
# The multiplier of extra compensation for velocity
|
||||
velocityMultiplier: 1.5
|
||||
|
||||
# BadPackets check settings
|
||||
# Checks for illegal packets
|
||||
badpackets:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
@@ -241,6 +249,7 @@ badpackets:
|
||||
maxDistance: 25.0
|
||||
|
||||
# MorePackets check settings
|
||||
# Checks for an extra amount of packets and modified game timers
|
||||
morepackets:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
@@ -260,7 +269,7 @@ morepackets:
|
||||
maxPing: -1
|
||||
|
||||
# Sneak check settings
|
||||
# Checks if a player toggles sneak too fast
|
||||
# Checks if the player toggles sneak too fast
|
||||
sneak:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
@@ -273,11 +282,13 @@ sneak:
|
||||
minToggleTime: 75
|
||||
|
||||
# Spider check settings
|
||||
# Checks if the player tries to climb a non-climbable block
|
||||
spider:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
|
||||
# NoFall check settings
|
||||
# Checks if the player tries to ignore fall damage
|
||||
nofall:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
@@ -285,21 +296,31 @@ nofall:
|
||||
vlBeforeFlag: 6
|
||||
|
||||
# Sprint check settings
|
||||
# Checks if the player tries to sprint without the needed conditions
|
||||
sprint:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
# Minimum food level needed to sprint
|
||||
sprintFoodMin: 6
|
||||
|
||||
# FastBow check settings
|
||||
# Checks if the player fires a bow too fast
|
||||
fastbow:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
# Maximum percent error between predicted bow force and actual bow force
|
||||
bowError: 0.25
|
||||
|
||||
# FastEat check settings
|
||||
# Checks if the player consumes food too fast
|
||||
fasteat:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
# Minimum time in milliseconds it takes to consume food
|
||||
eatTimeMin: 1000
|
||||
|
||||
# FastHeal check settings
|
||||
# Checks if the player regains health too fast
|
||||
fastheal:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
@@ -314,41 +335,71 @@ fastheal:
|
||||
pingCompensation: 0.15
|
||||
|
||||
# FastProjectile check settings
|
||||
# Checks if the player fires a projectile too fast
|
||||
fastprojectile:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
# Number of projectiles to wait for before checking how long they took to fire off
|
||||
projectilesToWait: 10
|
||||
# The minimum time in milliseconds it should have taken for the player fire 'projectilesToWait' projectiles
|
||||
minimumTime: 1500
|
||||
|
||||
# ItemSpam check settings
|
||||
# Checks if the player drops items too fast
|
||||
itemspam:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
# The number of item drops we should wait before checking if the player has used item spam
|
||||
dropsToWait: 10
|
||||
# The minimum time in milliseconds it should have taken for the player to drop items 'dropsToWait' times
|
||||
minimumTime: 800
|
||||
|
||||
# FastInventory check settings
|
||||
# Checks if the player moves items in the inventory too fast
|
||||
fastinventory:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
|
||||
# AutoTool check settings
|
||||
autotool:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
# The number of clicks we should wait before checking if the player has used fast inventory
|
||||
clicksToWait: 10
|
||||
# The minimum time in milliseconds it should have taken for the player to click 'clicksToWait' times
|
||||
minimumTime: 50
|
||||
|
||||
# vClip check settings
|
||||
# Checks if the player is clipping
|
||||
vclip:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
|
||||
# ChatUnicode check settings
|
||||
# Checks for illegal unicode characters in the chat
|
||||
chatunicode:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
|
||||
# ChatSpam check settings
|
||||
# Checks for a spam of chat messages
|
||||
chatspam:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
# Minimum time between chats
|
||||
timeMin: 500
|
||||
# Time in milliseconds after which repeating yourself in chat is ignored
|
||||
repeatIgnore: 600
|
||||
# Number of chat spam violations before action one (see config.yml) is executed
|
||||
levelActionOne: 5
|
||||
# Number of chat spam violations before action two (see config.yml) is executed
|
||||
levelActionTwo: 10
|
||||
|
||||
# CommandSpam check settings
|
||||
# Checks for a spam of commands
|
||||
commandspam:
|
||||
# Should this check be enabled?
|
||||
enabled: true
|
||||
enabled: true
|
||||
# Minimum time between commands
|
||||
timeMin: 400
|
||||
# Time in milliseconds after which repeating a command is ignored
|
||||
repeatIgnore: 500
|
||||
# Number of command spam violations before action one (see config.yml) is executed
|
||||
levelActionOne: 5
|
||||
# Number of command spam violations before action two (see config.yml) is executed
|
||||
levelActionTwo: 10
|
||||
@@ -35,9 +35,9 @@ system:
|
||||
# Do NOT enable this in a production environment!
|
||||
debug-mode: false
|
||||
# To prevent spamming, staff and the console will only be notified every x violations
|
||||
# Minimum value is 1, default is 5
|
||||
# Minimum value is 1, default is 10
|
||||
# Example with 5: notifications after 5 vl, 10vl, 15vl, etc.
|
||||
notify-every-vl: 5
|
||||
notify-every-vl: 10
|
||||
# Use /AntiCheatReloaded checks for a list of valid checks
|
||||
disable-in:
|
||||
- example-world
|
||||
|
||||
@@ -1,114 +1,36 @@
|
||||
# Number of times required to punch a block before it breaks
|
||||
# Changing this value is almost never required
|
||||
BLOCK_PUNCH_MIN: 5
|
||||
# Time to exempt a player from moving because of taking damage
|
||||
# Can be decreased very slightly to increase detection
|
||||
# Increasing in case of false positives is almost never necessary and is not advised
|
||||
DAMAGE_TIME: 3000
|
||||
# Number of item drops to wait for before checking how long they took to drop
|
||||
# Changing this value is almost never required
|
||||
DROP_CHECK: 10
|
||||
# Minimum time it takes to drop X items
|
||||
# Changing this value is almost never required
|
||||
DROP_TIME_MIN: 800
|
||||
# Time to exempt a player from moving because of entering/exiting a vehicle
|
||||
# Increase in case of false positives
|
||||
ENTERED_EXITED_TIME: 1000
|
||||
# Time to exempt a player from moving because of teleporting
|
||||
# Increase in case of false positives
|
||||
TELEPORT_TIME: 1000
|
||||
# Time to exempt a player from moving because of exiting fly mode
|
||||
# Changing this value is almost never required
|
||||
EXIT_FLY_TIME: 2000
|
||||
# Time to exempt a player from moving because of taking damage from an explosion
|
||||
# Can be decreased very slightly to increase detection
|
||||
# Increasing in case of false positives is almost never necessary and is not advised
|
||||
EXPLOSION_DAMAGE_TIME: 5000
|
||||
# Time to exempt a player from moving because of joining the server
|
||||
# If your server is slow when a player joins, increasing this value is important
|
||||
# Shouldn't be lower than 1500 or higher than 5000
|
||||
JOIN_TIME: 2000
|
||||
# Time to exempt a player from moving because of taking damage
|
||||
# Can be decreased very slightly to increase detection
|
||||
# Increasing in case of false positives is almost never necessary and is not advised
|
||||
DAMAGE_TIME: 3000
|
||||
# Time to exempt a player from moving because of taking damage with knockback effects
|
||||
# Can be decreased very slightly to increase detection
|
||||
# Increase in case of false positives, but shouldn't be necessary
|
||||
KNOCKBACK_DAMAGE_TIME: 4000
|
||||
# Number of projectiles to wait for before checking how long they took to fire off
|
||||
# Do not decrease this value
|
||||
PROJECTILE_CHECK: 10
|
||||
# Minimum time it takes to fire X projectiles
|
||||
# Decrease in case of false positives
|
||||
PROJECTILE_TIME_MIN: 1500
|
||||
# Time to exempt a player from moving because of teleporting
|
||||
# Increase in case of false positives
|
||||
TELEPORT_TIME: 1000
|
||||
# Number of command spam violations before action one is executed
|
||||
# Should be changed to personal preference
|
||||
COMMAND_ACTION_ONE_LEVEL: 5
|
||||
# Number of command spam violations before action two is executed
|
||||
# Should be changed to personal preference
|
||||
COMMAND_ACTION_TWO_LEVEL: 10
|
||||
# Number of chat spam violations before action one is executed
|
||||
# Should be changed to personal preference
|
||||
CHAT_ACTION_ONE_LEVEL: 5
|
||||
# Number of chat spam violations before action two is executed
|
||||
# Should be changed to personal preference
|
||||
CHAT_ACTION_TWO_LEVEL: 10
|
||||
# This is a set value and shouldn't be changed unless you know what you're doing
|
||||
VELOCITY_SCHETIME: 2
|
||||
# Maximum time a player is considered to have a change in velocity
|
||||
# This is a set value and shouldn't be changed unless you know what you're doing
|
||||
VELOCITY_CHECKTIME: 2100
|
||||
# Time to exempt a player from moving because of taking damage from an explosion
|
||||
# Can be decreased very slightly to increase detection
|
||||
# Increasing in case of false positives is almost never necessary and is not advised
|
||||
EXPLOSION_DAMAGE_TIME: 5000
|
||||
# Amount of seconds to extend a players velocitized state after receiving velocity again
|
||||
VELOCITY_EXTENSION: 2
|
||||
# Time a player is considered to have a change in velocity
|
||||
VELOCITY_TIME: 2000
|
||||
# This is a set value and shouldn't be changed unless you know what you're doing
|
||||
VELOCITY_PREVENT: 5000
|
||||
# This is a set value and shouldn't be changed unless you know what you're doing
|
||||
VELOCITY_MAXTIMES: 2
|
||||
# This is a set value and shouldn't be changed unless you know what you're doing
|
||||
VELOCITY_TIME: 3
|
||||
# Number of times a player can sprint without proper food level before being considered a cheater
|
||||
# Can either be increased or decreased to your liking. Shouldn't make a massive difference.
|
||||
SPRINT_FOOD_MIN: 6
|
||||
# Maximum times a player can interact between animations
|
||||
# Changing this value of almost never required
|
||||
ANIMATION_INTERACT_MAX: 3
|
||||
# Minimum time between commands in milliseconds
|
||||
# Should be changed to personal preference
|
||||
COMMAND_MIN: 400
|
||||
# Time before repeating a command in milliseconds
|
||||
# Should be changed to personal preference
|
||||
COMMAND_REPEAT_MIN: 500
|
||||
# Minimum time between chats in milliseconds
|
||||
# Should be changed to personal preference
|
||||
CHAT_MIN: 500
|
||||
# Time before repeating yourself in chat is ignored in milliseconds
|
||||
# Should be changed to personal preference
|
||||
CHAT_REPEAT_MIN: 600
|
||||
# Minimum time in between block breaks
|
||||
# Decrease in case of false positives
|
||||
BLOCK_BREAK_MIN: 0.1
|
||||
# Minimum time in between block placing
|
||||
# Decrease in case of false positives
|
||||
BLOCK_PLACE_MIN: 0.1
|
||||
# Minimum time in between eating
|
||||
# Decrease in case of false positives
|
||||
EAT_TIME_MIN: 1000
|
||||
# Maximum percent error between predicted bow force and actual bow force
|
||||
# Increase in case of false positives
|
||||
BOW_ERROR: 0.25
|
||||
# Maximum distance a player can break a block from
|
||||
# Changing this value is almost never required
|
||||
BLOCK_MAX_DISTANCE: 5.5
|
||||
# Maximum distance a player can break a block from when in creative mode
|
||||
# Changing this value is almost never required
|
||||
BLOCK_MAX_DISTANCE_CREATIVE: 6.0
|
||||
# Maximum speed a player on a ladder can travel
|
||||
# This is a set value and shouldn't be changed unless you know what you're doing
|
||||
LADDER_Y_MAX: 0.11761
|
||||
# Minimum speed a player on a ladder can travel
|
||||
# This is a set value and shouldn't be changed unless you know what you're doing
|
||||
LADDER_Y_MIN: 0.11759
|
||||
# The number of clicks we should wait before checking if the player has used fast inventory
|
||||
# Increase in case of false positives
|
||||
INVENTORY_CHECK: 10
|
||||
# The minimum time it should have taken for the player to click X times
|
||||
# Increase in case of false positives
|
||||
INVENTORY_TIMEMIN: 50
|
||||
# Minimum travel distance for move to be considered a teleport and subsequently be ignored
|
||||
# This is a set value and shouldn't be changed unless you know what you're doing
|
||||
TELEPORT_MIN: 400
|
||||
|
||||
@@ -55,12 +55,6 @@ permissions:
|
||||
anticheat.check.waterwalk:
|
||||
description: Allow players to walk on water
|
||||
default: false
|
||||
anticheat.check.noswing:
|
||||
description: Allow players to not ever swing their arm
|
||||
default: false
|
||||
anticheat.check.fastbreak:
|
||||
description: Allow players to quickly break blocks
|
||||
default: false
|
||||
anticheat.check.fastplace:
|
||||
description: Allow players to use build hacks and fastplace
|
||||
default: false
|
||||
@@ -112,9 +106,6 @@ permissions:
|
||||
anticheat.check.fastinventory:
|
||||
description: Allow players to use fastloot and similar inventory hacks
|
||||
default: false
|
||||
anticheat.check.autotool:
|
||||
description: Allow players to use autotool to switch tools quickly
|
||||
default: false
|
||||
anticheat.check.morepackets:
|
||||
description: Allow players to send lots of movement packets or modify their timer
|
||||
default: false
|
||||
@@ -143,8 +134,6 @@ permissions:
|
||||
anticheat.check.flight: true
|
||||
anticheat.check.elytrafly: true
|
||||
anticheat.check.waterwalk: true
|
||||
anticheat.check.noswing: true
|
||||
anticheat.check.fastbreak: true
|
||||
anticheat.check.fastplace: true
|
||||
anticheat.check.chatspam: true
|
||||
anticheat.check.commandspam: true
|
||||
@@ -158,15 +147,14 @@ permissions:
|
||||
anticheat.check.fasteat: true
|
||||
anticheat.check.fastheal: true
|
||||
anticheat.check.killaura: true
|
||||
anticheat.check.unicode: true
|
||||
anticheat.check.fastprojectile: true
|
||||
anticheat.check.itemspam: true
|
||||
anticheat.check.fastinventory: true
|
||||
anticheat.check.autotool: true
|
||||
anticheat.check.morepackets: true
|
||||
anticheat.check.badpackets: true
|
||||
anticheat.check.velocity: true
|
||||
anticheat.check.criticals: true
|
||||
anticheat.check.unicode: true
|
||||
anticheat.check.illegalinteract: true
|
||||
anticheat.check.fastladder: true
|
||||
anticheat.check.aimbot: true
|
||||
Reference in new issue
Block a user