Skip to content

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

  1. Copy your .lua file into the plug-ins folder.
  2. Open the Plug-ins tab in the menu.
  3. Click Refresh to rescan the directory.
  4. Click Load to load the plug-in (if not already loaded).
  5. Toggle Enable to start onTick() and onMenu() callbacks.

Unload and disable

  • Disable stops onTick() and onMenu() 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.