TSSGameServer.sh Launch Error Fix for HumanitZ Dedicated Server
Older HumanitZ Linux builds launched through a script called TSSGameServer.sh. Current builds, including 1.1A of 20 October 2026, ship HumanitZServer.sh in the install folder instead. Steam's own launch entry for the server app still names TSSGameServer.sh, which is why some tools and guides look for a file that is no longer there. If your launcher cannot find it, start HumanitZServer.sh.
📄 What the Script Does
HumanitZServer.sh is a short /bin/sh script: it finds its own folder, marks the server binary executable and starts HumanitZServer/Binaries/Linux/HumanitZServer-Linux-Shipping with your parameters.
🧰 Two Common Failures
A \r: command not found error means the script picked up Windows line endings, usually from being edited on Windows. Permission denied means the script itself is not executable.
How to Fix the Launch Script
1. Convert to Unix Format
Only needed if the script was edited or copied through Windows. Strip the carriage returns with dos2unix, or with sed if you don't have it:
# Using sed
sed -i 's/\r$//' HumanitZServer.sh
# Using dos2unix
dos2unix HumanitZServer.sh
2. Fix Execution Permissions
The script sets the server binary executable on every start, but it cannot do that for itself:
chmod +x HumanitZServer.sh
If you start the binary directly instead of through the script, make it executable yourself:
chmod +x HumanitZServer/Binaries/Linux/HumanitZServer-Linux-Shipping
3. Use the Right Launch Parameters
The developers' readme lists these parameters. Pass them to the script, which forwards everything to the server:
./HumanitZServer.sh -log -port=7777 -queryport=27015 -steamservername=MyZWorld
The server is up when HumanitZServer/Saved/Logs/HumanitZServer.log shows Session created!.
Note: if the server stops with a Steam library error rather than a script error, the script is fine and the problem is steamclient.so. See our steamclient.so fix guide.
No Script to Maintain
On Supercraft HumanitZ servers the server is launched for you, so there is no script to repair after a patch: start, stop and restart are buttons in the panel.