跳到主要内容

Class: PlayerJoinAfterEvent

Contains information regarding a player that has joined. See the playerSpawn event for more detailed information that could be returned after the first time a player has spawned within the game.

Constructors

new PlayerJoinAfterEvent()

private new PlayerJoinAfterEvent(): PlayerJoinAfterEvent

Returns

PlayerJoinAfterEvent

Properties

playerId

readonly playerId: string

Remarks

Opaque string identifier of the player that joined the game.


playerName

readonly playerName: string

Remarks

Name of the player that has joined.