Skip to content

Wizards of Lua — About

Wizards of Lua is a server-side Fabric mod that runs Lua programs inside Minecraft. We call them spells. Cast a one-liner from the chat for an instant change, or start a long-running spell that reacts to everything happening in your world. No Java, no server restarts, no client mods.

local queue = spell:collect("PlayerJoinedEvent")
while true do
  local evt = queue:next()
  spell:execute("say Welcome, " .. evt.player.name .. "!")
end
A spell that greets every player who joins.

What You Can Do

What People Build

Get Started

  1. Download the mod from Modrinth.
  2. Watch the Quickstart Video.
  3. Follow the Getting Started Guide.

Then explore the Examples, Commands, Dynamic Commands, FAQ and API Reference.

Questions or something to show? Join us on Discord.

Versioning

Versions follow the format MAJOR.MINOR.PATCH-MCVERSION, for example 5.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.

History

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. All documentation on this site refers to the Fabric version.

License