registerPlayerJoined

open fun registerPlayerJoined(method: Any): RegularTrigger

Registers a new trigger that runs when a player joins the world.

Maximum is one per tick. Any extras will queue and run in later ticks. This trigger is asynchronous.

Passes through one argument:

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard