Creating servers in Pterodactyl: Difference between revisions

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