Type Alias NetworkPlayer

An object that contains metadata about an individual player on the network.

type NetworkPlayer = {
    alias: string;
    name: string;
    slot: number;
    team: number;
}
Index
alias: string

Represents the player's name in current time. Can be changed during a game with the !alias <name> command by the player.

name: string

The original slot name as defined by the player's configuration file. Individual names are unique among players.

slot: number

Determines the slot id for this player. Slot numbers are unique per team and start at 1. Slot number 0 refers to the Archipelago server; this may appear in instances where the server grants the player an item.

team: number

Determines the team the player is on. Useful for competitive seeds. Team numbers start at 0.