NOTE: Please refer to the documentation before asking for support on the Discord Server.
(Buyers must verify their purchase to gain access to support)
AntiFreecam – Anti-Freecam & Anti-ESP Protection
Protect your server from players using Freecam, ESP, and underground vision cheats with a lightweight, packet-based solution. AntiFreecam masks underground terrain from surface players while keeping legitimate gameplay completely vanilla.No client mods are required—everything runs server-side using PacketEvents.
Features
Protection Includes
How It Works
AntiFreecam intercepts outgoing chunk packets before they reach the player.When a player is above the configured Y-level, every block below the protection threshold is replaced with harmless stone. As soon as the player legitimately travels underground, nearby chunks are automatically restored so mining and exploration remain completely natural.
When the player returns to the surface, the underground is instantly hidden again.
Everything happens server-side with no client modifications required.
Customization
Every aspect of the plugin can be customized through the configuration.Configure:
Perfect For
Installation
Commands
Permissions
Why Do Players See Invisible Walls After Using Freecam?
This is not a bug—it is part of the protection system.Since the server only reveals underground terrain around a player's real location, any area viewed only through Freecam remains masked. Players may see caves or ores with Freecam, but those blocks are never actually sent by the server.
To refresh those chunks, players simply need to:
• Move far enough away for the chunks to unload and return normally.
• Reconnect to the server.
Once refreshed, the correct terrain will be displayed automatically.
Requirements & Compatibility
| Requirement | Details |
|---|---|
| Server | Paper 1.21.x or Purpur |
| Java | Java 21+ |
| Dependency | packetevents 2.7.0+ — required for packet interception and modification. The plugin will not load without packetevents. |
Thank You
Thank you for checking out AntiFreecam!If you have any questions, suggestions, or need assistance with setup, feel free to join our Discord server. We're always happy to help!
