Type Alias PlayerEvents

type PlayerEvents = {
    aliasUpdated: [player: Player, oldAlias: string, newAlias: string];
}
Index
aliasUpdated: [player: Player, oldAlias: string, newAlias: string]

Fires when a player updates their alias.

The Player for this player with the changes applied.

The player's previous alias.

The player's new alias.