- Modify ADDRESSfile to point to your SSH user on the remote server e.g.ADDRESS="[email protected]"
- Execute ./sync_repo. This will setup essential scripts on the remote server.
- Now you can execute ./servers_update,./servers_restartand other administrative tasks. All files without extension are your public interface.
If you're setting up for the first time, call ./servers_update to automatically download the latest binary and launch the dedicated server and the masterserver.
The files in remote-shell are what gets sent to the remote server upon ./sync_repo.
These are never executed on your local machine.
They're called directly on the server in response to your commands.
You're only supposed to use the executable files without extension in the repository's folder - these are your public interface that lets you control the server from your local machine, e.g.:
./servers_update
./servers_restart
If you want to publish to Steam, do this before calling this script:
- Call ./steamcmd.sh +login myloginjust once to login to Steam.
- Add export UPLOAD_TO_STEAM=1right before calling./sign_and_upload_last_builds.
- Also add export STEAM_LOGIN=myloginas it will be needed when callingsteamcmd.sh, but it won't prompt you for password again.