Storm Command icon

Storm Command -----

Run any console command the moment a thunderstorm begins




StormCommand
Run any console command the moment a thunderstorm begins

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✦ Overview

StormCommand monitors your worlds and fires a console command the instant a thunderstorm begins. Unlike event-based approaches, it uses rising-edge detection — the command triggers exactly once at storm start, not repeatedly while the storm is ongoing. Point it at any world, set any command, done.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✦ Features

  • Rising-edge storm detection — fires once at storm start, never while the storm is already ongoing.
  • Per-world whitelist — target specific worlds, or leave the list empty to cover all worlds.
  • Any console command — broadcast a message, start an event, give items — use the %world% placeholder in your command.
  • Configurable cooldown — set a minimum delay between two triggers in the same world to prevent spam.
  • Configurable check interval — tune the polling frequency in ticks to match your server's needs.
  • Hot-reload — apply config changes instantly with /stormreload. No server restart required.
  • Debug command /stormdebug shows live weather state, cooldown, and config info for your current world.
  • Lightweight — no external dependencies, no database, one simple repeating task.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✦ Commands

Code (Text):

/stormreload      Reload the plugin configuration and restart the monitoring task
/stormdebug       Show weather debug info for your current world (or global info from console)
 

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✦ Permissions

Code (Text):

stormcommand.admin    Full access to /stormreload and /stormdebug    Default: OP
 
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✦ Configuration

Everything is in a single config.yml . No database, no extra files.

Code (YAML):

# LIST OF WORLDS WHERE THE PLUGIN IS ACTIVE
# If the list is empty, the plugin applies to all worlds.
enabled-worlds
:
 - world
  # - world_nether
  # - world_the_end

# COMMAND EXECUTED WHEN A STORM STARTS IN AN ENABLED WORLD
# Available placeholders:
#   %world%  -> world name
command
: "say [Weather] A thunderstorm is starting in world %world%"

# MINIMUM COOLDOWN BETWEEN TWO EXECUTIONS IN THE SAME WORLD (IN MINUTES)
cooldown-minutes
: 10

# DELAY BETWEEN EVENT DETECTION AND ACTUAL VERIFICATION (IN TICKS)
# 20 ticks = ~1 second
check-delay-ticks
: 20
 

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✦ Requirements

  • Paper 1.21 or newer
  • Java 17 or newer

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✦ Support

For help, bug reports, or feature requests, join our Discord server:


Made with ❤ by Golf
Resource Information
Author:
----------
Total Downloads: 6
First Release: May 5, 2026
Last Update: May 5, 2026
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings