Type Alias PlayerEvents

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

    Type declaration

    • 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.