Very simple Fast DLL pterodactyl setup. This suports any of HL1/HL2 games and mods such as CS:GO and TF2
Follow these 3 simple steps to install this module.
- Copy your apache file "FastDLL-Apache.conf" or "FastDLL-ApacheSSL.conf" in
etc/apache2/sites-available
or/etc/httpd/conf.d/
(If on CentOS) - Edit the DNS.DOMANIN.COM from the file to your Fully Qualified Domain Name (FQDN), you can find it in your node settings.
IF YOU TRY USING SSL When using the SSL configuration you MUST create SSL certificates, otherwise your webserver will fail to start. Pterodacyl has a doc about this you can find it HERE .You need to certificate the FQDN in order to work !!!!
- Copy your NGINX file "FastDLL-NGINX.conf" to conf.d directory of a nginx daemon.
- Edit :
server_name DNS.DOMANIN.COM; to your Fully Qualified Domain Name (FQDN);
- The following command assings the right permission for the module and to assign a user www.data for pterodactyl
gpasswd -a www-data pterodactyl && chmod 755 /var/lib/pterodactyl/ && chmod 755 /var/lib/pterodactyl/volumes/
- Restart web configuration:
systemctl restart nginx or nginx -s reload
* You do not need to run any of these commands on CentOS (For CentOS systemctl restart httpd ) *
sudo ln -s /etc/apache2/sites-available/FastDLL-Apache.conf /etc/apache2/sites-enabled/FastDLL-Apache.conf (For Apache NON SSL)
sudo ln -s /etc/apache2/sites-available/FastDLL-ApacheSSL.conf /etc/apache2/sites-enabled/FastDLL-ApacheSSL.conf (For Apache WITH SSL)
sudo a2enmod rewrite
systemctl restart apache2
- Edit the eggs install script with the following line at the very bottom end:
chmod 750 /mnt/server/
- If you allready have installed a server and want to add FastDLL you need to run this command in SSH:
chmod 755 /var/lib/pterodactyl/volumes/SERVER_UUID
Change the UUID to yours
- Configure our egg to use a JSON file parser: Edit the Configuration Files section from the egg config with the following: (For CSGO) Create a server.cfg file in csgo/cfg if you dont have one Please insert the node Link (yqdn) in [NODE LINK] and change http to https if you use SSL for the node subdomain.
{
"csgo/cfg/server.cfg": {
"parser": "file",
"find": {
"sv_downloadurl": "sv_downloadurl \"http://[NODE LINK]/{{env.P_SERVER_UUID}}/csgo/\"",
"sv_allowupload": "sv_allowupload \"0\"",
"sv_allowdownload": "sv_allowdownload \"1\""
}
}
}
3. Name your node locations as our FQDN so it will act as a link or if you use only one node and onle location you can manualy edit the code and change {{env.P_SERVER_LOCATION}} in to your FQDN for example:
"sv_downloadurl": "sv_downloadurl \"http://DNS.DOMAIN.COM/{{env.P_SERVER_UUID}}/csgo/\"",
- For further error please contact me.
- The FastDownload url shoud look something like this http(s)://DNS.DOMAIN.COM/SERVER_UUID/csgo
- Dr3Amer3r - Credits Pterodactyl FastDL Version v1