> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dezerx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Calagopus

> Create game servers on the Calagopus panel when an order is paid.

![Calagopus settings in Spartan](https://mintcdn.com/dezerx/dVNBM3sq4VCh7CKa/public/services/calagopus/settings.webp?fit=max\&auto=format\&n=dVNBM3sq4VCh7CKa\&q=85\&s=4f08e22b4d5dfa7e3c81a2c47a3e83ad)

Calagopus is a Rust based game server panel. The module creates a panel user and a server for each order, and keeps limits, suspensions and terminations in sync.

## Connect Spartan

**1. Create an API key**

In the Calagopus admin area create an API key with access to users, servers, nodes, locations and eggs.

**2. Enter the connection**

Open Admin, Integrations, Modules, Calagopus. On the API Settings tab enter the Calagopus URL and the API key, press Test Connection, then Save Settings.

**3. Choose provisioning options**

Under Provisioning choose whether to delete backups when a server is terminated, whether to send the Calagopus welcome email, and the language for new panel users.

## Single sign-on

Customers get an Open control panel button on each service that signs them straight in.

**1. Enable it**

Press Enable on the Single sign-on card. Spartan creates the OAuth provider in Calagopus for you.

**2. Check the URLs**

The card shows the Authorize, Token, User info and callback URLs. They are filled in automatically, copy them only if you set the provider up by hand.

> [!NOTE]
>
> Rotate client secret replaces the secret on both sides. Two-factor for sign-on follows the setting on the provider in Calagopus.

## Other tabs

| Tab | Use |
| - | - |
| Billing Config | Credit purchases, preset moves, low credit handling |
| Auto Stock | Turns products on or off by free node capacity |
| Server Background | Artwork per egg |
| Preset Groups, Presets | Ready made plans customers can pick or switch between |

## Set up a product

Open the product, then the Module tab.

![Calagopus product module tab](https://mintcdn.com/dezerx/dVNBM3sq4VCh7CKa/public/services/calagopus/product.webp?fit=max\&auto=format\&n=dVNBM3sq4VCh7CKa\&q=85\&s=057b504d1fe1a3faac7b3dc8c3d92aac)

| Field | What it does |
| - | - |
| Server Manager, Plugin Manager, Mod Manager | Customer tools on the service page |
| Location, Node | Where the server is placed. Node Automatic picks the best node in the location |
| Nest, Egg | What gets installed |
| Docker image, Startup command | Overrides the egg defaults |
| Memory, Memory overhead, Swap, Disk, CPU, IO weight | Resource limits |
| Pinned CPUs | Pin the server to specific CPU threads |
| Upload and download bandwidth limit | Network caps |
| Port array, Dedicated IP | Extra ports and a reserved IP, same format as [Pterodactyl](https://docs.dezerx.com/services/Pterodactyl.md#port-array) |
| Allow overallocation | Let the node go past its limits |
| Egg variables | JSON that overrides egg variables |
| Backup configuration | Where backups are stored |
| Start after install, Skip installer, Auto start behavior | Install and boot behavior |
| Hugepages and KVM passthrough | Advanced runtime flags |
| Timezone, Labels | Server metadata |
| Mount and Device rows | One switch per mount or device on the panel |
| Per hour billing | Charge by usage |

> [!TIP]
>
> Press Refresh options after you add a node, egg or mount in Calagopus.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.