pterodactyl.ts
    Preparing search index...

    Class ApplicationClient

    Hierarchy

    • BaseClient
      • ApplicationClient
    Index

    Constructors

    Properties

    api: (
        config: AxiosRequestConfig,
        errorSet?: { code: number; message: string }[],
        ignoredErrors?: string[],
    ) => Promise<any> = ...
    apikey: string
    panel: string

    Methods

    • Get a specific egg of this panel

      Parameters

      • nestId: number

        The if of the nest you want to get the egg from

      • eggId: number

        The egg you want to get

      Returns Promise<Egg>

    • Get all users associated to the panel

      Parameters

      • Optionalfilter: { email?: string; externalId?: string; username?: string; uuid?: string }

        Filter users by email, uuid, username and/or externalId

      • OptionalsortBy: "id" | "uuid"

        Sort users by id oder uuid

      • OptionalreverseSort: boolean

        Reverse the sort

      Returns Promise<PanelUser[]>

      sortBy