Lightning
26.1.1Supercharge your server with custom commands, powerful actions, MiniMessage formatting & more.
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.
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
