Created
December 16, 2019 08:12
-
-
Save NicoNekoDev/81350c3d873dd6775d0be142a4546408 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### MATRIX CONFIG FILE | |
# MATRIX ANTI CHEAT | |
# file: checks.yml | Customize each checks here | |
# | |
# Useful Links: | |
# 1. Issue Tracker: https://github.com/jiangdashao/Matrix-Issues/issues | |
# 2. SpigotMC Overview Page: https://www.spigotmc.org/resources/64635/ | |
# 3. bStats: https://bstats.org/plugin/bukkit/Matrix | |
# 4. Discord Group: https://discord.gg/pEvY55J | |
# | |
# Contributors: | |
# Performance#1955: Report a lot of bugs and manage the Github issue tracker | |
# Zak#6435 & Alex#2237: Provide the test server and report some bugs | |
# Kruize#9138 & VariationTime#2942: Report a lot of bugs and test in the production environment | |
# | |
# Thanks for using Matrix! <3 | |
## KillAura | |
# Prevents the player from using the KillAura/AimBot hack | |
killaura: | |
# Enable KillAura check? | |
enable: true | |
# Violation Level Weights of each modules | |
# Set to -1 = disable that module. | |
# Note: some modules are only work for Premium | |
# Users, such as "pitch.T1" or aimassist check | |
vl_weights: | |
accuracy: 100 | |
aimassist: 10 | |
pitch: 5 | |
post: 1 | |
dead: 3 | |
npc: 5 | |
machine_learning: 10 | |
noswing: 4 | |
sprint: 5 | |
super_kb: 20 | |
yaw: 5 | |
angle: 8 | |
style: 10 | |
critical: 5 | |
clickaimbot: 5 | |
# Combined check settings | |
# This check can combine all killaura & hitbox checks to | |
# determine if the player is cheating. Note: This check | |
# only work for premium users | |
combine: | |
enable: true | |
vl_weights: | |
P1: 40 | |
P2: 30 | |
P3: 15 | |
P4: 15 | |
P5: 35 | |
P6: 50 | |
P7: 15 | |
P8: 20 | |
P9: 20 | |
# Autoclicker check setting | |
# Prevent player use AutoClicker cheat | |
autoclicker: | |
max_cps: 24 # Player can click 24 times per second if they jitter clicking | |
vl_weights: | |
cps: 5 | |
delay: 5 # This module might cause some false flags when player jitter clicking, disable it if you want (-1) | |
cps_long: 5 | |
external: 10 | |
# Advanced Settings, you can customize some values for some | |
# checks here. If you don't know what is it, don't change | |
# anything! | |
settings: | |
# Settings for the Machine Learning checks | |
machine_learning: | |
# Format: - '#XXX'. For example: - '#66' | |
disable_patterns: {} | |
# The duration of data collection, the longer the time, the slower the detection, but the more accurate (unit: milliseconds, default: 7000) | |
collect_data_duration: 7000 | |
# Data set availability threshold, if the collected data set is below | |
# the threshold, discard the data set without analysis | |
availability_threshold: | |
hits: 3 # In the dataset, the player must attack the entity 3 times. | |
clicks: 30 # In the dataset, the player must click the mouse 30 times | |
rotations: 90 # In the dataset, the player must rotate the head 90 times | |
# Settings for the NPC/ForceField check | |
npc: | |
async: true | |
real_entity_id: true | |
only_command_trigger: false | |
visible: true | |
check_ticks: | |
base: 100 | |
attack_add: 20 | |
hit_bot_add: 50 | |
movement: | |
distance_base: 3.2 | |
distance_random_size: 0.75 | |
distance_attack_base: 3.0 | |
move_up_after_attack: false | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
20: 'matrix notify %player% might be using combat hacks (KillAura)' | |
35: 'matrix notify %player% is using combat hacks (KillAura) #2' | |
45: 'matrix kick %player% KillAura' | |
## HitBox | |
# Description: This check prevents players from using HitBox, Angle, Reach hacks. | |
# Note: This check is strict ONLY when you attack other PLAYERS, but it's very loose | |
# when you attack non-player creatures. So, if you find that you can use HixBox | |
# hack on non-player creatures, it's very normal, don't report it. | |
hitbox: | |
# Enable HitBox check? | |
enable: true | |
# Player HitBox Size | |
hitbox: | |
width: 0.45 | |
height: 2.0 | |
# Maximum reach distance | |
max_reach: 3.2 | |
# Force cancellation attack distance | |
# Don't set it lower than 6.0 if your server has Combo Hit mode! | |
force_cancel_distance: 6.0 | |
# Violation Weight | |
vl_weight: | |
reach: 3 | |
direction: 4 | |
# Violations needed to cancel illegal hits (-1 = never cancel) | |
cancel_vl: 6 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
10: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox)' | |
15: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox) #2' | |
24: 'matrix kick %player% Reach/HitBox Hacks' | |
## Movement Speed Check | |
# This checks how fast a player moves, and prevents the player from moving too fast. | |
speed: | |
# Enable this check? | |
# Warning: Will also disable | |
# flight detection. | |
enable: true | |
# Violations needed to cancel illegal movements (-1 = never cancel) | |
cancel_vl: 30 | |
# Enable sprint direction check? | |
sprint_direction: true | |
# Enable strafe check? | |
strafe: true | |
# Enable FastClimb/FastLadder check? | |
fastclimb: true | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
55: 'matrix notify %player% tried to move faster than usual (Speed) #1' | |
90: 'matrix notify %player% tried to move faster than usual (Speed) #2' | |
220: 'matrix kick %player% Speed Hacks' | |
## Fly | |
# Prevents the player from using both vanilla and non-vanilla fly hacks. | |
fly: | |
# Enable this check? | |
# Warning: Speed check must also be enabled. | |
enable: true | |
# Violations needed to cancel illegal movements (-1 = never cancel) | |
cancel_vl: 50 | |
# Fly ability check | |
# It might be not compatible with some plugins, test it by yourself | |
ability: | |
enable: true | |
vl_weight: 20 | |
# Strict Glide check | |
strict_glide: | |
# Enable strict glide check? | |
enable: true | |
# Falling distance and expectation deserve maximum deviation | |
# If difference lager than this value, the player will be flagged | |
max_diff: 0.5 | |
# NoFall check | |
nofall: | |
# Force deal damage after setback? | |
damage: true | |
# Setback method (back/ground) | |
# back: teleport the player to the last legit location | |
# ground: teleport the player to the ground under the player | |
setback: back | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
50: 'matrix notify %player% tried to fly (Fly) #1' | |
100: 'matrix notify %player% tried to fly (Fly) #2' | |
180: 'matrix kick %player% Fly Related Hacks' | |
## BadPackets | |
# Prevents player from sending too many movement packets or sending illegal packets | |
badpackets: | |
# Enable this check? | |
enable: true | |
# Buffer Size (ticks) | |
# The larger the value, the slower the detection, but the more stable | |
# Don't set it lower than 10 | |
buffer_size: 20 | |
# Freeze time (millisecond, 1second=1000 millisecond) | |
# The time to freeze player if they try to send too | |
# many moving packets at the same time | |
freeze_time: 500 | |
# How many extra packets can the player send? | |
max_extra_packets: 15 | |
# Violation weight | |
vl_weights: | |
limit: 10 | |
timer: 10 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
100: 'matrix notify %player% is sending unusual packets to server (BadPackets) #1' | |
150: 'matrix notify %player% is sending unusual packets to server (BadPackets) #2' | |
240: 'matrix kick %player% Sending Unusual Packets' | |
## FastUse | |
# Check prevents player from eating or using an item too quickly. | |
fastuse: | |
# Enable this check? | |
enable: true | |
# Violations needed to cancel illegal item use (-1 = never cancel) | |
cancel_vl: 5 | |
# Violation weight | |
vl_weight: 1 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
5: 'matrix notify %player% tried to use an item faster than usual (FastUse)' | |
12: 'matrix kick %player% FastUse Hacks' | |
## FastBow | |
# Check prevents player from shooting a bow too quickly. | |
fastbow: | |
# Enable this check? | |
enable: true | |
# Violations needed to cancel illegal bow use (-1 = never cancel) | |
cancel_vl: 7 | |
# Violation Weight | |
vl_weight: 1 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
5: 'matrix notify %player% is trying to shoot a bow too quickly (FastBow)' | |
15: 'matrix kick %player% FastBow Hacks' | |
## FastHeal | |
# Check prevents player from regaining health too quickly. | |
fastheal: | |
# Enable this check? | |
enable: true | |
# Violation Weight | |
vl_weight: 2 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
10: 'matrix notify %player% tried to regain health too quickly (FastHeal)' | |
20: 'matrix kick %player% FastHeal Hacks' | |
## Block | |
# Check prevents the player from breaking, placing block quickly | |
block: | |
# Enable this check? | |
enable: true | |
# Violations needed to cancel illegal breaking/placing of blocks (-1 = never cancel) | |
cancel_vl: 5 | |
# Modules List | |
# You can turn off some modules here | |
modules: | |
# It can detect player breaking block faster | |
fastbreak: | |
enable: true | |
vl_weight: 4 | |
# It can detect player placing block faster | |
fastplace: | |
enable: true | |
vl_weight: 1 | |
max_place_per_second: 9 | |
# It can detect player placing block without swing hand | |
noswing: | |
enable: true | |
vl_weight: 1 | |
# detect player not send abort breaking packet | |
abort: | |
enable: true | |
vl_weight: 0 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
10: 'matrix notify %player% tried to place/break a block too quickly (FastPlace/FastBreak)' | |
20: 'matrix kick %player% FastPlace/FastBreak Hacks' | |
## Scaffold check | |
# Check prevents player bridging blocks or towering up faster than normal speed | |
scaffold: | |
# Enable this check | |
enable: true | |
# Cancel VL | |
cancel_vl: 15 | |
# Modules | |
modules: | |
# It can detect player bridging faster | |
scaffold: | |
enable: true | |
vl_weights: | |
safewalk: 4 | |
expand: 3 | |
limit: 1 | |
head: 5 | |
simple: 3 | |
direction: 4 | |
# It can detect player towering up faster | |
tower: | |
enable: true | |
vl_weight: 2 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
7: 'matrix notify %player% tried to bride blocks quickly (Scaffold)' | |
15: 'matrix notify %player% tried to bride blocks quickly (Scaffold) #2' | |
24: 'matrix kick %player% Scaffold/Tower' | |
## Jesus | |
# Check prevents the player from moving too too quickly in liquids, or walking on liquid. | |
jesus: | |
# Enable this check? | |
enable: true | |
# Violations needed to cancel illegal movements (-1 = never cancel) | |
cancel_vl: 15 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
15: 'matrix notify %player% tried to move illegally in liquid (Jesus)' | |
25: 'matrix kick %player% Jesus/WaterSpeed/WaterFly Hacks' | |
## Inventory | |
# Check prevents the player from using illegal inventory modifications such as Steal. | |
# Also prevents quick inventory movement hacks. | |
inventory: | |
# Enable this check? | |
enable: true | |
# Violations needed to cancel illegal movements of items (-1 = never cancel) | |
cancel_vl: 10 | |
# Enable ChestStealer check? | |
# It can detect player taking items out of chest faster | |
chest_stealer: true | |
# Ignore items/inventory which has colorful name | |
# This feature can prevent false positive when you | |
# click some GUI such as the Bedwars Shop | |
ignore_color: false | |
# Disable InventoryMove check | |
# If you don't need InventoryMove check, you can set this to 'true' to disable it | |
# This option ONLY works for 1.12/1.13/+ server | |
disable_invmove: false | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
10: 'matrix notify %player% moved items in inventory too quickly (ChestSteal)' | |
20: 'matrix kick %player% ChestSteal/Inventory Hacks' | |
## Velocity | |
# Check prevents the player from using any type of anti-knockback hacks. | |
velocity: | |
# Enable this check? | |
enable: true | |
# The time to wait for players to respond to velocity (ticks) | |
# If the player does not respond to velocity after that | |
# time, the player will be detected. | |
wait_time: 20 | |
# Ignore lag player, this feature can ignore the player who | |
# is lagging or changing resource pack. | |
ignore_lag: true | |
# Violation Weights | |
# -1 = disable that module | |
vl_weights: | |
P1: 10 | |
P2: 5 | |
P3: 7 | |
P4: 4 | |
P5: 4 | |
P6: 2 | |
P7: 3 | |
P8: 2 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
10: 'matrix notify %player% tried to ignore server velocity (Velocity)' | |
15: 'matrix notify %player% tried to ignore server velocity (Velocity) #2' | |
20: 'matrix kick %player% Velocity/Anti-Knockback' | |
## Spam | |
# Check prevents a player from spamming messages in the servers chat. | |
chat: | |
# Enable this check? | |
enable: false | |
# Minimum amount of time between messages (Seconds) | |
min_time: 3 | |
# Violations needed to cancel sent messages (-1 = never cancel) | |
cancel_vl: 3 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
4: 'matrix notify %player% is spamming the chat (ChatSpam)' | |
10: 'matrix kick %player% Stop spamming the chat!' | |
## Interact | |
# Check prevents the player from illegally interacting with entities and blocks. | |
interact: | |
# Enable this check? | |
enable: true | |
# Modules List | |
modules: | |
# It can detect player breaking blocks through walls | |
break_block: | |
enable: true | |
vl_weight: 1 | |
# It can detect player attacking other entities through walls | |
attack: | |
enable: true | |
vl_weight: 1 | |
# It can detect player interacting blocks too far away | |
block_reach: | |
enable: true | |
vl_weight: 1 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
10: 'matrix notify %player% tried to illegally interact with Entity/Block (Interact)' | |
15: 'matrix kick %player% Illegally Interacting with Block/Entity' | |
## AutoFish | |
# Check prevents the player from using an Auto-Fishing mod or hack. | |
autofish: | |
# Enable this check? | |
enable: false | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
6: 'matrix notify %player% is using auto fish (AutoFish)' | |
15: 'matrix kick %player% No Auto Fishing!' | |
## Phase | |
# Check prevents the player people glitching through blocks. | |
phase: | |
# Enable this check? | |
enable: true | |
# Which type of block should be exempt from phase checking? | |
# If you find any false positive, you can add that block type into it | |
# For example: | |
# exclude_types: | |
# - 'AIR' | |
exclude_types: {} | |
# Cancel malicious movements | |
setback: true | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
5: 'matrix notify %player% is phase into block (Phase)' | |
10: 'matrix notify %player% is phase into block (Phase) #2' | |
## AutoBot | |
# Check prevents player use some Bot mods like Baritone | |
autobot: | |
# Enable this check? | |
enable: false | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
5: 'matrix notify %player% suspected use of automatic robots (AutoBot)' | |
10: 'matrix notify %player% suspected use of automatic robots (AutoBot) #2' | |
15: 'matrix kick %player% Auto-Bot' | |
## Elytra | |
# Checks prevents player using Elytra+, ElytraFlight, etc | |
# Only works for 1.9+ | |
elytra: | |
# Enable this check? | |
enable: true | |
# Setback violation level (-1 = never setback) | |
setback_vl: 5 | |
# unequip elytra VL | |
# If player reached this VL, Matrix will make it out of the gliding state (-1 = disable this feature) | |
unequip_vl: 20 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
10: 'matrix notify %player% suspected using elytra flight (Elytra)' | |
20: 'matrix notify %player% suspected using elytra flight (Elytra) #2' | |
40: 'matrix kick %player% Elytra Flight' | |
## Vehicle | |
# Checks prevents player using VehicleFlight, VehicleSpeed, EntitySpeed.. | |
# Only works for 1.9+ | |
vehicle: | |
# Enable this check? | |
enable: true | |
# Prevent players from using certain creatures as vehicles | |
# All entity types: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html | |
deny_entity_types_as_vehicle: | |
- 'LLAMA' | |
# Vehicle Speed/ Entity Speed | |
speed: | |
# Enable this modules? | |
enable: true | |
# setback VL (-1 = disable setback) | |
setback_vl: 2 | |
# Vehicle Flight / Boat Flight | |
flight: | |
# Enable this modules? | |
enable: true | |
# setback vl (-1 = never setback) | |
setback_vl: 4 | |
# leave vehicle vl (-1 = never leave vehicle) | |
leave_vehicle: 10 | |
# Violation Thresholds | |
# number_of_violations: '<command>' | |
commands: | |
5: 'matrix notify %player% suspected using vehicle cheat (Vehicle)' | |
10: 'matrix notify %player% suspected using vehicle cheat (Vehicle) #2' | |
17: 'matrix kick %player% Suspicious vehicle movement' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment