The account class for controlling your panel account, including the email, password, API keys and SSH keys.
The API key for your Pterodactyl account. This should be kept private at all times.
The domain for your Pterodactyl panel. This should be the main URL only (not "/api"). Any additional paths will count as the API path.
Creates a websocket shard for a specified server.
The identifier of the server.
The server websocket shard.
Creates websocket shards for the specified servers.
The identifiers of the servers.
An array of the server websocket shards.
Performs preload requests to Pterodactyl.
Closes any existing websocket connections.
Fetches the raw permissions from the API.
The raw permission descriptors.
Removes a server from websocket connections.
The identifier of the server.
Whether the shard was removed.
Generated using TypeDoc
The base class for the Pterodactyl client API. This operates using a Pterodactyl client API key which can be found at <your.domain.name/account/api>.
Warning: Keep your API key private at all times. Exposing this can lead to your accond and servers being corrupted, exposed and/or deleted.