Console commands

Any information about the fun attribute is given here.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3381
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Platform

Console commands

#1

Post by Lobby » Thu Oct 25, 2018 19:48

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).
...Have a nice stay

Return to “Fun attribute”

Who is online

Users browsing this forum: No registered users and 1 guest