Add debug messages for debugging when users complain. Do not overwrite `server.properties` if it exists.
Correctly configure PHP `extensions_dir`to fix issues with loading extensions like opcache.so. Change install image to our installer for faster installation.
The tshock egg currently uses `unzip` command in the installation script to extract the downloaded files.
If the user reinstalls the server, the extracted files already exist, and `unzip` prompts for whether to overwrite the files or not. This causes the installation script to get stuck.
This fixes the problem by adding the `-o` option to overwrite the files without prompting.
- Adds the newly discovered `-multihome` flag to fix 0.5.0.6 update's IPv6 related issue, where the IP binds to IPv6 by default, causing a crash on boot. Server will now bind to IPv4 by default. As this is a hotfix, IPv6's possible support will be investigated at a later date.
- Adds the newly discovered `?listen` flag to the `-Port` flag to explicitly declare the port. This will prevent the server from possibly auto-incrementing the port if, for whatever reason, it thinks there's another Satisfactory server present in the same container.
Egg:
- Reverted the startup command so that the game port is the primary port and QUERY_PORT is the Server Query Port. I honestly think it will be confusing either way, so it's a wash for me; but ultimately, if Ptero calls the primary port the "Game Port" in Allocation Management, it should be Satisfactory's "game" port.
- Added the capability to override the server's default max players of 4. This consists of a new variable, default config file creation during install (because the server doesn't auto-create it), and a Configuration Files replacement on boot to accommodate variable changes.
- Reverted Game Port variable to Server Query Port variable.
- Changed port rules to use the more intuitive `between` rule.
README:
- Added Zarklord as a contributor.
- Added Max Players as an Egg Capability.
- Rewrote the Server Ports section (again) to accommodate the egg change and be as clear as possible.
- Added warning about stopping the server and saves.
- Added note to Minimum RAM Requirement that large saves can also cause excessive RAM usage.
- Updated Console Commands section with newly published Wiki information.
- Updated `steamclient.so` Wiki reference link (which will probably break again soon because the Wiki is being changed almost every hour now).
Co-Authored-By: Zarklord <1622280+Zarklord@users.noreply.github.com>
Egg:
- Changed the startup command to call the binary directly to avoid end-users changing the provided bash file to run whatever they'd like.
- Changed the install script to check that the server successfully installed, and makes the server binary executable. Also added Software-Noob as a contributor.
- Fixed the startup command to support custom ports. The SERVER_PORT variable is now tied to the Server Query Port (because that is what clients use to connect to the server). The GAME_PORT variable was added for the Game Port. Also changed the Game Port to use the correct flag.
- Changed the Server Query Port variable to be the Game Port and provided a better description.
- Updated the Beacon Port description to be more accurate. Also unlocked it's restriction to port 15000 because it can be changed now.
README:
- Updated any text mentioning restricted ports to text explaining their configuration. Also used clearer verbiage for the port table.
- Added Software-Noob as a contributor.
- Added info on "initializing"/"claiming" a server.
- Added info on the command line.
- Added "SDL" warning as a warning to safely ignore.
- Changed the Install Script Container to use Pterodactyl Debian Installer Yolk image.
- Removed the apt update code that is already handled by the installer image.
- Mentioned only one server can be run on Ptero due to the port limitation.
- Added mention that external ports must match internal ports (because the game client only looks for port 7777 at the moment)
- Removed them from view of the end user as they less relevant at the moment (because they cannot be changed from the defaults).
- Reworded the Beacon port's description to be more correct and clear.
- Temporarily restricted the Beacon port to 15000 because it currently cannot be changed.
- Fixed misinformation of required ports and made it clear that the default ports are currently required to be used for the server to work.
- Fixed typos.
- Updated the recommended RAM amount, based off an update to the developer's wiki made today.