Console commands

Any information about the fun attribute is given here.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Console commands

#1

Post 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).

Return to “Fun attribute”