WarpService
WarpService
is a service used for teleporting players between your games
Properties
UseSafetySetup: bool
Not Written
Functions
Teleport(int gameid, Player player)
The Teleport
function teleports a player to a public server. If a server does not exist then one will be made. This only works for 1 player. An example:
TeleportToPrivateServer(int gameid, Player player)
The TeleportToPrivateServer
function teleports a player to a private game server. This only works for a single 1 player. Meaning a solo private server would be made. An example:
TeleportGroupOfPlayersToPrivateServer(int gameid, Array players)
The TeleportGroupOfPlayersToPrivateServer
function teleports a group of players to a private game server. This will error if only a single player is present. An example:
Signals
OnWarpServiceFailure
The OnWarpServiceFailure
signal is emitted whenever teleportation service faces a failure. This wont be emitted whenever a internal error is faced by the game-server. An example:
OnInternalError
Called when game server throws a internal error. Example: