
Terraria
Dedicated Server Template
Dig, fight, explore, build! Nothing is impossible in this action-packed adventure game.
Terraria Game Server Hosting
Deploy and manage your own Terraria dedicated server with GameCP's free game server control panel. This template provides a production-ready server configuration with one-click installation, automatic updates via SteamCMD, and full environment variable management. Whether you're hosting for a small group of friends or running a large community server, GameCP makes Terraria server administration simple and reliable.
Resource Requirements
+32 MiB per player
Recommended Players
Performance Tiers
Economy
Small server, 1-4 players
Standard
Medium server, 4-8 players
Pro
Large server, 8-16 players
Startup Command
Default
Default startup command
Environment Variables
SERVER_NAME
RequiredServer Name
Server name displayed in the server browser
(empty)MAX_PLAYERS
RequiredMax Players
Maximum number of concurrent players
8SERVER_MOTD
Server MOTD
Message of the Day displayed when players join.
Welcome!WORLD_NAME
RequiredWorld Name
The name for the world file. Changing this loads a different world.
worldWORLD_SIZE
RequiredWorld Size
Size of the world when auto-created. Only applies to new worlds.
1WORLD_DIFFICULTY
RequiredDifficulty
World difficulty level. Only applies to new worlds.
3WORLD_SEED
World Seed
Seed for world generation. Leave empty for a random seed. Only applies to new worlds.
(empty)NPCSTREAM
NPC Stream Distance
NPC streaming distance. Lower values reduce skipping but increase bandwidth. 0 disables streaming.
0PASSWORD
Server Password
Password required to join the server. Leave empty for no password.
(empty)TERRARIA_VERSION
RequiredTerraria Version
Server version to install. Use 'latest' or a specific version number (e.g. 1.4.4.9 or 1449).
latestLifecycle Scripts
Installation Script
Installation script
Configuration Files
Server Config
Configuration file for Terraria Vanilla (properties format)
//serverconfig.txtpropertiesContainer Configuration
Docker Image
ghcr.io/ptero-eggs/yolks:debian
Technical Profile
Template ID
terraria
Author
GameCP Team
Last Updated
March 13, 2026
Status
ActiveConfiguration Metadata
Information about the origin and version of this game configuration.
Author
GameCP Team
Version
3
Source
gamecp
originalAuthor
iamkubi@gmail.com