Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Thor Lightning command
Summon a lightning bolt at your crosshair with a command. Fully configurable. OP-only by default with optional LuckPerms support.
What does it do?
Type /thor and a lightning bolt strikes exactly where you're looking, up to 100 blocks away (configurable up to 1,000).
Perfect for server admins who want to smite things dramatically or anyone who wants to feel like a god.
(This mod pairs well with a command macro mod on the client)
Features
/thor, Strikes lightning at your crosshair (uses configured range)/thor <range>, One-time range override (1ā1,000 blocks) for a single strike/thor reload, Reloads the config file instantly without restarting the server- Ray-cast targeting, Hits the exact block surface you're looking at; strikes at max range if looking at sky or air
- Fully configurable via
config/thor.jsonand an in-game ModMenu screen - OP-only by default (vanilla gamemaster level 2)
- Optional LuckPerms support, grant the
thor.commandpermission node to any group - Fine-grained control over what the bolt does:
- Start Fires toggle, prevent the bolt from igniting blocks or activating nether portal frames
- Convert Mobs toggle, prevent pigs ā zombified piglins, villagers ā witches, creepers ā charged creepers
- Visual Only mode, purely cosmetic bolt with no damage, fire, or conversions
Commands
| Command | Description |
|---|---|
/thor |
Strike lightning at your crosshair using the configured range |
/thor <range> |
Strike with a one-time custom range (1ā1,000 blocks) |
/thor reload |
Reload thor.json from disk without restarting |
All commands require OP level 2 (or the thor.command LuckPerms node).
Configuration
All settings are editable in config/thor.json or live in-game via ModMenu (requires Cloth Config):
| Setting | Default | Description |
|---|---|---|
range |
100 |
Ray-cast range in blocks (1ā1,000) |
visualOnly |
false |
Cosmetic-only bolt ā no damage, fire, or conversions |
fire |
true |
Whether the bolt can ignite blocks / light nether portals |
convertMobs |
true |
Whether the bolt converts mobs |
permissionMode |
"op" |
"op" for vanilla OP, "luckperms" for LP node |
Permissions
Vanilla (default): Requires OP level 2 (gamemaster). Works in singleplayer with cheats enabled.
LuckPerms (optional): Set permissionMode to "luckperms" in the config, then grant the node:
/lp group <group> permission set thor.command true
Falls back to OP check automatically if LuckPerms is not installed.
Dependencies
Required:
Optional (for in-game config screen):
Optional (for permission node support):
Server & Client
This mod only needs to be installed server-side (or in singleplayer). It does not need to be on the client.
(Disclaimer: Code and assets are mostly ai generated)


