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.
| Command | What it does |
|---|---|
/thunderstruck | The version, the tier and the settings in use: who sees the bolt, who hears the sounds and the ranks. |
/thunderstruck test | Plays 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 reload | Reads config.yml and the messages again. |
/thunderstruck license | The 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 deactivate | Frees the key for another server; this one runs Free. |
/thunderstruck telemetry | What the anonymous usage report sends, and when. |
Permissions #
| Permission | Default | What it gives |
|---|---|---|
thunderstruck.admin | operators | Every command, and the message about new versions when joining. |
thunderstruck.rank.<rank> | nobody | Without 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.