-
Upload the
modules/servers/calagopus/directory to your WHMCS installation at:/path/to/whmcs/modules/servers/calagopus/
-
In WHMCS Admin, go to System Settings → Servers → Add New Server:
- Module: Select "Calagopus"
- Hostname: Your panel domain (e.g.
panel.example.com) - Password: Your Calagopus admin API key
- Secure: Check if using HTTPS
- Click "Test Connection" to verify
-
Create a Server Group and assign your Calagopus server to it.
-
Create a Product and set the module to "Calagopus", then configure the product options.
WHMCS has no custom per-server settings for provisioning modules, so server
options are set in the server's Access Hash field, one key=value per
line. Values of on, 1, yes or true enable an option; options are off
by default.
| Key | Purpose |
|---|---|
delete_users_on_delete |
When a client is deleted in WHMCS, also delete the linked panel user (matched by external ID) and every server they own on this panel. |
WHMCS only detects the module's hooks.php when the module is activated. If
you upgrade from a version without it, open the Module Settings tab of a
Calagopus product and click Save Changes once.
Failures are written to the module log (System Logs → Module Log, which only records entries while Module Debug Mode is enabled); the WHMCS client is deleted either way.
Every module setting can be overwritten per service through WHMCS Configurable Options or Custom Fields, just like the official Pterodactyl module. Resolution priority:
- Configurable Option matching the setting's friendly name (e.g.
Memory (MB)) - Configurable Option matching the setting's key (e.g.
memory) - Custom Field matching the friendly name
- Custom Field matching the key
- The product's module setting
- Module default
A configurable option named Memory (MB)|Memory works too - WHMCS only
passes the part before the | to the module.
| Key | Friendly Name |
|---|---|
nest_uuid |
Nest UUID |
egg_uuid |
Egg UUID |
node_uuid |
Node UUID (optional) |
location_uuids |
Location UUIDs (deploy mode) |
memory |
Memory (MB) |
swap |
Swap (MB) |
disk |
Disk (MB) |
cpu |
CPU Limit (%) |
memory_overhead |
Memory Overhead (MB) |
io_weight |
IO Weight (10-1000, blank=default) |
allocations_limit |
Allocation Limit |
database_limit |
Database Limit |
backup_limit |
Backup Limit |
schedule_limit |
Schedule Limit |
custom_feature_limits |
Custom Feature Limits |
docker_image |
Docker Image (optional) |
startup_command |
Startup Command (optional) |
server_name_prefix |
Server Name Prefix |
variables |
Egg Variables |
skip_installer |
Skip Installer |
start_on_completion |
Start on Completion |
backup_configuration_uuid |
Backup Configuration UUID (optional) |
hugepages_passthrough |
Hugepages Passthrough |
kvm_passthrough |
KVM Passthrough |
For yes/no settings, override values of on, 1, yes or true enable the
setting; anything else disables it.
These have no field on the product page but are honored when supplied as a configurable option or custom field:
| Key | Friendly Name | Purpose |
|---|---|---|
server_name |
Server Name | Full server name (replaces prefix + service id) |
pinned_cpus |
- | Comma-separated CPU core ids, e.g. 0,1,2 |
Each egg variable can be overwritten by a configurable option or custom field
named after the variable's display name or its environment variable
name. Example: for a variable Minecraft Version / MC_VERSION, either
Minecraft Version or MC_VERSION works as the option name.
Each key defined in the product's Custom Feature Limits field (e.g.
plugins:5,worlds:3) can be overwritten individually by a configurable option
or custom field with the same name (e.g. an option named plugins). The key
must be present in the product's base definition to be sent to the panel.