
Modrinth · Minecraft mod
Wizards of Lua
Unlock the Magic of Lua Scripting in Minecraft 🌟 WoL adds the /lua command, allowing you to cast spells and interact with the game using the Lua programming language.
Quick answer
Which Wizards of Lua release should I use?
Wizards of Lua 6.1.0-26.3 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is Wizards of Lua required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Wizards of Lua 6.1.0-26.3 need?
6.1.0-26.3. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Wizards of Lua without breaking your instance.
Built for Wizards of Lua 6.1.0-26.3. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 6.1.0-26.3. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 6.1.0-26.3. It opens that exact file at the source.
About this project
What does Wizards of Lua add?
Wizards of Lua is a server-side Fabric mod that lets you write spells in Lua and cast them inside Minecraft.
Type a one-liner in the chat for an instant change, or start a long-running spell that reacts to everything happening in your world. No Java or modding experience needed, no server restarts, no client mods.
/lua require "greeting"
Casts a spell using the code from config/wizards-of-lua/greeting.lua.
local queue = spell:collect("PlayerJoinedEvent")
while true do
local evt = queue:next()
spell:execute("/say Welcome, " .. evt.player.name .. "!")
end
Greets every player who joins.
Get Started
The Quickstart Video walks you through installing the mod and casting your first spell in under two minutes. The Getting Started Guide covers the same ground in writing, and goes on from there.
What You Can Do
- Run Lua in-game: Cast spells with the
/luacommand, either as inline code or from files inconfig/wizards-of-lua. Edited files are recompiled the next time they're used, so no server restart is needed. - Change the world: Place blocks, summon mobs, edit items and entities, all through an extensive Lua API.
- Give mobs orders: Send any mob walking to a spot, following or fleeing from someone, standing guard or attacking a target. An order only borrows the mob's attention: when it's done, the mob goes back to its own business.
- React to events: Respond when players join, break blocks or swing tools, and cancel or extend what happens next.
- Add your own commands: Register Brigadier commands at runtime, with typed arguments and auto-completion.
- Code with autocompletion: Write spells in Visual Studio Code with full type support.
- Stay in control: Spells run on a per-tick budget and yield automatically, so a busy spell doesn't freeze your server. Access is controlled by permission levels and nodes, compatible with LuckPerms. Use
/wol spell list allto see what's running and/wol spell break allto stop it. - Install on the server only: Works in singleplayer and multiplayer. Players don't need to install anything.
What People Build
- Safe zones where PvP is disabled
- Minecarts that climb ladders
- A magic wand that strikes hostile mobs with lightning
- A spider bodyguard that stays at your side and attacks whoever hurts you
- Guards who hold their posts against hostile mobs without chasing them too far
- A miner who digs a tunnel, lights it with torches, and fetches a fresh pickaxe from a chest when his breaks
- A lumberjack spell that makes the whole tree fall when any player breaks a single log
- A magic hoe that harvests a whole wheat field with one swing
- Mini-games like Journey
Versioning
Versions follow the format MAJOR.MINOR.PATCH-MCVERSION, for example 6.1.0-1.21.11. The first part follows Semantic Versioning and describes compatibility with your scripts. The part after the - is the Minecraft version.
Updates that raise MINOR or PATCH are safe. If MAJOR increases, check the changelog first, because your scripts may need changes.
Learn More
This mod is a complete rewrite for Fabric of the original Wizards of Lua for Forge, which is no longer maintained. The two APIs differ, and scripts written for the Forge version won't run unchanged.
New here? Watch the Quickstart Video, then find guides, examples and the full API reference at wizards-of-lua.net.
Project description from Modrinth.
Pick your setup
Wizards of Lua by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
1 loader build26.1.2
1 loader build26.1.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader buildShowing the newest 12 of 15 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Wizards of Lua versions and loaders
6.1.0-26.3
wizards-of-lua-6.1.0-26.3.jar
5 Oct 2026
6.1.0-26.2
wizards-of-lua-6.1.0-26.2.jar
5 Oct 2026
6.1.0-26.1.2
wizards-of-lua-6.1.0-26.1.2.jar
5 Oct 2026
6.1.0-26.1.1
wizards-of-lua-6.1.0-26.1.1.jar
5 Oct 2026
6.1.0-1.21.11
wizards-of-lua-6.1.0-1.21.11.jar
5 Oct 2026
6.1.0-1.21.10
wizards-of-lua-6.1.0-1.21.10.jar
5 Oct 2026
6.1.0-1.21.9
wizards-of-lua-6.1.0-1.21.9.jar
5 Oct 2026
6.1.0-1.21.8
wizards-of-lua-6.1.0-1.21.8.jar
5 Oct 2026
6.1.0-1.21.7
wizards-of-lua-6.1.0-1.21.7.jar
5 Oct 2026
6.1.0-1.21.6
wizards-of-lua-6.1.0-1.21.6.jar
5 Oct 2026
6.1.0-1.21.5
wizards-of-lua-6.1.0-1.21.5.jar
5 Oct 2026
6.1.0-1.21.4
wizards-of-lua-6.1.0-1.21.4.jar
5 Oct 2026
Looking for an older file? The official Modrinth project page is in Resources.