
AntiLavaCast
Prevents high altitude lava placement to stop lava casting on Paper 1.21.x. Uses CoreProtect history (when available) to detect player-placed blocks.
- Загрузки
- 254
- Подписчики
- 3
- Обновлён
- 26 апреля 2026 г.
- Лицензия
- AGPL-3.0-only
Опубликован 6 января 2026 г.
AntiLavaCast

Prevents high altitude lava placement to stop lava casting on Paper 1.21.x.
Features
- Cancels lava bucket placement, flow or both if it is more than the configured height above natural ground.
- Uses CoreProtect history (when available) to identify player-placed blocks for accurate ground detection.
- Logs a server alert when a placement is blocked.
- Supports live config reload and runtime toggling.
- Lava casting attribution, optional logs will tell you who tried to place lava and where.
- Maintains natural world lava flow.
[AntiLavaCast] Blocked lava placement by CevAPI at -85,164,-29 (heightAboveGround=96, groundY=68)
Requirements
- Paper 1.21.x
- Java 21+
Install
- Download the jar.
- Drop the jar into your server
pluginsfolder. - Start the server to generate the config.
Commands
/lavacast reload/lavacast enable/lavacast disable/lavacast setheight <blocks>/lavacast drop <on|off>on allows dropping/lavacast flow <on|off>on allows flowing/lavacast logs <on|off>on logs blocked placements/lavacast coreprotect <on|off>toggles CoreProtect integration/lavacast coreprotectlookback <seconds|1m|2h|7d|4w>sets how far back CoreProtect history is searched/lavacast mark <radius>marks nearby blocks as player-placed for height checks (max radius 100)
Permissions
lavacast.admin (default: op)
Config
plugins/AntiLavaCast/config.yml
max-height-above-ground: 20
enabled: true
allow-lava-drop: false
allow-lava-flow: false
log-blocked-placements: true
coreprotect-enabled: true
coreprotect-lookback-seconds: 31536000
Notes
- The ground scan ignores player-placed blocks; when CoreProtect is available it will also treat historical placements as player-placed.
- Use
/lavacast mark <radius>around old builds to mark them as player-placed if CoreProtect is not available. - Marked blocks are stored on disk in
plugins/AntiLavaCast/marksand persist across restarts. - When CoreProtect is enabled and detected, mark storage is disabled and lookups rely on CoreProtect instead.
Ченджлог
1.0.3Релиз26.1, 26.1.1, 26.1.2 · 26 апреля 2026 г.
- Fixed startup error on some 1.21.11 forks where AntiLavaCast could fail to register events due to missing nested class references at runtime.
- Refactored internal storage/cache helper classes to top-level classes for more robust classloading across server implementations.
- Improved startup logging when CoreProtect is unavailable, disabled, or incompatible.
1.0.2Релиз1.21.9, 1.21.10, 1.21.11 · 23 января 2026 г.
Added
- CoreProtect integration to detect historical player-placed blocks, with cache and configurable lookback.
/lavacast coreprotectand/lavacast coreprotectlookbackcommands.- Disk-backed mark storage per chunk when CoreProtect is unavailable.
/lavacast mark radiuscommand to manually mark nearby blocks as player-based for height checks (max 100)
Changed
- Lava flow blocking now applies only to player-placed lava; natural lava flows normally.
- Replaced in‑memory placed‑block tracking with disk‑backed per‑chunk mark files (used by
/lavacast mark) when CoreProtect isn’t available.
1.0.1Релиз1.21.9, 1.21.10, 1.21.11 · 15 января 2026 г.
- Added toggle for logging
- Added attribution for lava casting to logs
1.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 6 января 2026 г.
First Release
Комментарии
Загружаем…