Server

The server software of Terraria is run in the game itself. To run a server, a user must run TerrariaServer.exe.

By default, the TerrariaServer.exe can be found at: %programfiles%\Steam\steamapps\common\terraria

A player then may join the server from game menu, choosing Multiplayer.

The server runs on port 7777 by default and it must be portforwarded in order for other players be able to join. The default number of max players is 8. This can be changed during server startup and in the server configuration (serverconfig.txt).

Features
The server will auto-save the world now and then. A password can be customized for the server.

List of console commands

 * help - Displays a list of commands.
 * playing - Shows the list of players.
 * clear - Clear the console window.
 * exit - Shutdown the server and save.
 * exit-nosave - Shutdown the server without saving.
 * save - Save the game world.
 * kick - Kicks a player from the server.
 * ban - Bans a player from the server.
 * password - Show password.
 * password - Change password.
 * version - Print version number.
 * time - Display game time.
 * port - Print the listening port.
 * maxplayers - Print the max number of players.
 * say - Send a message.
 * motd - Print MOTD.
 * motd - Change MOTD.
 * dawn - Change time to dawn.
 * noon - Change time to noon.
 * dusk - Change time to dusk.
 * midnight - Change time to midnight.
 * settle - Settle all water.

Note that you do not have to do a /[command] to do the command, just type the command with no forward slash into the Command prompt

Banning and Un-Banning
After banning a character using the ban command, that player may be un-banned by navigating to the Terraria folder, and then banlist.txt. This document will contain a list of all banned players and to un-ban a player delete the players name and ip address.

System Requirements

 * Windows Operating System
 * Depending on the World at least 500 MB free RAM for a small world (to be verified on different Servers/Setups)
 * .NET Framework 4.0 (easiest is to install Terraria Client on the Server - this will take care of it)
 * XNA Framework (easiest is to install Terraria Client on the Server - this will take care of it)

More
Servers are often made using hamachi. You can also install more apps to your server like a "tMod".