Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
ModMC AntiCheat
Defending Servers (still in dev)
ModMC AntiCheat is a high-performance, version compatible anti-cheat solution, designed to secure your community while having minimal impact on your server. Built from the ground up on the PacketEvents API, ModMC AntiCheat detects modern hack clients by inspecting packets sent over the network. By focusing on performance and mathematical calculations, ModMC AntiCheat strives to offer the best balance between quick detection of malicious activity while preserving the player experience entirely, and is available for all versions of Spigot, Paper and Purpur since 1.8 up to 1.21.3.
Why use this?
No dependencies : ModMC AntiCheat comes with all dependencies shaded in, so there is no need to include any extra JAR files when installing. Discord Integration
: Alerts and punishments are sent to your discord webhook, acting as a log for your moderation team. In-game monitoring : By typing /modac monitor you can view a live stream of violation flags in your chat. Built-in async SQLite logging : Want to lookup a user's history days later? No problem. All database queries run async, so as not to impact the main server thread. Extremely customizable : Want to ban rather than kick? Need to adjust some thresholds? All of that is possible by editing the config.
What checks does it include?
There are currently 16 tuned and optimized checks included with ModMC AntiCheat, to combat the most common forms of client hacks.
Movement
Speed : Detects various forms of movement speed hacks, including bunny hopping, speed potions, and ice-sprinting. Fly : Measures how long a player is airborne or hovering unnaturally to detect packet fly exploits. NoFall : Prevents spoofing of being on the ground to bypass falling damage. Jesus : Checks collision boxes against nearby liquids to detect water and lava walking. ElytraFly : Prevents infinite flight and excessive firework boosting with elytra wings. NoSlow : Detects attempts to retain sprinting speed while eating, blocking, or aiming.
Combat
Reach : Uses precise 3D raycasting to detect when players hit their targets from an impossible distance. KillAura
: Analyzes attack angles and patterns to detect automation. AutoClicker : Uses standard deviation to find abnormal packet timing patterns. Velocity : Prevents abuse of the setVelocity packet to negate knockback. Crits : Detects packets with impossible movement to fake critical hits.
Player & World
Timer : Prevents clients from speeding up their internal timer to achieve packets per tick higher than 20. Bad Packets : Blocks invalid packets and packet sequences that could crash the server. Inventory : Prevents access to inventory while sprinting or performing actions that require the inventory to be closed. Scaffold : Detects and penalizes abnormal block placement used for building. FastBreak : Calculates how fast a block can be broken based on its hardness and the tools enchantments and detects any form of SpeedMine or Nuker hacks.
Commands
The following commands are available to anyone with the correct permission nodes.
Command Perm Node Description /modac alerts modac.alerts Enables and disables live alerts /modac verbose modac.verbose Enables verbose logging, for debugging purposes /modac notify modac.alerts Gives a summary of a player's current stats and violations /modac monitor modac.alerts Lets you view all of the flags that a player is getting in real time /modac history modac.info Lets you view a player's history from the database /modac top modac.alerts Lets you view the top 10 most suspicious online players /modac status modac.alerts Shows the status of the plugin, database connection, and webhook /modac kick modac.punish Kicks a player, and notifies Discord and your staff /modac ban modac.punish Bans a player, and notifies Discord and your staff /modac reload modac.reload Reloads the configuration /modac testwebhook modac.reload Sends a test ping to your discord webhook
Support and Bugs
Found a bug, or have suggestions for new checks to implement? Please make sure to open an issue here: hello97-gg/modac#issues
All contributions are welcome, and the source code is available on GitHub. This project is licensed under the GNU General Public License v3.0.


