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 invisible
Usage
- Get the nodes using
/giveme
command. - All players can execute code of the button. (Privilege check meant to be implemented in custom code ;))
- Players with
server
priv can combine rightclick andaux1
to open button's code editor. - To open code editor of LuaTrigger, hold
luabutton:luatrigger
in the hand, pressaux1
and rightclick at the node above which the LuaTrigger is placed.
License of media (texture)
luabutton.png
- by Zemtzov7. License - CC-BY-SA-4.0