Terraria Game Details
Terraria Server Hosting FAQ
Want to make your own Terraria game server? How to create a Terraria game server using Steamcmd.
Creating a Terraria game server using SteamCMD is an excellent way to set up a private or public server for you and your friends to play on. This step-by-step guide will walk you through the process of setting up a Terraria server from scratch, using SteamCMD, which is a command-line version of the Steam client. It's suitable for both beginners and experienced users, aiming to provide a comprehensive yet understandable guide. By the end of this article, you'll have a fully operational Terraria server ready for adventure.
Step 1: Download SteamCMD
First, you need to download SteamCMD, the command-line version of Steam. SteamCMD is available for Windows, Linux, and Mac, making it versatile for server administrators. You can download SteamCMD from the official Valve Developer Community website. Once downloaded, extract the contents of the zip file to a directory of your choice. This directory will be used to run SteamCMD and download the Terraria server files.
Step 2: Install the Terraria Server
After extracting SteamCMD, you'll need to open a command prompt or terminal window and navigate to the directory where you extracted SteamCMD. The next step is to log in to the Steam servers and download the Terraria server files. Here are the commands you'll use:
./steamcmd.sh +login anonymous +force_install_dir ../TerrariaServer +app_update 105600 validate +quit
For Windows, you might be using steamcmd.exe instead of ./steamcmd.sh. The +force_install_dir command specifies the directory where you want the Terraria server files to be installed. You can change ../TerrariaServer to any path where you wish to install the server. The +app_update 105600 command tells SteamCMD to download the Terraria server files (105600 is the app ID for Terraria on Steam).
Step 3: Configure Your Server
Once the server files are downloaded, you'll find a variety of files and folders in your specified directory. Among these is the serverconfig.txt file, which you can edit to configure your server's settings. Some key settings to consider include:
- Server Name: The name that will appear in the server list.
- Port: The port number for the server. The default is 7777, but you can change it if needed.
- Password: If you want your server to be private, set a password here.
- Max Players: Set the maximum number of players that can join your server.
Edit these settings according to your preferences using a text editor.
Step 4: Launch Your Server
To start your Terraria server, run the TerrariaServer.exe file (or the equivalent on Mac/Linux). Upon launching, you'll be prompted to select a world to play in. You can choose an existing world or create a new one. After selecting a world, your server will start, and you'll see a message indicating that the server is running.
Step 5: Connecting to Your Server
With your server up and running, it's time to connect to it. Launch Terraria and select 'Multiplayer' > 'Join via IP'. Enter the IP address of the server machine, and if you set a port other than the default (7777), make sure to enter that as well. If a password was set, you would be prompted to enter it. After connecting, you should be able to play Terraria with your friends on your server.
Step 6: Maintaining Your Server
Maintaining your server involves keeping it up to date and managing the player list. To update your server, you'll periodically need to run the SteamCMD commands from Step 2 to download the latest server files. Additionally, you can use server commands to manage players, such as kicking or banning disruptive players.


