Module FastDL, fork of Dr3Amer3r
Simplified version.
AppID | Game | Supported |
---|---|---|
~ | If you test a game and see it's working contact me to add to the list | |
~ | All HL1/HL2 games and mods | ✅ |
440 | Team Fortress 2 | ✅ |
500 | Left 4 Dead | ✅ |
550 | Left 4 Dead 2 | ✅ |
730 | Counter-Strike: Global Offensive | ✅ |
4000 | Garry's Mod | ✅ |
225840 | Sven Coop | ✅ |
- Run the command below to assign user www-data to group pterodactyl
gpasswd -a www-data pterodactyl
- Run the commands below to set group permissions for read and exec
chmod 755 /var/lib/pterodactyl/ && chmod 755 /var/lib/pterodactyl/volumes/
- Add the command below in the last line of Eggs "Install script"
chmod 750 /mnt/server/
- Add current virtual.conf to conf.d directory of a nginx daemon and edit the line, ith your currently running node FQDN. This virtual.conf is configured to run as root under /var/lib/pterodactyl/volumes/ and list directories from here as default.
server_name example.website.ro;
- We will need to configure our egg to use a JSON file parser.
{
"csgo/cfg/server.cfg": {
"parser": "file",
"find": {
"sv_downloadurl": "sv_downloadurl \"http://{{env.P_SERVER_LOCATION}}/{{env.P_SERVER_UUID}}/csgo/\"",
"sv_allowdownload": "sv_allowdownload \"1\"",
"sv_allowupload": "sv_allowupload \"0\""
}
}
}
NOTE: Please pay attention that the "sv_downloadurl" variable has a /csgo at the end, this can be configured on ANY running egg with your desired path.
After that, we need to name our locations as our FQDN (this was much easier for me to configure it as we have the description for locations who show our CPU names. So, location list should contain in "Short Code" the FQDN address, let's say 'example.website.ro' or your domain. Finally, restart your nginx and your server running with the edited egg. That's it.
systemctl restart nginx
ornginx -s reload
Our sv_downloadurl will be like this
http://example.website.ro/{{PTERODACTYL_UUID}}/csgo
Dr3Amer3r - Pterodactyl FastDL Version v1