Skip to content

samrocketman/terraria-dedicated-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 to download via terraria.yaml.

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 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 inside of screen

Run the dedicated server inside of a screen session.

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.

About

Scripts for running a Terraria dedicated server on Linux.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages