For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/PlayerSpawnAfterEvent.md.

Class: PlayerSpawnAfterEvent

event player

Beta

包含关于玩家生成的更多信息的事件。

An event that contains more information about a player spawning.

Properties

initialSpawn

initialSpawn: boolean

World Mutation Beta

如果为 true,这是玩家加入游戏后的首次生成。

Remarks

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


player

player: Player

World Mutation Beta

表示加入游戏的玩家对象。

Remarks

Object that represents the player that joined the game.

同领域相关