Skip to main content
The Eggs API allows you to retrieve information about eggs, which are the configuration templates for specific game server types (e.g., Vanilla Minecraft, Spigot, Paper, etc.).
Eggs are read-only via the API. They cannot be created, updated, or deleted through the API. Eggs are managed through the admin panel or imported from external sources.

What is an Egg?

An egg contains all the configuration needed to run a specific type of game server:
  • Docker images to use
  • Startup command
  • Installation script
  • Configuration file templates
  • Environment variables
  • Resource requirements

List Eggs

Eggs are accessed through their parent nest. See Nests for listing eggs.

Get Egg Details

Retrieves detailed information about a specific egg.

Path Parameters

integer
required
The internal ID of the nest
integer
required
The internal ID of the egg

Query Parameters

string
Include related resources. Available: nest, servers, config, script, variables

Response

string
Always egg
object

Get Egg Variables

Retrieves the environment variables defined for an egg.

Response

When including variables, the response includes a relationships object with variable details:

Variable Object

integer
Internal variable ID
integer
ID of the parent egg
string
Display name of the variable
string
Description of what the variable does
string
Environment variable name used in the startup command
string
Default value for the variable
boolean
Whether users can view this variable
boolean
Whether users can edit this variable
string
Validation rules (Laravel validation syntax)

Get Egg Configuration

Retrrieves detailed configuration information if the egg extends another egg.

Get Egg Script

Retrieves detailed script information if the egg extends another egg for its installation script.

Usage Examples

Get All Information for an Egg

Find Eggs for Server Creation

Check Available Docker Images

This will output: