Terraria Setup
Host your Terraria server with TShock administration, tModLoader support, and automatic backups. This guide covers setup for vanilla, TShock, and modded servers.
Choose Your Plan
Section titled “Choose Your Plan”| Plan | Best For | Player Capacity |
|---|---|---|
| Starter | Vanilla or light TShock, small worlds | ~4-8 players |
| Pro | Calamity/Thorium, medium worlds, multiple plugins | ~8-12 players |
| Premium | Heavy modpacks, large worlds, multiple concurrent worlds | ~12-16 players |
Quick Start
Section titled “Quick Start”-
Create your server
Go to panel.mambahost.com → Create Server → Terraria
-
Select your runtime
Choose Vanilla, TShock, or tModLoader based on your needs
-
Deploy and configure
Deployment completes in about 2 minutes — download autogenerated configs from
/home/container -
Enable backups
Configure hourly or daily automatic backups before importing worlds
-
Connect and play
Use your server IP to connect from the Terraria client
Server Types
Section titled “Server Types”| Type | Best For | Features |
|---|---|---|
| Vanilla | Pure Terraria experience | No mods, simple setup |
| TShock | Server administration | Permissions, regions, plugins |
| tModLoader | Modded gameplay | Calamity, Thorium, custom mods |
Upload Your World
Section titled “Upload Your World”-
Stop the server from the panel
-
Upload your
.wldfile to/worldsvia SFTP -
Edit serverconfig.txt — set
world=/home/container/worlds/<name>.wld -
Start the server and verify your world loads
TShock Administration
Section titled “TShock Administration”Initial Setup
Section titled “Initial Setup”-
Join the server after first boot
-
Run
/authloginin console to become superadmin -
Store your password securely — you’ll need it for future logins
-
Create permission groups (builder, mod, admin) in
permissions.json
Key Config Files
Section titled “Key Config Files”| File | Purpose |
|---|---|
config.json | Server settings and MOTD |
permissions.json | Permission groups and roles |
sscconfig.json | Server-side character settings |
Useful Plugins
Section titled “Useful Plugins”Install plugins in /ServerPlugins:
- Regions — Protect areas from griefing
- Teleporters — Set up warp points
- Economy — In-game currency system
- Anti-Grief — Automatic protection tools
tModLoader Setup
Section titled “tModLoader Setup”-
Place
.tmodfiles in/Modsfolder -
Enable mods via
Enabled.json -
Restart the server so dependencies install
-
Check logs in
/Logs/Server.txtfor errors
Popular Modpacks
Section titled “Popular Modpacks”| Modpack | Description | Plan Recommendation |
|---|---|---|
| Calamity | Massive content expansion | Pro or Premium |
| Thorium | New classes and bosses | Pro |
| Magic Storage | Improved item management | Any plan |
| Recipe Browser | Crafting assistance | Any plan |
Performance Tips
Section titled “Performance Tips”| Recommendation | Why |
|---|---|
Balance npcstream and maxplayers | Large NPC counts can lag clients |
| Disable autosave on heavy modpacks | Use panel backups instead |
| Schedule regular restarts | Clears accumulated memory |
| Use panel snapshots | Quick restore for corrupted chunks or griefing |
Configuration
Section titled “Configuration”serverconfig.txt Settings
Section titled “serverconfig.txt Settings”world=/home/container/worlds/myworld.wldmaxplayers=8difficulty=2autocreate=3worldname=MyWorld| Setting | Description |
|---|---|
difficulty | 0=Journey, 1=Classic, 2=Expert, 3=Master |
autocreate | World size: 1=Small, 2=Medium, 3=Large |
secure | Enable anti-cheat (1=on) |
npcstream | NPC streaming distance |
Common Issues
Section titled “Common Issues”| Problem | Solution |
|---|---|
| Version mismatch | Ensure server version matches clients; update via panel |
| TShock login issues | Delete tshock.sqlite when migrating and re-run setup |
| tModLoader crashes | Review /Logs/Server.txt for missing dependencies |
| Mass griefing | Restore from backup, tighten regions/permissions |
| Memory errors | Upgrade plan or reduce mod count |
Helpful Links
Section titled “Helpful Links”Need Help?
Section titled “Need Help?”- Support: support@mambahost.com
- Discord: Join our server