๐Ÿงจ

TNTSurvival

Defines cuboid TNT zones that periodically rain primed TNT at random points inside their bounds, a configurable hazard generator for survival-event chaos and bombardment-themed phases.

Private
About

TNTSurvival is an admin tool for staging sustained TNT bombardment over a defined volume. Each zone is a named cuboid, identified by two opposite corners and a world. The plugin spawns primed TNT at random points inside each active zone on a configurable interval, with a configurable fuse, let zones run for a phase to give the world a constant artillery soundtrack, or toggle them on for a short cinematic moment.

Multiple zones can run concurrently, each with their own settings. Zones persist in data.yml across restarts.

How zones tick

The plugin runs a server-tick event every tick. For each active zone, on ticks where currentTick % interval == 0, it spawns quantity primed-TNT entities at uniformly random points inside the zone's bounding box, each with the configured fuse length.

So if a zone is set to quantity 5, interval 40, fuse 60, every two seconds (40 ticks) five TNT spawn somewhere inside, each detonating after three seconds. Every parameter is a tick value, the help command echoes them back as seconds in the area listing.

Inactive zones are persisted but skipped each tick, useful for pre-defining the bombardment volumes during build and toggling them on at event time.

Commands

Available under /tnt and /tntsurvival. Area management requires tntsurvival.area.

  • /tnt help
    Lists every command the player has permission to run.
  • /tnt version
    Displays the plugin version.
  • /tnt reload
    Reloads config.yml.
  • /tnt area add <id> <x1> <y1> <z1> <x2> <y2> <z2> <quantity> <interval> <fuse> <active>
    Defines a new TNT zone in the player's current world. quantity = TNT spawned per pulse, interval = ticks between pulses, fuse = ticks until each TNT detonates, active = true/false for whether the zone fires immediately.
  • /tnt area list
    Lists every defined zone, with its bounds, parameters (interval and fuse displayed in seconds), and active state.
  • /tnt area set <id> <active>
    Toggles a zone's active state, the only zone parameter that can be changed in-place after creation.
  • /tnt area remove <id>
    Removes a zone entirely.