▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Thor

Thor

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

Оцените первым
290
1

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

CommandDescription
/thorStrike lightning at your crosshair using the configured range
/thor <range>Strike with a one-time custom range (1–1,000 blocks)
/thor reloadReload 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):

SettingDefaultDescription
range100Ray-cast range in blocks (1–1,000)
visualOnlyfalseCosmetic-only bolt — no damage, fire, or conversions
firetrueWhether the bolt can ignite blocks / light nether portals
convertMobstrueWhether 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):

  • LuckPerms

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)

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.1.x1.21.x

Платформы

Поддерживаемые окружения

Сервер

Зависимости

Создатели

Детали

Лицензия:
Опубликован:4 месяца назад
Обновлён:1 месяц назад
Главная