Skip to main content

Class: PlayerSpawnAfterEvent

An event that contains more information about a player spawning.

Constructors

new PlayerSpawnAfterEvent()

private new PlayerSpawnAfterEvent(): PlayerSpawnAfterEvent

Returns

PlayerSpawnAfterEvent

Properties

initialSpawn

initialSpawn: boolean

Remarks

If true, this is the initial spawn of a player after joining the game.

This property can't be edited in read-only mode.


player

player: Player

Remarks

Object that represents the player that joined the game.

This property can't be edited in read-only mode.