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

Re: Console commands

Posted: 04 Oct 2024, 08:39
by robyns1
I know this topic is *really* old, but uhh...
Can you give an exampleee of a command that uses conditions n'(and) stuff? Like a command that returns stuff from the game? if you even see this lol

Re: Console commands

Posted: 06 Oct 2024, 18:49
by JustAnyone

Code: Select all    Reset

{
"id":"$ja_seasons_console01",
"type":"template",
"active":true,
"meta":{"tags":{"console":{
"commands":{
"enable auto seasons":{
"actions":[
{"type":"set","id":"!_seasonsja","code":"0"},
{"type":"feedback","id":"Automatic seasons enabled"}
]
}
}
}}}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
JSON checker

Output: Select all

...

Re: Console commands

Posted: 29 Jan 2025, 03:58
by robyns1
what

Re: Console commands

Posted: 13 Feb 2025, 23:52
by Sihtelgoog!$
plugins