-
Docker
-
Docker-compose
-
You need to create
config.txt
file insideconfig
directory. See example below or here. Please do not edit paths forworld
andworldpath
. You just need to modify*.wld
filename(if needed).# See wiki for server configuration fparameters # https://terraria.gamepedia.com/Guide:Setting_up_a_Terraria_server#Making_a_configuration_file world=/terraria/world/Awesome_world.wld autocreate=1 seed=AwesomeSeed worldname=Awesome_terraria_server worldpath=/terraria/world/ difficulty=3 maxplayers=16 password=Awesome_password_here motd=Awesome MOTD here npcstream=0
-
If you already have a save file and you want to host it, just copy your
*.wld
file intoworld
directory and modifyworld
param of yourconfig.txt
-
Clone or copy this repo
-
Inside root project directory run:
docker-compose up -d
-
All console commands you can see here
-
Example usage:
-
Send your message to ingame chat:
docker-compose exec app terraria_cli "say Hello!"
-