Multiplayer

Terraria has both single player and multiplayer modes.

In multiplayer, several people can meet up, mine, build, slay monsters, and in general play together.

The items you are carrying in your inventory in single player get carried over to multiplayer and vice-versa (They are also transferred between single player worlds).

Multiplayer worlds function no different than in single player ones, other than you can have friends playing with you and more monsters will spawn than usual. This is not affected by the number of players, only by the fact that there is more than 1 player. A multiplayer world can be played in single player mode and vice versa.

The maximum number of players allowed in a server depends on the settings of the server. Some Multiplayer PvP game modes can be 'invented' if enough coordination is met. Such battlegrounds and large scale PvP game tutorials can be found here.

To set up an easy PvP battleground:


 * Get around 8-12 players.


 * Split into Red and Blue teams.


 * Make 2 bases, with 1 bed inside each to set your spawn point at.


 * Enable PvP.


 * Battle.

Hosting a server

 * One can setup a Multiplayer server either by using the Host & Play feature, command line functions, or by using the Server Console.


 * There are also PVP and team buttons. The team button allows you to join a team, and thus letting you see your teammates' distance and health. You cannot harm your teammates. The PVP button, once activated, lets players attack you (if they aren't on your team).


 * Currently, Terraria connects by IP input (your IP address can be seen here or alternatively here). In the future, it is expected to be able to use Steam's "Join this friend's game" feature as well.


 * One of the larger, feature rich Terraria server-lists can be found here. It is expected that server-list sites will be obsolteted by an in-game server browser.


 * An older way to create local servers is with Hamachi, a tool that allows you to connect to other people within your Hamachi group.

A quick video guide to setting up a Terraria Multiplayer Server using Hamachi

278px|Terraria Multiplayer Server setup using Hamachi

A quick video guide to setting up a Terraria Multiplayer Server without using Hamachi

thumb|300px|left|Terraria Server without Hamachi

Guide to Hosting a Server (no hamachi and maybe outdated)

 * N.B. This is for people who don't like watching youtube. However, there are plenty of resources on youtube and all over the internet


 * First of all there are few things to keep in mind. What kind of server are you hosting? Is it for a few friends just playing around or is it a large public server for everyone (preferably non-griefers) to use. The reason for it is the preformance issue (let's not get into this). In short have a good computer/dedicated server and good-reliable internet.


 * Now, the things we need to do is as mentioned above. The host needs to create a server, find the port it uses and then open that port. Seems a lot of work to play with friends but that's how most servers work.


 * Let's find our internal IP adress first. If you already know your internal IP adress (ie. the ip adress for your modem) then just skip this paragraph. Go into the windows and open up the windows command prompt (cmd.exe). This is usually found by clicking 'start' button and typing into the search tool 'cmd'. Look for the cmd exe and launch it. From there you'll find the good-old DOS format window. Type in 'ipconfig' and a list will appear. Scroll all the way up and look for the... something-something "IPv4...". On the right column of the same line you'll see your internal ip adress. Remember it.


 * Launch Terraria. Go to multiplayer. Start to host a server. Choose a map you already have or start a new one. By default the port is 7777. Leave as that. Leave passwords bland if you want it to be open. It will tell you that the server is launched and tells you the port. Remember the port number (if its not 7777).


 * Now we have our internal ip adress open your web browser. Then type in your internal ip adress into the adress box. Enter it and you'll find it asks for your password. It usually is user: admin, password: admin. If it isn't then someone who set up your modem has changed it, well good luck finding it... Once you're in the local page of your modem look for something in the lines of "application" or "portfowarding" or "gaming" (the reason it's so vague is that different types of modem have different layouts for their page). Create a new port fowarding. It usually is either just filling out a box and enable it (most people forget). If it isn't and its a whole lot of shamone then try using this site to find out how to use your modem setup (note that it keeps asking you to buy stuff, don't, just skip it on the top right corner). The portfoward website tells you how to setup ports but just learn upto how you can open up ports because terraria have different ports.


 * Since we have the port number (7777 by default) type it into all the extrnal port (both if you have a range) and internal port. Make a name for it if you want, so you don't forget. Activate the configuration.


 * All you need to do now is to get the external ip adress. You can do that with the one mentioned above or any other ip checker. When joining you and other must use the external ip adress not the internal one. Also you must note some ISP will not give you a static external ip adress so it may change when you restart your modem. Check it always when you restart your sever.


 * Now you're ready. To test your server open another Terraria game and join your server.


 * If you want to make changes or modify your server you must use your Server Console.