TSW WebSocket API Help

Actions

Execute console command

Runs a console command

Example

{ "execute": "ts2.dbg.SetCloudiness 1" }

If the console command was executed successfully, the following response is returned:

{ "event": "command_executed" }

If no response is returned, the syntax is probably incorrect or the command is longer than 1023 characters.

Last modified: 15 January 2025