GMod 10 Server Tutorial
After all the trouble i had when setting up my server i decided to make a new tutorial that explains every thing I know of from scratch.
(also you don't need to know much of anything about computers to do this tutorial :D)
The first thing you're going to want to do is make a new folder where you want your server to be
( mine is C:\server (so you would make a folder called server is the root of your hard drive)
After that's done click this link: http://www.steampowered.com/download/hldsupdatetool.exe
save it and put it in the folder you just made. Now you need to open the command prompt (its okay if you've never heard of this before :D)
For XP users fallow number 1 and Vista users number 2
1: open the start menu click Run and type cmd and hit enter, now there should be a black box with some letters and stuff.
2: open the start menu click All Programs find Accessories click it now click Command Prompt, now there should be a black box with some letters and stuff.
Now that that's all over (P.S. your probably going to need to do that alot more)
click on the black box and type this cd C:\<the folder you just made> and replace
<the folder you just made with the name of the folder you just made!
so for me it would look like this cd C:\server
Now (if your still even reading this) type this hldsupdatetool.exe and hit enter
Now when it is done type this hldsupdatetool -command update -game garrysmod -dir C:\server and replace server with the folder you made at the start
NOW YOUR DOWNLOADING YOUR SERVER!!!!! :D When it does finish (it can take a few hours) you are going to need to make a shortcut to run your server
now open the folder you downloaded the server to and open notepad and type cd C:\server\orangebox\ (replace server with the name of the folder you made at the start)
hit enter and type this srcds.exe -game garrysmod now hit enter now click file now hit save as and type this gmod server start.bat (TYPE .bat AT THE END!)
and in the drop down menu that says save as type change it to All Files now save it where you want now just click that to start up your server anytime you want!
now open the folder you made at start then open the folder called orangebox, now this is going to look sort of like your gmod root folder but this one is for your
server now if you open the folder called garrysmod you and then the one called addons here you can install addons for your server just like you do for your computer
Now if you have a router you are going to need to do port forwarding first go here http://www.portforward.com/networking/staticip.htm pick your os and fallow that
next go here http://www.portforward.com/english/r...outerindex.htm find your router model number click it then find the link called Half Life 2 Steam Server
click it now fallow that and then your done with port forwarding
now you are going to need to set up your server with all the addons you want (you get to pick e'm!)
Now setting your self as admin, first you need to start your server and join it then minimize GMod then goto the server window click on the players tab find you and wright down you Steam ID
now close GMod and your server then open your server folder open the folder orangebox open garrysmod then open settings now look for users.txt open it now it probably won't look to recognizable as anything
now hold CTRL and press A then click Delete now replace copy all this:
From after this line
// This is your users file
// You can use this file to add people as admins on your server
// Add them to the relevant section
// If you're a Lua coder you can add your own sections and use them
// in your script by doing pl:IsUserGroup( "admin" ) etc
"your name" "your steam id"
Until before this line
and replace your name with you steam name and your steam id with your steam id that you got just before this (and leave the quotes on both of them)
Then save it and close it. Now for an Admin script i like ULX go here http://ulyssesmod.net/?UL=download download the ULX with Ulib (i think the third)
and install it (note that the default install directory for the server folder is srcds so just replace that with you server folder name), now to use admin commands type this in the chat !menu and that will bring up the admin menu there are sortcuts
for all the commands but I'm not going to talk about those.
and for updating your server open the command prompt cd (go back if you forgot how) to the server folder and type this
hldsupdatetool.exe -command update -game garrysmod -dir C:\server (and replace server with your server folder name)
If you have any questions or Comments just post away.
Thanks! (I hope this helps!)