Update Self-hosted Server
INFO
These steps are not needed if you are connecting to another server. They are only needed when someone is running their own server.
As the server regularly receives bugfixes and improvements, if you are self-hosting it (e.g. playing offline single player or hosting your own multiplayer server), please make sure to update it regularly by following the steps below.
- Stop the running server instance (from command line, pressing CTRL and C together should stop it).
- Back up your server data folder as a precaution.
- In the folder where you cloned the server code, from PowerShell run the commands below.
powershell
cd BostonUnlockedServer
git pullINFO
The first command above (cd BostonUnlockedServer) is only required if you are in the folder above it in PowerShell when running it.
- Start the server normally and check if it is working and your server data is working correctly.
- If your updated server is working correctly, you can delete the backup from step 2 and continue playing normally.
If the server is not working correctly after the update
- First, try rerunning the full server installation (and multiplayer configuration if applicable) then restore your server data backup to it and try again.
- If it still does not work after the previous step, please report a bug and rollback to the older version you were using by stopping the server, running the command below and trying again.
git reset --keep HEAD@{1}