Thunderstruck

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

Commands and permissions

Every command needs thunderstruck.admin, which operators have. In the server console, type them without the slash. /tstruck works in place of /thunderstruck.

CommandWhat it does
/thunderstruckThe version, the tier and the settings in use: who sees the bolt, who hears the sounds and the ranks.
/thunderstruck testPlays the effect on you, as if you had died, with your rank's settings. Nobody dies and nothing is lost.
/thunderstruck test <player>The same on another player. From the console, the player is needed.
/thunderstruck test <player> <rank>Tries a rank's settings (Pro), or general for the settings at the top of config.yml.
/thunderstruck reloadReads config.yml and the messages again.
/thunderstruck licenseThe tier (Free, Pro or Pro Lifetime) and why.
/thunderstruck license activate <key>Saves your Pro key in config.yml and checks it with Polar.
/thunderstruck license deactivateFrees the key for another server; this one runs Free.
/thunderstruck telemetryWhat the anonymous usage report sends, and when.

Permissions #

PermissionDefaultWhat it gives
thunderstruck.adminoperatorsEvery command, and the message about new versions when joining.
thunderstruck.rank.<rank>nobodyWithout LuckPerms: the settings of that rank (Pro). With LuckPerms, the ranks are its groups.

With LuckPerms, give a permission to a group from the console:

lp group staff permission set thunderstruck.admin true

and a player gets a rank's settings by being in that group, or in one that inherits it (lp user Steve parent add vip). When a player has several ranks of config.yml, the one with the highest weight wins (Ranks). thunderstruck.rank.<rank> is only for servers without LuckPerms; with another permissions plugin, give it the way that plugin does.