Skip to content

@minecraft/server


@minecraft/server / PlayerJoinAfterEvent

Class: PlayerJoinAfterEvent ​

Defined in: @minecraft/server/index.d.ts:18000

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.

Properties ​

playerId ​

readonly playerId: string

Defined in: @minecraft/server/index.d.ts:18007

Remarks ​

Opaque string identifier of the player that joined the game.


playerName ​

readonly playerName: string

Defined in: @minecraft/server/index.d.ts:18013

Remarks ​

Name of the player that has joined.