Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### 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
- # 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: -1 # 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:
- 30: 'matrix notify %player% might be using KillAura'
- 40: 'matrix notify %player% is 100% using KillAura'
- 45: 'matrix kick %player% KillAura'
- 50: 'matrix tempban %player% 20D KillAura Hacks'
- ## 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: 7.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'
- 15: 'matrix notify %player% tried to reach entity outside max reach distance'
- 20: 'matrix kick %player% Reach/Hitbox Hacks'
- 25: 'matix tempban %player% 10D 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'
- 90: 'matrix notify %player% tried to move faster'
- 150: 'matrix kick %player% Speed'
- 200: 'matrix tempban %player% 30D 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:
- 55: 'matrix notify %player% tried to fly'
- 90: 'matrix notify %player% tried to fly'
- 150: 'matrix kick %player% Fly'
- 200: 'matrix tempban %player% 30D Fly 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: 25
- # 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: 1000
- # 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'
- 150: 'matrix notify %player% is sending unusual packets to server'
- 240: 'matrix kick %player% Sending Unusual Packets'
- 300: 'matrix tempban %player% 5D 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'
- 12: 'matrix kick %player% FastUse Hacks'
- 20: 'matrix tempban %player% 10D 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'
- 12: 'matrix kick %player% FastBow Hacks'
- 20: 'matrix tempban %player% 10D 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'
- 20: 'matrix kick %player% FastHeal Hacks'
- 30: 'matrix tempban %player% 10D 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'
- 20: 'matrix kick %player% FastPlace/FastBreak Hacks'
- 30: 'matrix tempban %player% 15D 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'
- 10: 'matrix notify %player% tried to bride blocks quickly'
- 20: 'matrix kick %player% Scaffold/Tower Hacks'
- 25: 'matrix tempban %player% 10D Scaffold/Tower Hacks'
- ## 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'
- 25: 'matrix kick %player% Jesus/WaterSpeed/WaterFly Hacks'
- 30: 'matrix tempban %player% 10D 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'
- 20: 'matrix kick %player% ChestSteal/Inventory Hacks'
- 30: 'matrix tempban %player% 5D 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'
- 15: 'matrix notify %player% tried to ignore server velocity'
- 20: 'matrix kick %player% Velocity/Anti-Knockback'
- 25: 'matrix tempban %player% 10D Velocity/Anti-Knockback'
- ## Spam
- # Check prevents a player from spamming messages in the servers chat.
- chat:
- # Enable this check?
- enable: true
- # Minimum amount of time between messages (Seconds)
- min_time: 2
- # 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'
- 10: 'matrix kick %player% Spamming 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'
- 15: 'matrix kick %player% Illegally Interacting with Block/Entity'
- 20: 'matrix tempban %player% 5D Illegally Interacting with Block/Entity'
- ## AutoFish
- # Check prevents the player from using an Auto-Fishing mod or hack.
- autofish:
- # Enable this check?
- enable: true
- # Violation Thresholds
- # number_of_violations: '<command>'
- commands:
- 6: 'matrix notify %player% is using auto fish'
- 15: 'matrix kick %player% Auto Fishing Hacks'
- 20: 'matrix tempban %player% 5D Auto Fishing Hacks'
- ## 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'
- 10: 'matrix kick %player% phasing into blocks'
- 15: 'matrix tempban %player% 5D phasing into blocks'
- ## AutoBot
- # Check prevents player use some Bot mods like Baritone
- autobot:
- # Enable this check?
- enable: true
- # Violation Thresholds
- # number_of_violations: '<command>'
- commands:
- 5: 'matrix notify %player% suspected use of automatic robots'
- 15: 'matrix kick %player% Auto-Bot'
- 20: 'matrix tempban %player% 5D 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'
- 30: 'matrix kick %player% Elytra Flight'
- 40: 'matrix tempban %player% 5D Elytra Flight Hacks'
- ## 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:
- - ''
- # 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'
- 15: 'matrix kick %player% Suspicious vehicle movement'
- 20: 'matrix tempban %player% 5D Suspicious vehicle movement'
- ## XRay
- # Prevents player using XRay hacks by analysing player's behavior
- # (not analyse/limit the ore amount)
- # It might cause server lag if your server have many players
- xray:
- # Enable this check?
- enable: true
- # Credibility threshold
- credibility_threshold: 80.0
- # Credibility cache size
- # Larger size -> detect slower, but less false positives
- cache_size: 2
- # Violation Weight
- vl_weight: 5
- # Violation Thresholds
- # number_of_violations: '<command>'
- commands:
- 5: 'matrix notify %player% suspected using X-Ray'
- 12: 'matrix kick %player% X-Ray Hacks'
- 15: 'matrix tempban %player% X-RAY Hacks'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement