The settings are in config.yml next to index.js. The defaults are the values in the file that comes with the addon. Restart the script after a change.
Panel and node#
| Key | Default | What it does |
|---|---|---|
node |
auto |
Which servers to watch. See Which node. |
calagopus.url |
https://panel.example.com |
The URL of your panel. Required. |
calagopus.apiKey |
c7sp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
An API key with the admin permission servers.read. Required. |
calagopus.serversEndpoint |
/api/admin/servers |
The API path that lists servers. Leave it as is. |
calagopus.nodeResourcesEndpoint |
/api/admin/nodes/%s/servers/resources |
The API path for the live state of all servers on a node. %s is the node UUID. Leave it as is. |
There is one API key. The addon does not need a second, client key.
Which node#
| Value | Servers that are watched |
|---|---|
auto |
Only the servers of the node the addon runs on. The addon reads the node UUID from the node config in /etc/calagopus/config.yml or /etc/pterodactyl/config.yml. Without such a file, every node. |
all |
The servers of every node, for example on a proxy |
| A node UUID | Only the servers of that node |
When the panel has no servers on the node found with auto, the addon warns in the log and watches every node. Set the node UUID yourself in that case.
Ports and eggs#
| Key | Default | What it does |
|---|---|---|
portRange.start |
25500 |
The first port to handle. Required. |
portRange.end |
25600 |
The last port to handle. Required. |
excludeEggs |
[] |
A list of egg UUIDs or egg names to skip, for example ['Vanilla Minecraft', '1d8a...']. |
Only the main allocation of each server is used.
Excluded eggs#
An entry matches the UUID of an egg or its exact name.
MOTD#
| Key | Default | What it does |
|---|---|---|
motd.port |
4001 |
The first of four ports the addon listens on. Required. |
motd.server-icon |
./server-icon.png |
The icon in the server list. A relative path is relative to the folder of index.js. |
motd.states.offline, suspended, installing, starting |
See the file | The texts per state. See How it works. |
Panel requests#
| Key | Default | What it does |
|---|---|---|
calagopusApi.cacheTimeout |
30000 |
Milliseconds to keep the server list. The suspended and installing flags change at this pace. |
calagopusApi.requestTimeout |
5000 |
Milliseconds to wait for the panel. |
calagopusApi.perPage |
100 |
How many servers to ask for per page. The addon reads all pages. |
monitoring.checkInterval |
10000 |
Milliseconds between state checks. |
logging.level |
info |
error, warn, info or debug. |
A value of 0 falls back to the default for the keys with a default in the addon.