## ✨ New
- **Two-layer underground detection system** — replaces the old single raycast zone
with a cleaner, more reliable two-layer approach:
- **Layer 1 – Hard floor** (`deep-deactivation-y`, default Y=20): if a player's
feet are below this Y, protection is unconditionally OFF. No raycast, no
exceptions. Fixes the Y=16 void bug and trial chamber weirdness entirely.
- **Layer 2 – Raycast zone** (between `deep-deactivation-y` and `surface-y`):
two sub-checks decide whether to arm protection — camera angle (looking upward)
and sky visibility (open ceiling above). Both must be false to stay unprotected.
- **Update checker** — on startup, the plugin checks Modrinth for a newer version.
If one exists, a banner is printed to console and any online admins
(`fpantifreecam.admin`) are notified. New admins are also notified on join.
Toggle via `settings.update-checker: true/false`.
## ⚙️ Config
- Added `protection.deep-deactivation-y: 20.0` — the absolute Y floor below which
protection is always off.
- Added `settings.update-checker: true` — toggle the update checker.
- Removed `protection.raycast.zone` — replaced by `deep-deactivation-y`.
- Existing configs are automatically migrated on first load (no manual edits needed).
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }