How to Host a Terraria Server via IP

Hello Dev, are you looking to host your own Terraria server to play with your friends? Hosting your own server can give you more control over your gameplay experience, and allow you to customize the server settings to your liking. In this article, we will walk you through the steps to host a Terraria server via IP. Let’s get started!

Step 1: Downloading the Server Software

The first step in hosting a Terraria server is to download the server software. You can download the server software from the official Terraria website. Once you have downloaded the software, you will need to extract the files to a location on your computer.

Before you can run the server software, you will need to make some changes to the configuration files. Open the serverconfig.txt file in a text editor and make the following changes:

Configuration Option
Value
world
Name of your Terraria world file
autocreate
Set to 0 if you want to use an existing world file, or 1 if you want to create a new world
port
The port you want to use for your server (default is 7777)

Step 1.1: Creating a World

If you want to create a new world for your server, you can do so by running Terraria and creating a new world. Make note of the name of the world file, as you will need to enter it in the serverconfig.txt file. If you want to use an existing world file, you can skip this step.

Step 1.2: Port Forwarding

Before you can connect to your server from outside your local network, you will need to set up port forwarding on your router. The specific steps to do this will vary depending on your router, but you will need to forward port 7777 (or the port you have chosen for your server) to the IP address of the computer running the server software. You can find your IP address by opening a command prompt and typing “ipconfig”.

Step 2: Running the Server Software

Once you have made the necessary changes to the configuration files, you can run the server software by double-clicking on the TerrariaServer.exe file. The server will start up and you should see a console window with information about the server status.

Step 2.1: Joining Your Server

To join your own server, open Terraria and click on “Multiplayer”. Enter the IP address of your server (which should be your public IP address if you have set up port forwarding correctly) and the port number you have chosen for your server. Click “Join” and you should be connected to your own server!

Step 3: Customizing Your Server

Now that you have your server up and running, you can customize the server settings to your liking. You can do this by editing the serverconfig.txt file and changing the values of various configuration options. Here are some common settings you may want to adjust:

Step 3.1: Difficulty

You can change the difficulty of your server by setting the “difficulty” option in the serverconfig.txt file. Valid values are “0” (Normal), “1” (Expert), or “2” (Master). Note that changing the difficulty will only affect new players who join the server.

READ ALSO  Understanding Host Name Server: A Comprehensive Guide for Dev

Step 3.2: PvP

You can enable or disable PvP on your server by setting the “pvp” option in the serverconfig.txt file. Valid values are “on” or “off”.

Step 3.3: Maximum Players

You can set the maximum number of players allowed on your server by setting the “maxplayers” option in the serverconfig.txt file. The default value is 8.

Step 3.4: Whitelisting Players

You can whitelist players who are allowed to join your server by adding their Steam ID to the whitelist.txt file. Each Steam ID should be on a separate line, and can be found by looking up the player’s profile on the Steam website.

FAQ

Q: I can’t connect to my server from outside my local network. What should I do?

A: Make sure that you have set up port forwarding correctly on your router. You may also need to disable any firewalls or antivirus software that may be blocking the port.

Q: Can I run a Terraria server on a VPS?

A: Yes, you can host a Terraria server on a VPS. You will need to follow the same steps as hosting on your own computer, but you may need to use a different method to access the console window.

Q: Can I play on my own server?

A: Yes, you can play on your own server by connecting to it using the IP address and port number of your server.

Q: Can I use mods on my server?

A: Yes, you can use mods on your server. You will need to install the mods on your computer and then copy the mod files to the appropriate folder on the server.

Q: How do I update my server to the latest version?

A: To update your server to the latest version, simply download the new server software and extract it to the same location as your existing server files. Make sure to back up your configuration files before doing this.

Q: Can I host a server for Terraria: Otherworld?

A: No, Terraria: Otherworld has been cancelled and is no longer in development.

That’s it, Dev! You now know how to host a Terraria server via IP. We hope this guide has been helpful in getting you started with hosting your own server. Happy gaming!