Use this script to update Factorio servers with the Pterodactyl API automatically. Built for Linux.
pip3 install -r requirements.txt
Pterodactyl Admin Panel -> Servers -> (Select your server) -> About
The server ID is the first string as highlighted in the image below.
Click on your account at the top right of the admin panel or navigate to /account/api
Add your API key and server ID(s). To add more servers just continue adding lines: server_id3, server_id4, server_id5, etc.
The server_url is the URL of your Pterodactyl instance with NO trailing "/":
https://pterodactyl.example.com
Rename example.auth.yaml to auth.yaml
mv example.auth.yaml auth.yaml
Optional: Edit and move faupp.service to run on your machine if you wish to daemonize it with systemd.
Enjoy
December 11, 2024
- Initial Commit
December 27, 2024
- Allows multiple servers to be monitored and updated