Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samrocketman/terraria-dedicated-server
Scripts for running a Terraria dedicated server on Linux.
https://github.com/samrocketman/terraria-dedicated-server
dedicated-server linux steam terraria terraria-dedicated-server
Last synced: 3 months ago
JSON representation
Scripts for running a Terraria dedicated server on Linux.
- Host: GitHub
- URL: https://github.com/samrocketman/terraria-dedicated-server
- Owner: samrocketman
- Created: 2017-04-20T02:44:33.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-05-04T01:00:54.000Z (9 months ago)
- Last Synced: 2024-05-04T02:22:23.897Z (9 months ago)
- Topics: dedicated-server, linux, steam, terraria, terraria-dedicated-server
- Language: Shell
- Size: 4.88 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraria dedicated server
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
./download-dedicated-server.sh
Which uses [yml-install-files][yml-install-files] to download via
[`terraria.yaml`](terraria.yaml).[yml-install-files]: https://github.com/samrocketman/yml-install-files
# Launch your server
./terraria.sh
# Optional Setup server configuration
Create `serverconfig.txt` at the root of this repository.
# Start the server
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.# Pro tips
### Updating dedicated server
[`download-dedicated-server.sh`][2] is designed to always download the latest
dedicated server from [terraria.org][1]. To update, simply run the script
again.Update to latest:
./download-dedicated-server.sh
### Run inside of screen
Run the dedicated server inside of a [screen session][3].
### Reuse a world generated from Steam
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.
[1]: https://terraria.org/
[2]: download-dedicated-server.sh
[3]: https://help.ubuntu.com/community/Screen