Creates a new server and returns a server id which can be used to transfer players to the new server.
Optional
config: AirshipServerConfigThe configuration the server should start with. If not provided, the server will use the defaults provided during deployment.
The id of the new server. Undefined if the server was not able to be created.
Transfers a group of players to the provided game. A server in the default scene will be selected, or a new one will be created.
The players to transfer, either userIds or Player objects
The gameId to transfer the players to
Optional
config: AirshipGameTransferConfigThe configuration to be used for this transfer AirshipGameTransferConfig
Transfers a group of players to the provided server. The server can be in any scene, but must be part of the current servers game.
The server to transfer the players to
Optional
config: AirshipServerTransferConfigThe configuration to be used for this transfer AirshipGameTransferConfig
Transfers a player to the provided game. A server in the default scene will be selected, or a new one will be created.
The player to transfer, either userId or Player object
The gameId to transfer the player to
Optional
config: AirshipGameTransferConfigThe configuration to be used for this transfer AirshipGameTransferConfig
Transfers a player to the provided server. The server can be in any scene, but must be part of the current servers game.
The player to transfer, either userId or Player object
The server to transfer the player to
Optional
config: AirshipServerTransferConfigThe configuration to be used for this transfer AirshipGameTransferConfig
The transfer service allows you to move players between servers and create new servers.