Prevents high altitude lava placement to stop lava casting on Paper 1.21.x.
- Cancels lava bucket placement, flow or both if it is more than the configured height above natural ground.
- Logs a server alert when a placement is blocked.
- Supports live config reload and runtime toggling.
- Paper 1.21.x
- Java 21+
./gradlew buildOutput jar:
build/libs/AntiLavaCast-1.0.0.jar
- Build the jar.
- Drop the jar into your server
pluginsfolder. - Start the server to generate the config.
/lavacast reload/lavacast enable/lavacast disable/lavacast setheight <blocks>/lavacast drop <on|off>on allows dropping/lavacast flow <on|off>on allows flowing
lavacast.admin (default: op)
plugins/AntiLavaCast/config.yml
max-height-above-ground: 20
enabled: true
allow-lava-drop: false
allow-lava-flow: false- The ground scan ignores blocks placed while the plugin is running. Existing towers built before the plugin started will not be tracked unless rebuilt.