InGameServer: {
    active: boolean;
    connected: boolean;
    connectedBy: string;
    createdAt: string;
    game: InGameGame;
    id: string;
    lastSeenAt: string | null;
    name: string;
    nodes: InGameNode[];
    pinned: boolean;
    rewardPresets: string[];
    tokenPrefix: string;
}

Type declaration

  • active: boolean

    False when the Discord server is over its plan limit and this one is paused.

  • connected: boolean

    Connected right now (at least one node). Live, not stored.

  • connectedBy: string

    Discord user id of whoever connected it.

  • createdAt: string
  • game: InGameGame
  • id: string
  • lastSeenAt: string | null

    ISO time the server was last connected, or null if it never has been.

  • name: string

    The server's MOTD at connect time (colour codes stripped), or the name it was renamed to.

  • nodes: InGameNode[]

    Every node connected right now: a single server, or each backend and proxy of a network sharing the token.

  • pinned: boolean

    Kept active ahead of older servers when over the plan limit.

  • rewardPresets: string[]

    The reward presets its rewards.yml offers, as last reported - the giveaway form's dropdown (P7).

  • tokenPrefix: string

    The start of the server's token, so an owner can tell which token a server holds.