@minecraft/server
    Preparing search index...

    Class PlayerSpawnAfterEventBeta

    An event that contains more information about a player spawning.

    Index

    Properties

    Properties

    initialSpawn: boolean

    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

    Object that represents the player that joined the game.

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