Tile - YGameSession - Restart The Game – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:


==== rejoinPlayers ====
==== rejoinPlayers ====
Whenever the players should be automatically reconnected to the game after restart
=== Availability ===
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]]


=== Description ===
=== Description ===


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


== Restart The Game(Players to rejoin) ==
== Restart The Game(Players to rejoin) ==
Line 23: Line 29:


==== playersToRejoin ====
==== playersToRejoin ====
List of players to rejoin the session
=== Availability ===
[[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Not in Edu|Not in Edu]]


=== Description ===
=== Description ===


This instruction will '''restart''' currently running '''game'''. In multiplayer, it will '''rejoin''' selected '''players'''.
Allows to '''restart''' currently running '''game''' and '''rejoin''' selected '''players'''.




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:27, 24 November 2023

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.