Tile - YGameSession - Restart The Game – Ylands

From Bohemia Interactive Community
(Redirected from Ylands Tile - Restart game)
Jump to navigation Jump to search

Restart The Game(Rejoin all players)

YlandsTile-230.png

static restartGame(rejoinPlayers: boolean): void;

Parameters

rejoinPlayers

Whenever the players should be automatically reconnected to the game after restart

Availability

Server, Not in Edu

Description

Restarts currently running game. In multiplayer, it will disconnect all players and restart the server.

Restart The Game(Players to rejoin)

YlandsTile-589.png

static restartGame(playersToRejoin: YCharacter[]): void;

Parameters

playersToRejoin

List of players to rejoin the session

Availability

Server, Not in Edu

Description

Allows to restart currently running game and rejoin selected players.