registerServerConnect

open fun registerServerConnect(method: Any): EventTrigger

Registers a new trigger that runs whenever the player connects to a server

Passes through one argument:

  • The event, which cannot be cancelled

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard