Creating servers in Pterodactyl: Difference between revisions

From Endurance Coalition
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


== Eggs ==
== Eggs ==
An ''egg'' is a file which tells Pterodactyl ''how'' to install, launch, and manage whatever application the egg is advertising to be installable. It gives Pterodactyl the commands necessary to download and setup the server files automatically. It also sets what configuration options are available to server operators.<ref>For example, for the Arma server, it's egg is configured to give operators an option in the panel to change the server's active modlist. The egg maps this created option to the appropriate line on Arma's <code>server.cfg</code> file.</ref>
An ''egg'' is a Pterodactyl-specific configuration file which tells Pterodactyl ''how'' to install, launch, and manage a particular application autonomously. It also sets what configuration options are available to operators in the panel itself.<ref>For example, for the Arma server, it's egg is configured to give operators an option in the panel to change the server's active modlist. The egg maps this created option to the appropriate line on Arma's <code>server.cfg</code> file.</ref>


As all games are different not ''all'' egg installations will be the same. ''Some'' degree of basic server and computer literacy will be necessary. This guide will aim to be as helpful as possible in spite of this.
While the adding of a new egg to the panel is always the same, because by their nature all game servers<ref>Pterodactyl can be used for non-game servers too, like [https://foundryvtt.com/ FoundryVTT] or TeamSpeak, but the point stands.</ref> are different, the configuration and effort required to get a server to launch for the first time is case-by-case.
 
The benefit of an egg is that, so long as it has been added to the list of eggs on the panel, EDC can terminate and boot up the relevant software on demand.


== Step 0: Checking if we have the egg ==
== Step 0: Checking if we have the egg ==
The first thing we want to do is see if we currently have the egg or not.   
Before we scour the internet for an egg let's first check we don't already have it and save ourselves the trouble.   


# Log into the panel at https://edcgaming.org.
# Log into the panel at https://edcgaming.org.
# Click the cog icon to the left of the colored smiley face to access the administrative section of Pterodactyl.[[File:Pterodactyl admin panel icon.png|none|thumb|''The Pterodactyl panel button to get to the administrative section.'']]
# Click the cog icon to the left of the colored smiley face to access the administrative section of Pterodactyl.[[File:Pterodactyl admin panel icon.png|none|thumb|''The Pterodactyl panel button to get to the administrative section.'']]
# Click the <code>Nests</code> button on the following page.[[File:Pterodactyl nests panel icon circled.png|none|thumb|383x383px|''The Pterodactyl panel nests button in the administrative section.'']]
# Click the <code>Nests</code> button on the following page.[[File:Pterodactyl nests panel icon circled.png|none|thumb|383x383px|''The Pterodactyl panel nests button in the administrative section.'']]
You will be greeted with the following list (or similar looking list).
You will then be greeted with the following list (or similar looking list).
[[File:Pterodactyl list of nests.png|none|thumb|820x820px|''List of Pterodactyl egg nests.'']]
[[File:Pterodactyl list of nests.png|none|thumb|820x820px|''List of Pterodactyl egg nests.'']]
The term ''nest'' is fairly self-explanatory. Click into the nests and see if an egg for the software you want to spin up is present.
The term ''nest'' is fairly self-explanatory. Click into the nests and see if an egg for the software you want to spin up is present.
Line 37: Line 35:
}}
}}


=== Finding the egg ===
=== a. Finding the egg ===
The following locations are commonly used to find eggs:
The following locations are commonly used to find eggs:


* https://pelican-eggs.github.io/pterodactyl/ (Option 1)
* https://pelican-eggs.github.io/pterodactyl/ (Option 1)


For the sake of this guide, let's suppose we wish to spin up a ''Mordhau'' server. On the ''Option 1'' list, we find that ''Mordhau's'' egg is said to be located at [https://raw.githubusercontent.com/pelican-eggs/games-steamcmd/refs/heads/main/mordhau/egg-pterodactyl-mordhau.json a very long URL]. Going to this URL presents a raw page with text. You are viewing a JSON file. The entirety of this page's contents should be saved to your computer in some fashion. The advised way is to right click on the page and select <code>Save as</code>.  
For the sake of this guide, let's pretend we want to spin up a ''Mordhau'' server. On the ''Option 1'' list, we find ''Mordhau's'' leads to a page with raw text. This page is the egg in it's raw form: a JSON file. The entirety of this page's contents should be saved to your computer as a <code>.json</code> file. The advised way is to right click on the page and select <code>Save as</code>.  


=== Installing the egg ===
=== b. Installing the egg ===
#Log into the panel at https://edcgaming.org.
#Log into the panel at https://edcgaming.org.
# Click the cog icon to the left of the colored smiley face to access the administrative section of Pterodactyl.[[File:Pterodactyl admin panel icon.png|none|thumb|''The Pterodactyl panel button to get to the administrative section.'']]
# Click the cog icon to the left of the colored smiley face to access the administrative section of Pterodactyl.[[File:Pterodactyl admin panel icon.png|none|thumb|''The Pterodactyl panel button to get to the administrative section.'']]
# Click the <code>Nests</code> button on the following page.[[File:Pterodactyl nests panel icon circled.png|none|thumb|383x383px|''The Pterodactyl panel nests button in the administrative section.'']]
# Click the <code>Nests</code> button on the following page.[[File:Pterodactyl nests panel icon circled.png|none|thumb|383x383px|''The Pterodactyl panel nests button in the administrative section.'']]
#You will be greeted with the following list (or similar looking list). Click <code>Import Egg</code>.[[File:Pterodactyl list of nests.png|none|thumb|820x820px|''List of Pterodactyl egg nests.'']]
#You will be greeted with the following list (or similar looking list). Click <code>Import Egg</code>.[[File:Pterodactyl list of nests.png|none|thumb|820x820px|''List of Pterodactyl egg nests.'']]
#You will be shown a confirmation prompt. In this prompt, select the relevant JSON file, and ensure to set the nest to <code>Non-Default Games</code>.[[File:Pterodactyl egg import prompt.png|none|thumb|402x402px|''Pterodactyl egg importing prompt.'']]
#You will be shown a confirmation prompt. In this prompt, select the JSON file, and ensure to set the nest to <code>Non-Default Games</code>.[[File:Pterodactyl egg import prompt.png|none|thumb|402x402px|''Pterodactyl egg importing prompt.'']]
#Click <code>Import</code>.
#Click <code>Import</code>.
#You should see a new page with a lot of information on it and a green prompt saying the import was successful.[[File:Pterodactyl successful egg import.png|none|thumb|361x361px|''Pterodactyl successful egg import notification.'']]
#You should see a new page with a lot of information on it and a green prompt saying the import was successful.[[File:Pterodactyl successful egg import.png|none|thumb|361x361px|''Pterodactyl successful egg import notification.'']]
If you know what you are doing, or feel confident in your server literacy, you can tinker on this page. Otherwise, you should be able to safely navigate away.
== Step 2: Spin up server ==
== Step 2: Spin up server ==
 
So, we either just installed our desired egg, or we found that the egg already exists. Let's try to launch the application.
# Click the cog icon to the left of the colored smiley face to access the administrative section of Pterodactyl.[[File:Pterodactyl admin panel icon.png|none|thumb|''The Pterodactyl panel button to get to the administrative section.'']]
# Click the <code>Servers</code> button while in the administrative section of the panel.[[File:Pterodactyl servers panel icon circled.png|none|thumb|529x529px|''The Pterodactyl panel "Servers" button in the administrative section.'']]
# Click the <code>Servers</code> button on the following page.[[File:Pterodactyl servers panel icon circled.png|none|thumb|529x529px|''The Pterodactyl panel servers button in the administrative section.'']]
#Near the top right of the server list, click the green <code>Create New</code> button.
#Near the top right of the server list, click <code>Create New</code>.
From here, you are going to see a form requesting a ''lot'' from you. Review the table below for assistance.
From here, you are going to see a considerable form requesting a lot of information from you. Review the table below for assistance.
{| class="wikitable"
{| class="wikitable"
!Field
!Field

Revision as of 02:38, 6 October 2025

This guide will go over how to create servers on Pterodactyl.

Eggs

An egg is a Pterodactyl-specific configuration file which tells Pterodactyl how to install, launch, and manage a particular application autonomously. It also sets what configuration options are available to operators in the panel itself.[1]

While the adding of a new egg to the panel is always the same, because by their nature all game servers[2] are different, the configuration and effort required to get a server to launch for the first time is case-by-case.

Step 0: Checking if we have the egg

Before we scour the internet for an egg let's first check we don't already have it and save ourselves the trouble.

  1. Log into the panel at https://edcgaming.org.
  2. Click the cog icon to the left of the colored smiley face to access the administrative section of Pterodactyl.
    The Pterodactyl panel button to get to the administrative section.
  3. Click the Nests button on the following page.
    The Pterodactyl panel nests button in the administrative section.

You will then be greeted with the following list (or similar looking list).

List of Pterodactyl egg nests.

The term nest is fairly self-explanatory. Click into the nests and see if an egg for the software you want to spin up is present.

Review the table below for what you should do now.

Desired egg IS present Desired egg is NOT present
Skip to Step 2: Spin up server Continue to Step 1: Finding and installing an egg

Step 1: Finding and installing an egg

a. Finding the egg

The following locations are commonly used to find eggs:

For the sake of this guide, let's pretend we want to spin up a Mordhau server. On the Option 1 list, we find Mordhau's leads to a page with raw text. This page is the egg in it's raw form: a JSON file. The entirety of this page's contents should be saved to your computer as a .json file. The advised way is to right click on the page and select Save as.

b. Installing the egg

  1. Log into the panel at https://edcgaming.org.
  2. Click the cog icon to the left of the colored smiley face to access the administrative section of Pterodactyl.
    The Pterodactyl panel button to get to the administrative section.
  3. Click the Nests button on the following page.
    The Pterodactyl panel nests button in the administrative section.
  4. You will be greeted with the following list (or similar looking list). Click Import Egg.
    List of Pterodactyl egg nests.
  5. You will be shown a confirmation prompt. In this prompt, select the JSON file, and ensure to set the nest to Non-Default Games.
    Pterodactyl egg importing prompt.
  6. Click Import.
  7. You should see a new page with a lot of information on it and a green prompt saying the import was successful.
    Pterodactyl successful egg import notification.

Step 2: Spin up server

So, we either just installed our desired egg, or we found that the egg already exists. Let's try to launch the application.

  1. Click the Servers button while in the administrative section of the panel.
    The Pterodactyl panel "Servers" button in the administrative section.
  2. Near the top right of the server list, click the green Create New button.

From here, you are going to see a form requesting a lot from you. Review the table below for assistance.

Field Instructions
Server Name Set as the name of the software/game.
Server Owner Set as your Pterodactyl account.
Server Description Discretionary. Not relevant to anything.
Node Advised it be left alone.
Default Allocation Advised it be left alone.
Additional Allocation(s) Advised it be left alone.
Database Limit Advised it be left alone.
Allocation Limit Advised it be left alone.
Backup Limit Discretionary; advise equal to or less than 3.
CPU Limit Advised it be left alone.
CPU Pinning Advised it be left alone.
Memory This is the server's available memory. Set to the minimum amount necessary to function. This may not be set to 0.
Swap Advised it be left alone.
Disk Space This is the server's actual available disk space. Set to the minimum amount necessary to function. This may not be set to 0.
Block IO Weight Advised it be left alone.
Enable OOM Killer Terminates server if memory is exceeded. Discretionary.
Nest Select nest that has the egg you wish to use.
Egg Select egg you wish to use.
Skip Egg Install Script Advised it be left alone.
Docker Image Egg dependent.

Remaining options on this form are determined by the egg. This inherently makes it impossible to provide further assistance here. Seek help from other experienced operators and search online.

When all options have been set, click Create Server.

Footnotes

  1. For example, for the Arma server, it's egg is configured to give operators an option in the panel to change the server's active modlist. The egg maps this created option to the appropriate line on Arma's server.cfg file.
  2. Pterodactyl can be used for non-game servers too, like FoundryVTT or TeamSpeak, but the point stands.