Skip to content

cev-api/AntiLavaCast

Repository files navigation

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.
  • Logs a server alert when a placement is blocked.
  • Supports live config reload and runtime toggling.

Requirements

  • Paper 1.21.x
  • Java 21+

Build

./gradlew build

Output jar: build/libs/AntiLavaCast-1.0.0.jar

Install

  1. Build the jar.
  2. Drop the jar into your server plugins folder.
  3. 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

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

Notes

  • The ground scan ignores blocks placed while the plugin is running. Existing towers built before the plugin started will not be tracked unless rebuilt.

About

Prevents high altitude lava placement to stop lava casting on Paper 1.21.x.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages