Thunderstruck

A lightning bolt for every player who dies, with the sound you choose, on Paper and Spigot.

On this page

Install and first test

Download #

Download Thunderstruck

Version 1.1.0 · from coolapps.fyi

Free and Pro use the same file, Thunderstruck-1.1.0.jar; a license key unlocks Pro.

Before you install, check the requirements: Spigot or Paper 1.16.5 or newer, and Java 8 or newer. Folia is not supported. No other plugin is needed.

Install #

  1. Put Thunderstruck-1.1.0.jar in your server's plugins/ folder.

  2. Restart the server. Do not use /reload.

  3. Watch the console. When it starts, Thunderstruck prints its banner, a lightning bolt with its version and tier (Free, or with a key Pro or Pro Lifetime):

            ______
           /     /
          /     /
         /     /____     T H U N D E R S T R U C K
        /_____     /     v1.1.0 - Free - coolapps.fyi
             /    /
            /   /
           /  /
          / /
         //
        /

The first start creates config.yml, messages_en.yml and messages_es.yml in plugins/Thunderstruck/. There is no database to install.

Commands in this guide are written for the game, with a slash (/thunderstruck test). In the server console, type them without the slash. The short alias /tstruck works in place of /thunderstruck. Every command needs the thunderstruck.admin permission, which operators have.

Try it #

Run /thunderstruck test. A bolt strikes where you stand and the thunder plays, as if you had died, and you lose nothing. From the console, name a player: thunderstruck test Steve.

Out of the box every death strikes the bolt for everyone near enough to see it and plays the thunder to every player on the server, wherever they are.

Choose who sees and hears it #

Open plugins/Thunderstruck/config.yml. The bolt and the sound each have an audience: ALL, WORLD, RADIUS (with a radius in blocks), PLAYER or NONE. For a bolt that only the players within 50 blocks see, and a sound for the whole server:

lightning:
  audience: RADIUS
  radius: 50
sound:
  audience: ALL

Save the file and run /thunderstruck reload, then /thunderstruck test again. Configuration explains every setting.

Pro #

With a key, activate it from the console: thunderstruck license activate <key>. Pro plays every sound of the list and uses the settings of each rank; with LuckPerms installed, the ranks are its groups. See Licensing.

Update #

Thunderstruck checks Modrinth once a day and, unless you turn it off, downloads a new version into the server's update folder; the server puts it in place at the next restart. To update by hand, replace the jar and restart.