How to edit the Terraria server settings using serverconfig.txt

Login to your server game panel and select your terraria server.

Navigate to the file manager and locate the file named serverconfig.txt

click the file to edit

In the serverconfig.txt you’ll find the following options to edit.

worldpath=/home/container/saves/Worlds
worldname=world
world=/home/container/saves/Worlds/world.wld
difficulty=3
autocreate=1
port=7777
maxplayers=8
motd=Welcome!

Modify the values and click

 SAVE CONTENT

Ready to play?

Run your own Terraria server with XGamingServer

Spin up an always-on Terraria server your friends can join in minutes — no port-forwarding, no tech headaches.

99.9%Uptime SLA
< 5 minInstant setup
24/7Human support
DDoSProtected
Instant setup Your server is live in minutes with a one-click control panel.
Mods & plugins Install mods, plugins and workshop content in a few clicks.
DDoS protected Enterprise DDoS mitigation keeps your server online 24/7.
Low-latency hardware Premium CPUs & NVMe SSDs for lag-free multiplayer.
Free backups Automatic backups so your world is never lost.
Real human support Gamers helping gamers — 24/7, no bots, no scripts.

Pick your Terraria plan & play in minutes

See all plans
Starter $8.40/mo 4 GB RAM Renews $12/mo Buy now
Rookie $17.50/mo 8 GB RAM Renews $25/mo Buy now
Pro $24.50/mo 12 GB RAM Renews $35/mo Buy now