Skip to content

MLS (Minecraft Lua Scripts)

Minecraft Lua Scripts Framework is a lightweight mod that lets you use Lua to automate tasks and create dynamic systems, custom maps, and minigames beyond vanilla Minecraft.

Forge
Loaders
Forge
Downloads on Modrinth
120
Followers on Modrinth
0
version
1
Updated
January 12, 2026Jan 12
Published
in 2026

At a glance

Runs on Forge
For Minecraft 1.16.5
Needed in the game and on the server
Latest version — 0.3-ALPHA from January 12, 2026
License MIT — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.16.5

MLS (Minecraft Lua Scripts)

Minecraft Lua Scripts (MLS) is a Forge mod that lets you write and run Lua scripts in Minecraft without creating a mod.

MLS is essentially a Lua adapter for the Forge API. Instead of setting up a mod project and recompiling on every change, you write .lua files, put them in the <game_dir>/luascripts/ folder, and execute them in-game with /script run. Scripts run in named threads, can be stopped individually or all at once, and have access to the game through a straightforward API — worlds, entities, players, redstone, commands, and more.

It's primarily aimed at map and minigame development. Complex event sequences, player detection zones, score tracking, coordinated multi-system logic — things that are painful or outright impossible to build with command blocks alone become quick to write and easy to iterate on.

-- detect players entering an area and trigger a command
local corner1 = {x = 100, y = 64, z = 100}
local corner2 = {x = 120, y = 70, z = 120}

while true do
    local players = world.getPlayersInSquare(corner1, corner2)
    if #players > 0 then
        world.executeCommand("say Welcome to the arena!")
    end
    local t = os.time() + 1
    while os.time() < t do end
end

No build tools. No Java. Just scripts.

For API documentation, please refer to the Website.
WARNING

This project is currently in its ALPHA stage, meaning it may contain bugs or incomplete features. If you encounter any issues, please report them via the Issues tab on GitHub.

Contributions are welcome! Feel free to submit pull requests or suggest improvements.

FAQ

How to install MLS (Minecraft Lua Scripts)?

Install Forge for your Minecraft version, download MLS (Minecraft Lua Scripts) for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does MLS (Minecraft Lua Scripts) support?

MLS (Minecraft Lua Scripts) has builds for Minecraft 1.16.5.

Is MLS (Minecraft Lua Scripts) needed on the server?

Needed in the game and on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More