Team Fortress 2 > Mann vs. Machine > Topic Details
//Addest - A Friendly Neighbor Aug 16, 2012 @ 10:38am
How to host your own MvM server (SIMPLE)
1. Click on the "+" sign on the main menu for "Create Server"
2. Select a map from the scroll down menu (MvM maps for MvM mode obviously)
3. Under the "Game" tab enter a hostname
3a. FOR MvM MODE 32 PLAYERS IS REQUIRED!!!!!!!!! (IMPORTANT)
3b. Otherwise, set it to what you want.
4. Create a server password for private, leave it blank for public
5. Other options are discretionary
6. Launch your server
7. Once in the game, go into the dev console (~ by default if enabled) and type the following (Followed by hitting enter)

sv_lan 0

Once you have entered that, type the following in console(yourmapnamehere being a map YOU choose)

map yourmapnamehere

7a. Your server will reset and load the map up
8. Congratulations, you now have your very own TF2 server!

------------------------EXTRA STUFF/HELP------------------------

BONUS TIPS!
Port forward port 27015 to allow hosting if you are having issues
sv_lan 0 lists your game on the server list for all to find and allows players to join
Can't get to the Dev console? Enable it in Options > Keyboard > Advanced...
Here are the three MvM map names
mvm_coaltown
mvm_decoy
mvm_mannworks

EDIT: DO THIS TO CHANGE YOUR PORT
In the launch options for TF2 use +clientport 270xx +clientport 270xx (Replace the x's with numbers you want to use, do not use 27020. And you have to use 05-32, no higher)

Extra help (Thanks to STD|Flinty for these)
List of TF2 CVAR commands
http://www.dodbits.com/dods/index.php/tf2/66-team-fortress-cvars-september-2011

Port Forwarding guides
http://portforward.com/english/routers/port_forwarding/routerindex.htm
Last edited by //Addest - A Friendly Neighbor; Aug 16, 2012 @ 8:47pm
Showing 1-15 of 79 comments
< >
//Addest - A Friendly Neighbor Aug 16, 2012 @ 10:42am 
Please keep this bumped as this is one of the most requested things I have seen around the web today.
//Addest - A Friendly Neighbor Aug 16, 2012 @ 10:47am 
Just give it a simple /signed or something.
r0uge Aug 16, 2012 @ 10:58am 
Thanks I really needed to know how to do this since I can never play otherwise.
Last edited by r0uge; Aug 16, 2012 @ 10:58am
the meme master Aug 16, 2012 @ 11:07am 
How do I change the port?
Flinty Aug 16, 2012 @ 11:13am 
I've been running a server off the hldsupdate tool. I set the server on 2fort and got my friends in who wanted to play then entered the command in to change map to the mvm game mode and any spare spots were instantly filled up with people sat in the hour long queues.

You need to ensure your server is set to 32 player... sadly this might mean people will connect and be stuck in spectator after sitting in a queue for 40minutes. perhaps turning off spectator would help this? but you cant go under 32player or the bots don't spawn. In the end I passworded my server and found 6 people to play.


------------------------------------------------
View this link on how to download the hldsupdatetool and install tf2 server
http://forums.srcds.com/viewtopic/5439

It mentions using a config in a text file but I couldn't get this to function so what I did was to go into your hldsupdatetool directory/orangebox right click on srcds.exe click create shortcut. (rename the shortcut if you like) then right click on the shortcut go to properties and in the target box Ive put the server commands in i.e.

D:\HLDS\orangebox\srcds.exe -console -game tf -hostport 27015 +maxplayers 32 +map ctf_2fort +rcon_password "pass" +mp_allowspectators 0 +sv_password pass +sv_vote_issue_changelevel_allowed_mvm

Ofcourse you would need to change the location to where your srcds is installed and all the other options to your choices. It does seem overwhelming but if you have a bash at it and play a round a little you'll get there and it wont seem so bad.

you might want to take into account your computer and connection type. An old pentium with 1gig of ram and 1meg internet probably isnt going to cope.

I personally am running a core2quad, 8gb ram with 60meg broadband (350kb/s upload) and coped fine with no one having lagg.

Balloon Teenager Aug 16, 2012 @ 11:18am 
THIS JUST GOT AIGNED BY SAXTON HALE!
Accid[é]nt Aug 16, 2012 @ 11:22am 
How will it appear in the server list? Is there any way to change the server name. I was using srcds but this causes problems every so often.
Gray Fox Aug 16, 2012 @ 11:23am 
how do i change the port!!!!
WARMAGAUNT Aug 16, 2012 @ 11:28am 
please ♥♥♥♥ing explain how to change the port?
//Addest - A Friendly Neighbor Aug 16, 2012 @ 11:30am 
In the launch options use +clientport 270xx where client port is > 27005 & <27032. Do NOT use 27020. Updated post.
thewatergamer Aug 16, 2012 @ 11:31am 
how to change port?
Hea♥y Aug 16, 2012 @ 11:33am 
my friends cannot join me and it says that "the server is not responding"
[kL]olimp Aug 16, 2012 @ 11:33am 
Do you have a list of such kind released servers?
//Addest - A Friendly Neighbor Aug 16, 2012 @ 11:33am 
Originally posted by =KA=Hea♥y:
my friends cannot join me and it says that "the server is not responding"
You need to port forward
Flinty Aug 16, 2012 @ 11:33am 
try +hostname namehere in the target box. The name might have to have quote marks.

As for port changing I couldnt do it myself but the command should be hostport so if ingame "rcon hostport *****" from my example about it should be -hostport 27015 but I couldnt get this to work. This is what was mentioned in the forums as how to do it. Perhaps changing the minus to a plus might do it.

if youre using a router you will have to forward the ports ofcourse.
Showing 1-15 of 79 comments
< >
Per page: 15 30 50
Date Posted: Aug 16, 2012 @ 10:38am
Posts: 79