How to load plug-ins¶
Plug-ins are auto-discovered at startup and can be enabled or disabled from the menu. You can also add new .lua files at runtime and refresh the list.
Folder locations¶
- Windows:
%APPDATA%/.lmts/plugins/ - Linux/macOS builds:
~/.local/share/.lmts/plugins/
The folder is created automatically on first run.
Load and enable¶
- Copy your
.luafile into the plug-ins folder. - Open the Plug-ins tab in the menu.
- Click Refresh to rescan the directory.
- Click Load to load the plug-in (if not already loaded).
- Toggle Enable to start
onTick()andonMenu()callbacks.
Unload and disable¶
- Disable stops
onTick()andonMenu()without unloading. - Unload removes the plug-in from memory and runs
onUnload().
If a plug-in fails to load or a callback throws, the error is shown in the Plug-ins tab and logged.