Skip to main content

Actions reference

Buttons, links, input controls and triggers interact with the launcher through actions. Action names use PascalCase.

Action table

Enum values

  • Navigate.To: Instances / Downloads / Accounts / ResourceCenter / Settings / Connect / Running
  • OpenFolder.Folder: Game / Logs / Data / Screenshots
  • Install.Source: Curseforge / Modrinth / Ftb
  • Install.Category: Mod / Modpack / Shader / Resourcepack / Datapack / Save

Syntax

Attribute syntax:
Property element syntax:

Results

Triggers

A Trigger can use the Function shorthand, or Action plus action parameters. Function and Action are mutually exclusive.

Security and preview

  • The editor preview does not execute RunCommand / PluginApi.
  • RunCommand runs through Tauri IPC, output is capped at 64KB, and the timeout can be set from 1 to 60 seconds.
  • Local literal commands do not prompt; remote static commands are confirmed once; commands generated from online data are confirmed by final command hash. See Security and trust.
  • The target plugin of PluginApi must be loaded and have the method registered.
  • Remote updates only prompt when executable content changes; ordinary data updates remain silent.

Common errors