byond - Modules - TypesVar Details - Proc Details

/datum/control_server

Allows us to communicate back to an external localhost webserver This external webserver should have two endpoints, "status" which can return any sort of JSON blob, and "restart" which triggers a reconnection to the game via the provided external measures

Vars

controllingThe client that we are connected to
controlling_ckeyThe ckey of the client we are connected to
initialisedIf our software has responded successfully, and our browser has initialised
portThe port that their external software is running on
websocket_portIf supported, the websocket port for software initiated events

Procs

setupInitialises our browser and triggers communication with the server

Var Details

controlling

The client that we are connected to

controlling_ckey

The ckey of the client we are connected to

initialised

If our software has responded successfully, and our browser has initialised

port

The port that their external software is running on

websocket_port

If supported, the websocket port for software initiated events

Proc Details

setup

Initialises our browser and triggers communication with the server