Starting and managing terraria dedicated server. These scripts are designed to run on Linux to make it easy for hosting a dedicated server.
./download-dedicated-server.sh
Which uses yml-install-files to download via
terraria.yaml
.
./terraria.sh
Create serverconfig.txt
at the root of this repository.
The end goal is to play terraria on the dedicated server. A script has been conveniently provided to start the dedicated server.
./terraria.sh
It will start Terraria in the foreground. Type help
to see commands available
inside of the dedicated server. Type exit
to exit the dedicated server.
download-dedicated-server.sh
is designed to always download the latest
dedicated server from terraria.org. To update, simply run the script
again.
Update to latest:
./download-dedicated-server.sh
Run the dedicated server inside of a screen session.
Steam typically stores worlds in:
"${HOME}"/.local/share/Steam/userdata/*/*/remote/worlds/*.wld
To find where your world lives execute the following find command:
find "${HOME}/.local/share/Steam/userdata" -type f -name '*.wld'
I tend to also symlink the remote
directory to saves. e.g.
ln -s $HOME/.local/share/Steam/userdata/.../remote ./saves
That makes it quickly accessible.