Mod
Lua Button
Button that executes custom lua code on rightclick
developer_tools multiplayer server_tools
Nodes
luabutton:luabutton- The button that executes code on rightclickluabutton:luaplate- Plate that executes code when player is stepping on itluabutton:luatrigger- Same as plate but invisibleUsage
- Get the nodes using
/givemecommand. - All players can execute code of the button. (Privilege check meant to be implemented in custom code ;))
- Players with
serverpriv can combine rightclick andaux1to open button's code editor. - To open code editor of LuaTrigger, hold
luabutton:luatriggerin the hand, pressaux1and rightclick at the node above which the LuaTrigger is placed.License of media (texture)
luabutton.png- by Zemtzov7. License - CC-BY-SA-4.0
Links
- Source: https://github.com/zmv7/minetest-mod-luabutton
- Issues: https://github.com/zmv7/minetest-mod-luabutton/issues/new/choose/
- Original ContentDB page: content.luanti.org/packages/Zemtzov7/luabutton/
License
GPL-3.0-only
Media license: CC-BY-SA-4.0
| Version | Date | Min engine | Size | Download |
|---|---|---|---|---|
| 2026-01-17 | 2026-01-17 02:15:52 | 15.3 KB | Download |