Trigger Command - MoSadie/EffectMC GitHub Wiki

Introduced in v3.1, the trigger subcommand allows you to trigger effects using in-game chat. This is good for quickly testing effects, but is limited by the maximum chat message length.

Like any other way of triggering effects, you will need to trust the world/server first before any effects work.

The formatting for the json is as follows:

{
  "effectId": "<effectId>",
  "args": {
    "<key>": "<value>",
    //...
  }
}

An example of a command that would trigger the Show Title effect with the title Hello and subtitle World:

/effectmc trigger {"effectId":"showtitle","args":{"subtitle":"World","title":"Hello"}}

To save you the hassle of writing the json yourself simply run /effectmc exporteffect then trigger the desired effect in any way. You will find the json in the log file prefixed with Exported Effect Request JSON:.

⚠️ **GitHub.com Fallback** ⚠️