Terraria is a sandbox and adventure game. The dedicated server component can be run as a Windows service using FireDaemon Pro, which allows you to have the dedicated server start automatically at boot prior to login, start multiple instances of the dedicated server and more. This HOWTO will show you how to set it up. You can also use Fusion to manage FireDaemon and other Windows services via a web browser.

Terraria Server Setup Under FireDaemon

First download the classic server software. It can be downloaded from here. The download is small (< 1 MB).

Unzip the files someplace on your hard drive. For the purposes of this HOWTO, we will be using "C:\Terraria Server" as the directory.

Terraria uses one configuration file to store its settings. Open the serverconfig.txt file and uncomment (by removing the # in front of the cvars) all the variables. You need to uncomment them so that the server immediately loads the world when its run by FireDaemon. If you do not do this, then your server will ask you to configure it every time it starts.

Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.

Next start the FireDaemon GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust the paths to suit your installation. Note the required parameters.

  • Executable: The path to your TerrariaServer.exe file. For the purposes of this HOWTO, the path is C:\Terraria Server\TerrariaServer.exe.
  • Working Directory: The directory containing your TerrariaServer.exe file. For the purposes of this HOWTO, the path is C:\Terraria Server\TerrariaServer.exe
  • Parameters: -config serverconfig.txt

Here’s the full parameter list you should have:
-config serverconfig.txt
"-config" - tells the server to load the configuration you customized.

Now click on the Settings tab. If you DON'T want to see your dedicated server running, uncheck the Interact with Desktop check box & select “Hidden” from the “Show Window” dropdown. You can optionally run the Terraria Server as the user you installed it as. In the Logon Account field type your username (e.g. Administrator) and then enter the user's password twice in the Password and Confirm fields. You can change the Process Priority to allocate more CPU time to the dedicated server or specify which CPU or core the dedicated server will run on (in the case of multi-processor, hyperthreaded or multi-core CPUs).

Now click on the Lifecycle tab. Uncheck Graceful Shutdown as Terraria doesn't respond to it.

Now click OK to finish setup and start your Terraria server!