Page 1 of 1

Console commands

Posted: 25 Oct 2018, 19:48
by Lobby
Commands are defined using the meta tag that can be defined in any plugin. It will look like:

Code: Select all

"meta":{
  "tags":{
    "console":{
      "commands":{
        "mycommand":{
            "condition":{...},
            "actions":[...]      // Just a normal fun transition object
        }
      }
    }
  }
}
Writing mycommand into the console would execute the transition(s).