Thor

Thor

Summon a lightning bolt at your crosshair the /thor command. Fully configurable.

by
242 Downloads
fabric
Rent Server with this Mod

About this Mod

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.json and an in-game ModMenu screen
  • OP-only by default (vanilla gamemaster level 2)
  • Optional LuckPerms support, grant the thor.command permission 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)

Available Versions

Thor 1.0.0beta
MC 26.1.2fabric
May 21, 2026
Thor 1.0.0beta
MC 1.21.11fabric
March 1, 2026

How to Install Thor on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Thor". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1.2, 1.21.11

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Thor server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Thor compatible with fabric?

Thor officially supports fabric for Minecraft 26.1.2, 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Thor – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Thor consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Thor with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.21.21.11