Skip to content

Instantly share code, notes, and snippets.

@ChiboYen
Last active July 4, 2021 19:45
Show Gist options
  • Save ChiboYen/bdb867061805404e1248ab84d617ed77 to your computer and use it in GitHub Desktop.
Save ChiboYen/bdb867061805404e1248ab84d617ed77 to your computer and use it in GitHub Desktop.
AAC Optimized Config
# AAC Configuration File (Configured and provided by ChiboYen#0001)
# Please report AAC errors to: https://github.com/konsolas/AAC-Issues/issues
#
#
# In this configuration file, all length units are blocks and all time units are seconds
#
# SETUP INSTRUCTIONS
# 1. Download all dependencies listed on the resource page
# https://www.spigotmc.org/resources/aac-advanced-anti-cheat-hack-kill-aura-blocker.6442/
# https://www.spigotmc.org/resources/conditionalcommands.14295/
# https://www.spigotmc.org/resources/placeholderapi.6245/
#
# RESTART THE SERVER, and execute the following commands to get placeholders
# /papi ecloud download Server
# /papi ecloud download Player
#
# 2. Use a text editor of your choice, add in your MySQL database if you have one
#
# 3. If you are on bungeecord, and would like cross-server alerts, set "bungeecord" (line 30) to "true"
#
# 4. To configure the punishment, use a text editor of your choice and find "bancommandplaceholder" and replace it with the bancommandplaceholder/ban command
# NOTE: You need to replcae "bancommandplaceholder" with the FULL command including the player argument, like "ban %player_name%" or "bancommandplaceholder %player_name%"
#
# 5. Just in case, please restart yours server to initialize the configuration
#
# If you need help, want to report an issue, or have any questions, join my Discord for support: https://discord.gg/Ygkbbs3Kyp
#
# NOTE: Mitigation for movement hacks are off by default in this configuration, this is for auto-banning! If you are not auto-banning, please turn mitigation for the move check to true.
#
mysql:
enabled: false
host: "localhost"
port: 3306
database: ""
username: ""
password: ""
bungeecord: false # SET THIS TO TRUE IF YOU ARE ON BUNGEE AND WANT CROSS-SERVER ALERTS
checks:
# The delays check detects players that perform various actions faster than is normally possible
delays:
enabled: true
vl:
mitigate: true
threshold: 1.1 # Default: (1.0)
max: 1.1
decay: 0.01
fast_break: true
fast_place: true
fast_use: true
fast_bow: true
# If you use Tuinity or any of its forks, this hack is blocked by the packet limiter
# Alternatively, if you use ViaVersion, you can use its packet limiter as well to patch regen hacks
# In 1.13+ regen hacks have limited effectiveness even WITHOUT this check
# It is disabled because it may be unstable
regen: false
fast_sneak: true
fast_release: true
break_delay: true
# The move check detects a wide range of modifications relating to movement, including timer, nofall and velocity.
move:
enabled: true
# move.vl represents an estimate of the total extra distance a player has travelled by cheating
vl:
mitigate: true # ENABLED BY DEFAULT
# Please disable mitigation if you want to auto-ban
threshold: 1.4 # Default: (1.0)
max: 1.4 # Default: (1.0)
decay: 0.01 # Default: (0.1)
# move.timer represents an estimate of the total time advantage a player has gained by cheating
timer:
mitigate: true # Default: (true)
threshold: 1.2 # Default: (1.0)
max: 1.2 # Default: (1.0)
decay: 0.01
# Phasing causes a player's vl to be increased more than normal violations
# This should be set to a value >= vl.threshold to always block phase attempts
phase_vl: 1.3 # Default: (1.0)
# AAC can transparently block nofall by replacing ground calculations from the client with its own calculations
block_nofall: true
# AAC will wait at most this long for a player to respond to velocity sent by the server
max_vel_time: 1.25 # Default: (1.0)
# This is how long AAC will remember piston extensions for
piston_wait_time: 1.3 # Default: (1.0)
# Enable/disable checking for noslowdown (sneak). Minor performance penalty if disabled
check_sneak: true
# Enable/disable checking for noslowdown (item use). Minor performance penalty if disabled
check_item_use: true
# Enable/disable movement checking for players with allow flight enabled.
check_flying: false
# These are thresholds that AAC uses in special cases where precise checking isn't possible
flowing_speed: 0.2
bubble_column_speed: 1.8
bumping_speed: 0.1
elytra_rocket_speed: 2.0
riptide_speed: 4.3 # Default: (4.2)
boat_hitbox_tolerance: 0.8 # Default: (0.6)
shulker_hitbox_tolerance: 0.6
elytra_landing_tolerance: 0.6 # Default: (0.5)
# The aimbot check detects aim modifications used to gain an advantage in combat, including aimassists and killauras.
aimbot:
enabled: true
check_sensitivity: true
check_mouse_delta: true
check_head_snap: true
check_pitch_spread: true
# The autoclicker check detects abnormal or irregular attack patterns characteristic of autoclickers and killauras.
autoclicker:
enabled: true
check_tick_delay: true
check_noswing: true
check_timing: true
sample_size: 20 # Default: (20)
# The hitbox check verifies that players look at the entities they hit, and that those entities are in range.
hitbox:
enabled: true
vl:
mitigate: false
threshold: 1.4 # Default: (1.0)
max: 1.4
decay: 0.01
lag_compensation_ticks: 40 # Default (20)
hit_queue_size: 4
check_blocks: true
# The interact check looks for players performing impossible or abnormal interactions with the world.
interact:
enabled: true
# AAC will accept interactions as long as the player is aiming close to their target block
# This is the max angle that AAC will accept (in radians)
max_angle_diff: 1.57 #This is approx 90 degrees
# AAC will not check interactions with these materials
exempt: []
vl:
mitigate: true
threshold: 1.3 # Default: (1.0)
max: 1.3
decay: 0.01 # Default: (0.01)
# The misc check looks for certain accurate indicators of cheating
misc:
enabled: true
invalid_pitch: true
player_abilities: true
rotation_rate: true
# Using the features above, AAC will periodically analyse players on the server and generate a risk score.
# Analysis results can be accessed for all players at once with '/aac status', or detailed reports can be generated
# for individual players with /aac status <player> [players...]
analysis:
# AAC analyses one player at a time, e.g. if your server has 50 players, they will each be analysed every 50 * period
# seconds. You can force AAC to analyse any particular player at any time with /aac check <player> [players...]
period: 1.0
history: 1
history_time_unit: DAYS # https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html
# Should AAC automatically clear database entries older than 'history' when the server starts?
clear_stale_entries: true
# At what score should a player's username be coloured yellow in /aac status?
yellow_score: 90
# At what score should a player's username be coloured red in /aac status?
red_score: 150
actions:
# This category accounts for a variety of combat hacks, so that if none of the other thresholds detect the hacker, this one likely will
combat:
features:
- aac_aimbot_*
- aac_aimassist_*
- aac_clk_*
- aac_hitbox_*
thresholds:
170: "conditionalcommands:cc %player_name% if (-ping-<93&-ping->0)&-tps->19.98 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CG | %server_tps_1% | %player_ping%]"
190: "conditionalcommands:cc %player_name% if (-ping-<136&-ping->0)&-tps->19.97 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CG | %server_tps_1% | %player_ping%]"
220: "conditionalcommands:cc %player_name% if -tps->19.5 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CG | %server_tps_1% | %player_ping%]"
click:
features:
- aac_clk_*
thresholds:
65: "conditionalcommands:cc %player_name% if (-ping-<58&-ping->0)&-tps->19.98 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CCLK | %server_tps_1% | %player_ping%]"
70: "conditionalcommands:cc %player_name% if (-ping-<89&-ping->0)&-tps->19.98 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CCLK | %server_tps_1% | %player_ping%]"
80: "conditionalcommands:cc %player_name% if (-ping-<136&-ping->0)&-tps->19.97 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CCLK | %server_tps_1% | %player_ping%]"
90: "conditionalcommands:cc %player_name% if -tps->18.5 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CCLK | %server_tps_1% | %player_ping%]"
hitbox:
features:
- aac_hitbox_*
thresholds:
130: "conditionalcommands:cc %player_name% if (-ping-<90&-ping->0)&-tps->19.98&-time_online->10000 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CHBX | %server_tps_1% | %player_ping%]"
140: "conditionalcommands:cc %player_name% if (-ping-<152&-ping->0)&-tps->19.97&-time_online->10000 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CHBX | %server_tps_1% | %player_ping%]"
150: "conditionalcommands:cc %player_name% if -tps->18.97&-time_online->10000 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CHBX | %server_tps_1% | %player_ping%]"
killaura:
features:
- aac_aimbot_spread
- aac_aimbot_sync
- aac_aimbot_horz
- aac_aimbot_vert
- aac_aimbot_snap
- aac_aimbot_zero
- aac_aimassist_horz
- aac_aimassist_vert
thresholds:
# If a player is lagging very badly, they will be kicked by this check with a fake error message commonly resulting from bad internet, but they will not be banned
115: "conditionalcommands:cc %player_name% if -ping->450|-tps-<19.97 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ minecraft:kick %player_name% Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host"
130: "conditionalcommands:cc %player_name% if (-ping-<152&-ping->0)&-tps->19.97&-time_online->10000 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CARA | %server_tps_1% | %player_ping%]"
150: "conditionalcommands:cc %player_name% if -tps->18.97&-time_online->10000 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [CHBX | %server_tps_1% | %player_ping%]"
# This category accounts for generic movement hacks that are mostly detected by this subcategory of the move check, featuring AAC5's predictive analysis
movementgeneric:
features:
- aac_move_generic
thresholds:
75: "conditionalcommands:cc %player_name% if (-ping-<76&-ping->0)&-tps->19.96&-time_online->10000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MGEN1 | %server_tps_1% | %player_ping%]"
95: "conditionalcommands:cc %player_name% if (-ping-<237&-ping->0)&-tps->19.8&-time_online->7500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MGEN2 | %server_tps_1% | %player_ping%]"
105: "conditionalcommands:cc %player_name% if (-ping-<380&-ping->0)&-tps->19.5&-time_online->7500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MGEN3 | %server_tps_1% | %player_ping%]"
115: "conditionalcommands:cc %player_name% if -tps->19.5&-time_online->7500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MGEN4 | %server_tps_1% | %player_ping%]"
125: "conditionalcommands:cc %player_name% if -time_online->7500&-tps->19.0&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MGEN5 | %server_tps_1% | %player_ping%]"
# This category accounts for hacks that allow a player to ignore slowdown effects of various actions in Minecraft, such as water, lava, cobwebs, shield blocking, etc.
noslowdown:
features:
- aac_move_noslow
- aac_move_water
- aac_move_lava
thresholds:
# If a player is lagging very badly, they will be kicked by this check with a fake error message commonly resulting from bad internet, but they will not be banned
40: "conditionalcommands:cc %player_name% if -ping->1025|-tps-<16.5 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ minecraft:kick %player_name% Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host"
# Real thresholds below
60: "conditionalcommands:cc %player_name% if (-ping-<128&-ping->0)&-tps->19.98&-time_online->1500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MNSD | %server_tps_1% | %player_ping%]"
80: "conditionalcommands:cc %player_name% if (-ping-<460&-ping->0)&-tps->19.9&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MNSD | %server_tps_1% | %player_ping%]"
90: "conditionalcommands:cc %player_name% if (-ping-<800&-ping->0)&-tps->19.5&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MNSD | %server_tps_1% | %player_ping%]"
100: "conditionalcommands:cc %player_name% if -tps->16.97&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MNSD | %server_tps_1% | %player_ping%]"
# This category features improved predictive analysis of a player's movement, detecting when the player ignores fall damage or spoofs ground
nofall:
features:
- aac_move_nofall
thresholds:
25: "conditionalcommands:cc %player_name% if (-ping-<156&-ping->0)&-tps->19.98&-time_online->20000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MNF | %server_tps_1% | %player_ping%]"
30: "conditionalcommands:cc %player_name% if (-ping-<300&-ping->0)&-tps->19.97&-time_online->15000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MNF | %server_tps_1% | %player_ping%]"
45: "conditionalcommands:cc %player_name% if -tps->18.97&-time_online->15000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MNF | %server_tps_1% | %player_ping%]"
# This category replaces the elytra specific movement checks from AAC4, featuring improved predictive analysis of a player's movement
elytra:
features:
- aac_move_elytra
thresholds:
# If a player is lagging very badly, they will be kicked by this check with a fake error message commonly resulting from bad internet, but they will not be banned
20: "conditionalcommands:cc %player_name% if -ping->1025|-tps-<16.5 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ minecraft:kick %player_name% Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host"
# Real thresholds below
60: "conditionalcommands:cc %player_name% if (-ping-<120&-ping->0)&-tps->19.95&-time_online->500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MELY | %server_tps_1% | %player_ping%]"
70: "conditionalcommands:cc %player_name% if (-ping-<220&-ping->0)&-tps->19.8&-time_online->500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MELY | %server_tps_1% | %player_ping%]"
85: "conditionalcommands:cc %player_name% if (-ping-<400&-ping->0)&-tps->19.8&-time_online->500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MELY | %server_tps_1% | %player_ping%]"
90: "conditionalcommands:cc %player_name% if -tps->18.5&-time_online->500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MELY | %server_tps_1% | %player_ping%]"
# This category detects if a player is attempting to speed up a ridable entity such as llamas, horses, etc.
vehicle:
features:
- aac_move_vehicle
thresholds:
70: "conditionalcommands:cc %player_name% if (-ping-<95&-ping->0)&-tps->19.98&-time_online->15000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVCL | %server_tps_1% | %player_ping%]"
90: "conditionalcommands:cc %player_name% if (-ping-<140&-ping->0)&-tps->19.96&-time_online->12500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVCL | %server_tps_1% | %player_ping%]"
130: "conditionalcommands:cc %player_name% if (-ping-<300&-ping->0)&-tps->19.8&-time_online->7500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVCL | %server_tps_1% | %player_ping%]"
140: "conditionalcommands:cc %player_name% if (-ping-<500&-ping->0)&-tps->19.5&-time_online->7500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVCL | %server_tps_1% | %player_ping%]"
155: "conditionalcommands:cc %player_name% if -tps->18.5&-time_online->5000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVCL | %server_tps_1% | %player_ping%]"
# By seperating the timer check threshold by itself, more precise and early detection of timer specific hacks will occur and result in quicker mitigation/bancommandplaceholder
timer:
features:
- aac_move_timer
thresholds:
# If a player is lagging very badly, they will be kicked by this check with a fake error message commonly resulting from bad internet, but they will not be banned
40: "conditionalcommands:cc %player_name% if -ping->1025|-tps-<16.5 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ minecraft:kick %player_name% Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host"
# Real thresholds below
125: "conditionalcommands:cc %player_name% if (-ping-<90&-ping->0)&-tps->19.98&-time_online->10000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /4/ bancommandplaceholder %player_name% [MTMR1 | %server_tps_1% | %player_ping%]"
140: "conditionalcommands:cc %player_name% if (-ping-<180&-ping->0)&-tps->19.95&-time_online->5000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /4/ bancommandplaceholder %player_name% [MTMR2 | %server_tps_1% | %player_ping%]"
160: "conditionalcommands:cc %player_name% if (-ping-<256&-ping->0)&-tps->19.93&-time_online->2500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /4/ bancommandplaceholder %player_name% [MTMR3 | %server_tps_1% | %player_ping%]"
180: "conditionalcommands:cc %player_name% if -tps->19.0&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /4/ bancommandplaceholder %player_name% [MTMR4 | %server_tps_1% | %player_ping%]"
# This category checks player velocity, featuring improved predictive analysis of a player's movement
# By seperating the velocity check threshold by itself, more precise and early detection of velocity specific hacks will occur and result in quicker mitigation/bancommandplaceholder
velocity:
features:
- aac_move_vel
thresholds:
90: "conditionalcommands:cc %player_name% if (-ping-<90&-ping->0)&-tps->19.98&-time_online->500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVEL | %server_tps_1% | %player_ping%]"
130: "conditionalcommands:cc %player_name% if (-ping-<135&-ping->0)&-tps->19.95&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVEL | %server_tps_1% | %player_ping%]"
150: "conditionalcommands:cc %player_name% if (-ping-<270&-ping->0)&-tps->18.5&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVEL | %server_tps_1% | %player_ping%]"
160: "conditionalcommands:cc %player_name% if -tps->18.5&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [MVEL | %server_tps_1% | %player_ping%]"
# This category replaces the velocity specific sneak spoofing checks from AAC4, featuring improved predictive analysis of a player's movement
# By seperating the sneak check threshold by itself, more precise and early detection of sneak related hacks will occur and result in quicker mitigation/bancommandplaceholder
sneak:
features:
- aac_delays_sneak
thresholds:
20: "conditionalcommands:cc %player_name% if (-ping-<97&-ping->0)&-tps->19.95&-time_online->500&-uptime->40 do /0/ aac status %player_name% /0/ bancommandplaceholder %player_name% [MSNK | %server_tps_1% | %player_ping%]"
30: "conditionalcommands:cc %player_name% if (-ping-<148&-ping->0)&-tps->19.90&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ bancommandplaceholder %player_name% [MSNK | %server_tps_1% | %player_ping%]"
40:
- "aac status %player_name%"
- "aac reset %player_name%"
- "bancommandplaceholder %player_name% [MSNK | %server_tps_1% | %player_ping%]"
# This category detects when a player is trying to gain an advantage in various actions such as block placement/breakage, eating, item usage, etc.
# Due to the check's instability, it does not auto-ban
delaysglobal:
features:
- aac_delays_*
thresholds:
# Make sure to set 'lag-compensate-block-breaking' to false if you are using Tuinity
80: "conditionalcommands:cc %player_name% if 1=1 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ minecraft:kick %player_name% Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host"
# This category detects if a player is interacting with blocks/surroundings in a unvanilla way
interact:
features:
- aac_interact_*
- aac_delays_sneak
- aac_delays_release
# AACAdditionPro checks below, you may ingnore if you do not have AACAdditionPro installed
- aacadditionpro_scaffold
thresholds:
87: "conditionalcommands:cc %player_name% if (-ping-<70&-ping->0)&-tps->19.98 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [IG | %server_tps_1% | %player_ping%]"
107: "conditionalcommands:cc %player_name% if (-ping-<156&-ping->0)&-tps->19.97 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [IG | %server_tps_1% | %player_ping%]"
120: "conditionalcommands:cc %player_name% if -tps->19.5 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [IG | %server_tps_1% | %player_ping%]"
# This category detects when clients send abnormal packets that are characteristic of a hacked client
# It increases 100VL, since you would have to be hacking to send such packets or trigger the detections
badpackets:
features:
- aac_misc_*
- aac_move_inf
# AACAdditionPro checks below, you may ignore if you do not have AACAdditionPro installed
# SET POSITION SPOOF CHECK UNDER PACKET ANALYSIS OFF IN THE AACADDITIONPRO CONFIG BECAUSE IT IS UNSTABLE
# Then, enable the packetanalysis check below:
#- aacadditionpro_packetanalysis
- aacadditionpro_skinblinker
thresholds:
20: "conditionalcommands:cc %player_name% if 1=1 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [IB | %server_tps_1% | %player_ping%]"
fastswitch:
features:
- aacadditionpro_fastswitch
thresholds:
90: "conditionalcommands:cc %player_name% if (-ping-<90&-ping->0)&-tps->19.98&-time_online->500&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [APFS | %server_tps_1% | %player_ping%]"
130: "conditionalcommands:cc %player_name% if (-ping-<135&-ping->0)&-tps->19.95&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [APFS | %server_tps_1% | %player_ping%]"
150: "conditionalcommands:cc %player_name% if (-ping-<270&-ping->0)&-tps->18.5&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [APFS | %server_tps_1% | %player_ping%]"
160: "conditionalcommands:cc %player_name% if -tps->18.5&-time_online->1000&-uptime->40 do /0/ aac status %player_name% /0/ aac reset %player_name% /0/ bancommandplaceholder %player_name% [APFS | %server_tps_1% | %player_ping%]"
# AAC compiles data from all of its checks and uses it to generate a set of weighted features for each player
# Each feature accepts certain placeholders. A list of valid placeholders can be found by hovering over each feature's
# tooltip. You can set the weight of any feature to 0 to disable it.
features:
aac_delays_break:
weight: 1.0
format: "Blocks are broken by the player faster than is normally possible"
aac_delays_place:
weight: 1.0
format: "Blocks are placed by the player faster than is normally possible"
aac_delays_consume:
weight: 1.0
format: "Items are consumed by the player faster than is normally possible"
aac_delays_bow:
weight: 1.0
format: "The player is drawing their bow faster than is normally possible"
aac_delays_regen:
weight: 1.0
format: "The player is regenerating health faster than is normally possible"
aac_delays_sneak:
weight: 1.0
format: "The player is toggling sneak faster than is normally possible"
aac_delays_release:
weight: 1.0
format: "The player is releasing their held item faster than is normally possible"
aac_delays_breakdelay:
weight: 1.0
format: "The delay between the player's block break actions is shorter than is normally possible"
aac_move_nofall:
weight: 3.0 # Default: (1.0)
format: "The player is trying to avoid fall damage"
aac_move_vel:
weight: 1.4 # Default: (1.0)
format: "The player ignores velocity sent by the server"
aac_move_elytra:
weight: 1.2 # Default: (1.0)
format: "The player has moved {rate} blocks/min incorrectly with the elytra"
aac_move_vehicle:
weight: 1.3 # Default: (1.0)
format: "The player has frequently moved incorrectly in a vehicle"
aac_move_water:
weight: 1.3 # Default: (1.0)
format: "The player has moved {rate} blocks/min incorrectly in water"
aac_move_lava:
weight: 1.3 # Default: (1.0)
format: "The player has moved {rate} blocks/min incorrectly in lava"
aac_move_noslow:
weight: 1.1 # Default: (1.0)
format: "The player has frequently ignored sneak/item slowdowns"
aac_move_generic:
weight: 1.0 # Default: (1.0)
format: "The player has moved {rate} blocks/min incorrectly"
aac_move_timer:
weight: 1.0 # Default: (1.0)
format: "The player is trying to speed up time"
aac_move_inf:
weight: 3.0 # Default: (1.0)
format: "The player is sending invalid movement packets"
aac_aimbot_spread:
weight: 1.2 # Default: (1.0)
format: "Player's pitch has varied in an unusual way during combat"
aac_aimbot_sync:
weight: 0.7 # Default: (1.0)
format: "Player's horizontal and vertical aiming patterns are out of sync"
aac_aimbot_horz:
weight: 0.7 # Default: (1.0)
format: "Player has exhibited yaw patterns characteristic of aimbot"
aac_aimbot_vert:
weight: 0.7 # Default: (1.0)
format: "Player has exhibited pitch patterns characteristic of aimbot"
aac_aimbot_snap:
weight: 1.4 # Default: (1.0)
format: "Player performs abnormal head snaps during combat"
aac_aimbot_zero:
weight: 1.2 # Default: (1.0)
format: "Player's aiming patterns change when they enter combat"
aac_aimassist_horz:
weight: 0.7 # Default: (1.0)
format: "Player has exhibited yaw patterns characteristic of aimassist"
aac_aimassist_vert:
weight: 0.7 # Default: (1.0)
format: "Player has exhibited pitch patterns characteristic of aimassist"
aac_clk_noswing:
weight: 1.7 # Default: (1.0)
format: "The player doesn't swing their arm while attacking"
aac_clk_tick_align:
weight: 1.0
format: "The player's arm animations are aligned with tick boundaries"
aac_clk_timing:
weight: 1.4 # Default: (1.0)
format: "The player's attack packet timings are characteristic of killaura"
aac_clk_cps:
weight: 0.7 # Default: (1.0)
format: "The player clicks at an average of {mean} cps during combat"
aac_clk_var:
weight: 1.0
format: "The player's delay between successive clicks has a variance of {mean}"
aac_hitbox_multi:
weight: 0.8 # Default: (1.0)
format: "The player has attacked extra times in a single tick"
aac_hitbox_miss:
weight: 1.3 # Default: (1.0)
format: "The player attacks entities without looking at them"
aac_hitbox_walls:
weight: 1.8 # Default: (1.0)
format: "The player attacks entities through solid walls"
aac_hitbox_reach:
weight: 1.0 # Default: (1.0)
format: "The player attacks {value} blocks further than normal"
aac_interact_generic:
weight: 1.2 # Default: (1.0)
format: "The player interacts suspiciously with blocks"
aac_interact_break:
weight: 1.0 # Default: (1.0)
format: "The player breaks blocks out of their line of sight"
aac_interact_place:
weight: 1.3 # Default: (1.0)
format: "The player places blocks out of their line of sight"
aac_misc_abilities:
weight: 3.0 # Default: (1.0)
format: "The player has sent invalid player ability packets"
aac_misc_pitch:
weight: 3.0 # Default: (1.0)
format: "The player has sent invalid rotation pitch packets"
aac_misc_rotation:
weight: 3.0 # Default: (1.0)
format: "The player is rotating too quickly"
aac_new_user:
weight: 1.0
format: "The player recently joined for the first time"
aac_new_addr:
weight: 1.0
format: "The player recently joined from a new ip address"
aac_info_move:
weight: 1.0
format: "Insufficient data to analyse the player's movement"
aac_info_combat:
weight: 1.0
format: "Insufficient data to analyse the player's combat"
aac_info_interact:
weight: 1.0
format: "Insufficient data to analyse the player's interactions"
# AAC will run the following commands from the CONSOLE before teleporting a staff member to a player
pre_spectate:
# - "aac sudo %player_name% vanish on" # /aac sudo <player> <command> executes <command> as <player>
- "gamemode spectator %player_name%"
# AAC will run the following commands from the CONSOLE after teleporting a staff member back
post_spectate:
# - "aac sudo %player_name% vanish off"
- "gamemode creative %player_name%"
# Can be any valid minecraft colour code, e.g. a corresponds to green
aac_prefix_colour: d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment