Panda Anti-Exploit
A Fabric server modification that instantly blocks common types of cheating in combat, interactions, and network packets. Works excellently alongside other anti-cheats like GrimAC. Also solves a common Anti-Xray issue where players can hit blocks in freecam mode to detect ores.
Key Features
Combat Checks: Protection against hitting through walls, control over excessive attack range, and hit angle validation.
Player Actions: Restricting activity for dead players, filtering sign text, validating book updates, and preventing various entity interaction exploits.
Block Interaction: Management of block placement and destruction rules, including air placement checks, distance, angles, and preventing interaction through walls. Also includes control over long-range block breaking and usage.
Network Packets: Enhanced client-server data exchange protection by removing confidential information from packets. This includes removing teleportation data for entities outside view, hiding health and equipment information, cleaning up dropped item tags (preserving visual effects and stack size), and masking sound coordinates to prevent location detection.
Configuration
Configuration file config/PandaAntiExploit.json is created automatically at startup.
Reload settings during runtime: /panda-anti-exploit reloadConfig
{
"doLogging": false,
"combat": {
"preventWallHit": true,
"checkHitDistance": true,
"checkHitAngle": true,
"fixAttributeSwap": true // Fixing attribute swap exploit
},
"player": {
"preventDeadPlayerActions": true,
"sanitizeSignText": true,
"validateBookUpdates": true
},
"blockPlacement": {
"preventAirPlacement": true,
"checkPlacementDistance": true,
"preventThroughBlockPlacement": true,
"checkPlacementAngle": true,
"preventLongRangeBlockBreaking": true,
"preventLongRangeBlockUsage": true
},
"packet": {
"removeTeleportData": true, // Removing other players' teleportation data from packets
"removeHealthTags": true, // Removing other players' health information
"removeHealthTagsFromMobs": true,
"removeEquipmentTags": true, // Removing additional information from equipment (enchantments and more)
"removeDroppedItemTags": true, // Removing additional information from dropped items (enchantments and more)
"patchSoundExploits": true, // Masking global sound origins to complicate triangulation
"patchSoundExploitsStrict": true, // Playing global sounds from the same block as the player, making triangulation impossible
"preventBlockBreakExploits": true, // Preventing Anti-Xray bypass
"capNetherViewDistance": true, // Limiting Nether view distance to standard fog
"capNetherViewDistanceBuffer": false // Additional 1-chunk buffer for unstable connections
}
}
GrimAC Compatibility
GrimAC doesn't properly cancel START_DESTROY_BLOCK packets and has weak placement/destruction checks. To prevent it from interfering with this mod's Anti-Xray fix, go to config/GrimAC/punishments.yml and comment out Break/Place checks:
Misc:
remove-violations-after: 300
checks:
- "Vehicle"
- "NoSlow"
- "Sprint"
- "MultiActions"
#- "Place"
- "Baritone"
#- "Break"