A Terraria server provides a platform for players to connect over the internet or other network for multiplayer games. Windows installations of Terraria include its server software. For running on a Linux distribution, you must download the server files. See the Downloads section.
The server runs on TCP port 7777 by default. If you are behind NAT (e.g. residential user), the port used must be port-forwarded in order for other players be able to join. If one can't forward a port, one may choose to use a VPN service like Hamachi or Radmin VPN instead (although in those cases, every player needs to install the VPN software). The default max players is 8 (16 as of 1.4.0.1), but this can be changed during server start-up, as well as within the server configuration file (serverconfig.txt). Non-NAT connections(e.g. business or data center user) typically do not need port forwarding, but may need to allow the port through a firewall.
Often different servers have different requirements for a player to join. Some servers will require the player to have a Softcore or Mediumcore player to play, and some may require that players be at a certain level of the game before joining. Often a public server will have a /register and /login system where the player must have a character with both a unique name and password.
Public servers also usually are run by a group of Administrators and/or Moderators who enforce or regulate rules. Often these rules will disallow mods and hacks, impersonation, and the like. Some servers may also have the capability to allow a player to play online with their singleplayer character without losing their singleplayer inventory.
If you are using an operating system (Such as Raspberry Pi OS (previously called Raspbian) or FreeBSD) that does not come with a prebuilt executable, you could use mono to start the server. This could be useful if you want to host a server on a device such as a Raspberry Pi, or any device that does not run on the x86 architecture.
NOTE: If you are using a non-x86 Linux-based operating system (Such as Raspberry Pi OS), the first few instructions should be the same as the one found here, up until the chmod command. You would need to install mono and and any other required libraries (such as sqlite or screen) if it does not come preinstalled on your system.
If you encounter an error saying "Your mono runtime and class libraries are out of sync.", navigate within the Terraria directory and remove monoconfig, mscorlib.dll, and any files that begin with "Mono" or "System".
Tshock and TDSM are third-party server packages that offer additional functionality, such as in-game commands, whitelists, player passwords, and a plugin interface for added features (such as factions):
It is possible to start the dedicated server using a configuration file that enters the above parameters automatically. The config file must be called using the -config parameter. The file can have any name, but must be in the same folder as TerrariaServer.exe. If a server config file is defined and the file is not located during the server boot, then the server will ask the user to input the parameters as it would if run without a defined config file.
The command ban will ban the indicated player from the server. A banned player, when they try to login, will be displayed the message:You are banned for [duration]: [reason]- [modname]. A banned player may then be un-banned by editing the file "banlist.txt," which is located in the Terraria folder. This document contains a list of all currently banned players. To un-ban a player, delete the player's name and IP address from the list.
Below are instructions for a very basic LAN party setup. At the very least, all computers must be connected to the same network for this to work. If you feel so inclined, you can set the server to have a static LAN IP address, but that's not really necessary. Note that these instructions are targeted at people who have little to no networking experience, and just want to play games.
Everything is at the highest level, Tech support is fast and efficient, the hardware is just a bomb, the servers are super, I bought an average build for the Unturned server, nothing lags, does not hang, the average ping is 45.
Hosting is just a bomb?
Godlike.host is a team of professionals who have vast experience in providing hosting services. We decided to team up to create a new project with nice prices, a convenient control panel and good technical support. You can rent hosting from us to create a game server that will pleasantly surprise you with its 24/7 uptime, uninterrupted operation and easy setup.
Take your gaming experience to the next level! Join our free Terraria server hosting platform on Godlike.Host and immerse yourself in the exciting world of multiplayer gaming. Whether you choose our free temporary server or upgrade to paid, you'll enjoy lag-free gameplay with customizable settings and options, without interruptions or delays.
On Godlike.Host we offer free high-performance servers to support your exciting game adventures. These servers are the same as regular game server rentals. Get high-performance servers with the lowest possible ping. To get started, simply browse our list of free game servers, select your preferred game, and start playing without any hassle.
We offer a modern web-based control panel that makes it easy to update server settings. Additionally, you can control the server directly from Discord, giving you even more flexibility and convenience to manage your game server hosting.
Keep your Terraria server hosting free and safe from DDoS attacks with our powerful DDoS protection, certified data centers, and comprehensive backup solutions. We ensure maximum data security and protection to defend against bad actors and guarantee server stability and availability for your players.
All of our free Terraria servers come equipped with top-of-the-line anti-DDoS protection and multi-layered defense mechanisms to keep your server online, even during the biggest attacks. Our goal is to ensure the best possible gaming experience for our users.
So that everyone can enjoy Godlike free server, we have developed a system of free servers with continuation. This means that after registration, the server is issued for 5 hours. Every 5 minutes, you can increase the working time by 90 minutes, up to 24 hours. If you have not extended the server's operation time, it will be suspended for 72 hours, during which you can resume its operation again. After 72 hours, the server is permanently deleted.
In this case, you can encourage players to keep the server running, for example you can give the barkers various bonuses on the server. To do this, we made a public link function, by going to which anyone can continue the server. Setting the link address and issuing the bonus is configured in the panel.
A free Terraria server hosting is a remote server that works 24/7. Use it for hosting multiplayer online gaming without using third-party software programs (Hamachi, RadminVPN). Play your favorite games and become a part of the gaming community for free.
We do not provide backups for free servers. However, our paid servers includes data backup once every 3 -7 days to ensure that your data is safe and secure. If you require regular backups, we recommend upgrading to the paid version.
About a month ago, it released the last ever update to the game. With that release comes master mode, the hardest difficulty mode in the game. My friends and I wanted to tackle master mode together, and with that we embarked on this crazy journey self-hosting a Terraria server.
In Terraria, lagging during combat is a no-go especially during boss fights which is necessary for progression. These fights require speed and agility, and addition to that each boss requires a specially crafted item that has ingredients that are difficult to obtain to be summoned. As such, reducing lag was a top priority.
After looking around further, I found that you'd generally need a server with 2 GB of RAM for a large-sized world. Smaller world sizes could go with less RAM. For the CPU, there have been accounts of people successfully running Terraria on a low-powered Raspberry Pi 2.
I spun up a Virtual Machine, dedicating 2 CPU cores and 2 GB of RAM and ran Ubuntu 20.04 LTS. While it worked initially, lag issues surfaced whenever three or more players were connected to the server.
The CPU usage kept spiking during boss fights, which was something beyond my control, and players would randomly disconnect before the server saved, causing them to lose items in their inventory which are stored client-side.
However, there was one issue; running any droplets on a cloud infrastructure provider was costly. For our droplet it would have cost me 15 USD per month. This was a temporary solution at best, and we were on DigitalOcean for a week before we went with our final solution.
For this project, I used Raspbian OS. After booting up my Pi4 and enabling SSH through the Raspberry Pi Configuration, I left it in my network closet and continued the rest of the configuration remotely.
I used the same setup instructions I did for the first two solutions, however as Raspbian does not come with a prebuilt executable and architecturally different from Windows (this is a ARM machine), I needed to use mono to run the executable server file instead.
In the past week I install a Terraria 1.3.5.3 server into an Ubuntu v18.04 OS, for playing online with friends. This server should be powered on 24/7, without any GUI, only been accessed by SSH on internal LAN.
My friends ask me if there is a way for them to control the server, e.g. send a message, via internal in-game chat, so I thought use a special character ($) in front of the desired command ('$say something' or '$save', for instance) and a python program, that read the terminal output via pipe, interpreter the command and send it back with a bash command.
c80f0f1006