@minecraft/server / PlayerSpawnAfterEvent
Class: PlayerSpawnAfterEvent ​
Defined in: @minecraft/server/index.d.ts:18199
An event that contains more information about a player spawning.
Properties ​
initialSpawn ​
initialSpawn:
boolean
Defined in: @minecraft/server/index.d.ts:18209
Remarks ​
If true, this is the initial spawn of a player after joining the game.
This property can't be edited in restricted-execution mode.
player ​
player:
Player
Defined in: @minecraft/server/index.d.ts:18217
Remarks ​
Object that represents the player that joined the game.
This property can't be edited in restricted-execution mode.