We have improved the logging system to provide a more comprehensive log system, allowing you to verify as much player information as possible.
We have added a new module to the plugin.
# CPS consistency check
cps-consistency-check:
enabled: true
violations-before-kick: 3
# Minimum CPS required to activate the standard deviation check (Recommended to catch slow hardware macros: 8 or 10)
threshold: 10
# Math variance threshold (StdDev). 10.0 or less means it's a perfectly timed robot/macro
variance-threshold: 10.0
# If true, only checks players who are actively in PvP combat (hitting other players)
# When false, detection works on ALL clicks (air + PvP), but mining is still filtered out
require-pvp: false
command: "ban %player% 7d Autoclick detected (%cps% CPS, %violations% violations)"
# Examples:
# command: "kick %player% You have been kicked for repeatedly exceeding the CPS limit."
# command: "ban %player% 30d Autoclick detected"
# ============================================================
# AFK MOB FARM DETECTION
# ============================================================
# Detects players farming mobs while AFK (autoclicking or holding attack)
# This detection works independently from PvP detections
# It monitors: position, head rotation, mob kills, and click patterns
afk-mob-farm-detection:
enabled: true
# Time in seconds the player must be still + attacking mobs before punishment
time-before-kick: 60
# Maximum movement in blocks to consider the player "still"
movement-tolerance: 1.0
# Minimum mob kills while still to trigger detection
min-mob-kills: 10
# Check head rotation (yaw/pitch) - AFK players rarely move their camera
check-head-rotation: true
# Maximum yaw/pitch change in degrees to still be considered "not rotating"
head-rotation-tolerance: 5.0
# Command to execute when AFK mob farming is detected
command: "kick %player% AFK mob farming detected"
# Examples:
# command: "kick %player% You have been kicked for AFK mob farming."
# command: "ban %player% 1d AFK mob farming detected"
# command: "warn %player% AFK mob farming detected"
# Worlds where this detection is DISABLED (e.g. creative, lobby)
excluded-worlds: []
We have fixed an issue with global alerts where, when a player mined a block, it could generate a false positive accusing the player of using autoclick. We have changed the order of the events so this now only occurs when the player is actually using autoclick against another player.
"No changes are necessary."
We have fixed an issue with the Discord integration that was causing it to fail. It is now working correctly without any issues. We recommend regenerating the config.yml file to ensure better compatibility.
The plugin prefix was decoupled from admin notification and broadcast messages, preventing it from being automatically added by the code.
Messages are now sent exactly as they are defined in messages.yml, giving you full control over whether a prefix is included or not.
Remember to reload the files.
A new Broadcast (global alert) feature has been added to notify the entire server when a player is detected with abnormally high CPS (auto-clicking).
messages.yml
# Admin notification messages
notifications:
# Message sent to admins when a player with high CPS is detected
admin-message: "&c%player% was detected with &f%cps% &cCPS"
# Broadcast message sent to all players
broadcast: "&8[&cALERT&8] &c%player% &7is clicking at &c%cps% CPS&7! &8(&cAUTO-CLICKER&8)"
config.yml
notifications:
# Notify admins when a player is detected
notify-admins: true
# Broadcast to all players when someone is detected
broadcast:
enabled: true
