Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Creators
Details
Licensed ARR
Published 3 months ago
Updated 3 months ago
AntiFreecam 🛡️✨
AntiFreecam is a lightweight Minecraft plugin that only blocks player interactions while they are in a Freecam / spectator-like state works fine with viaversion and viabackwards
It prevents actions such as:
- Opening chests 🗄️
- Placing blocks 🧱
- Breaking blocks ⛏️
It does not block:
- Movement 🚶♂️
- Chat 💬
- Looking around 👀
- Flying ✈️
- Other non-interactive actions
⚙️ Goal
- Stop griefing caused by Freecam/spectator tools by only disabling interactions with the world.
- Keep the plugin minimal and low-impact — no teleport, movement, or chat blocking.
✅ Features
-
Blocks:
- Block placement (
BlockPlaceEvent) ➕ - Block breaking (
BlockBreakEvent) ⛏️ - Interactions (
PlayerInteractEvent) such as doors, levers, buttons 🔒
- Block placement (
-
Permission-based bypass for admins 👑
-
Low performance impact — just a few event listeners
📂 Example config.yml
# AntiFreecam Configuration
# Author: tino964
# Radius in blocks (default: 18)
radius: 18
# Enable debug messages (default: false)
debug: false
# Bypass permission (default: antifreecam.bypass)
bypass-permission: "antifreecam.bypass"
# Message when action is blocked
block-message: "&cYou cannot interact with blocks outside the allowed radius!"
# Enable/disable specific checks
enable-block-place-check: true
enable-block-break-check: true
enable-interaction-check: true
🔐 Permissions
antifreecam.bypass— Bypass blocking (admins)antifreecam.reload— Reload configuration
🧭 Commands
/antifreecam reload— Reload config/antifreecam— Show plugin info



