Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published 7 months ago
Updated 5 days ago
Lightning
Lightning is a lightweight Paper and Spigot plugin for creating custom commands and extending existing ones with configurable actions, conditions, cooldowns, permissions, and more.
Everything is configured through YAML, making it easy to build utility commands, server shortcuts, interactive experiences, and command automation without writing code.
Key Features
- Create fully custom commands with aliases, permissions, cooldowns, usage limits, argument validation, and several more options.
- Extend existing commands with configurable actions and conditions.
- Built-in support for messages, action bars, titles, boss bars, sounds, particles, fireworks, potion effects, experience, broadcasts, delays, templates, random messages, chance actions, and more.
- Supports PlaceholderAPI (soft dependency).
- Supports minecraft versions from 1.8 to latest
- Regular updates and improvements.
Perfect for servers that want a modern feel, better feedback, and clean command interactions.
Commands
/lt- Show available commands/lt reset <command> [player]- Reset cooldowns for custom commands/lt reload- Reload the plugin
Example Custom Command
commands:
lootbox:
aliases: [loot, lb]
description: "Opens a lootbox for a random reward"
permission: server.lootbox
playerOnly: true
cooldown:
duration: 24h
message: "&cAlready opened one today, back in &f{time}&c."
actions:
- sound: BLOCK_CHEST_OPEN
- particle:
type: PORTAL
count: 20
- delay: 1s
- chance:
percent: 5
actions:
- broadcast: "&6&l{player} &ewon the jackpot!"
- firework:
type: BURST
colors: ["#FFD700", "#FFFFFF"]
power: 1
- command:
console: "give {player} diamond 10"
- chance:
percent: 25
actions:
- command:
console: "give {player} gold_ingot 5"
- chance:
percent: 70
actions:
- command:
console: "give {player} iron_ingot 8"
Example Action Hook (for EssentialsX)
Essentials:
warp:
conditions:
worlds:
- world
- world_nether
worldsNegate: false
actions:
- bossbar:
title: "&5Warping..."
color: PURPLE
duration: 3s
- delay: 1s
- template: teleport-fx # Template from templates/
home|homes:
actions:
- sound: ENTITY_ENDERMAN_TELEPORT
- particle:
type: PORTAL
count: 20
speed: 0.05
# Applies to every Essentials command that doesn't have its own rule.
default:
actions:
- sound: BLOCK_NOTE_BLOCK_PLING
blacklist: # Commands to ignore.
- spawn
- heal
Support
Need help or found an issue? Join our Discord support server and we’ll assist you as soon as possible.



