Post by KillerHex on Apr 8, 2006 13:54:34 GMT -5
This is a guide I put together on how to make a Gmod server.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
The first thing you want to do is check to see if you have a router, If you do it is much simpler to just disconnect it and connect your modem directly to your computer. Once that is done copy your gmod folder(in your programfiles/valve/steam/steamapps/sourcemods) to your dedicated server folder( in programfiles/valve/steam/steamapps/:yourSTEAMusername:/source dedicated server) make sure you've already installed source dedicated server on your tools tab of steam. Then go to your tools tab, right click on source dedicated server, then select launch options. In the window that pops up select set launch options. then copy and paste this command into the little box, -game gmod9 -console -maxplayers 4 +map gm_construct.bsp of course you can change the max number of players(my feeling is that admining over 4 people is biotch) and you can also change the map, but dont forget to add .bsp to the end of the map name! after hitting ok douple click on source dedicated server and a command prompt lookin gwindow should appear. it should say that a connection to steam servers was sucesful and that VAC secure mode is on or off. After you see that you can start to add some commands, ill list the most important ones. when u see parenthases thats were your supposed to enter info, DON T INCLUDE THE PARATHASES.
---------------------------------------------------------
hit enter after your done typing a command
hostname (what you want the name of the server here)
an example: hostname bobserver
status
this shows whos on your server and some other info
kick (person you want to kicks name here)
this is to kick some one, they will be able to come back
banid (the amount of hours to ban them, 0 is forever) (steam id) kick
the steam id you can find when you type status, a steam id will look like this: STEAM_0:1:23456789
so if i banned that person forever it would look like:
banid 0 STEAM_0:1:23456789 kick
writeid
this saves any steamid's that you banned, so if the server crashes those people will still be banned, enter this after banning some one.
listid
this will list all the id's that you have banned(i got 44 people on my ban list )
removeid (listid will show you a list of banned people that are numbered, write there place on that list here)
this will unban some one, lets say i type writeid
1 STEAM_0:1:23456789 : permanent
then to unban that person i type
removeid 1
mp_flashlight (you put 1 here to allow flashlights, and 0 to turn of the option)
note: the server default is to have flashlights disabled, do this to turn the option on
mp_flashlight 1
sv_cheats (1 to allow cheats, 0 to not allow them)
I almost always have cheats on becuase it allows you to use any doormod and noclip, to set cheats on it should look like this
sv_cheats 1
-----prop settings-----
If you want to increase the ammount of props/vehicles/effects these are some of the commands, for the sake of making this explanation simple we'll call whatever your changing(props/vehicles/effects) the variable.
gm_sv_clientlimit_(you fill in what variable you want here) (then the number you want people to be able to spawn here)
so lets say you only wanted them able to spawn 5 props, the command would look like this
gm_sv_clientlimit_props 5
here are almost all variables you can change
effects
props
thrusters
wheels
dynomite
vehicles
npcs
emitters
sprites
ragdolls
balloons
-----passwords----
if you want to lock a server and people will only be able to enter using a password this is the command
sv_password (type wat you want the passwprd to be here)
so lets say you want the password to be muffins, this is what the command would look like
sv_password muffins
-----------------------
-----Remote control passwords(rcon)----
A rcon password allows you to control your server ingame from the console by pressing ~
first in the server prompt you must set the rcon password by doing this(lets make muffins the password again)
rcon_password muffins
to brake it down its
rcon_password (type what you want the password to be here)
then when you want to enter a command ingame bring up the console(press ~) then type rcon_password muffins (or whatever you set your password to)
you have now "logged in" to your server prompt
before any command that you want to enter ingame you must type rcon before it, so lets say you want to turn cheats on
rcon sv_cheats 1
NOTE: NEVER, NEVER EVER GIVE YOUR RCON PASSWORD AWAY TO ANYONE, YOU COULD END UP GETTING BANNED FROM YOUR OWN SERVER!
Those are the most important commands, just tell me if i missed anything.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
The first thing you want to do is check to see if you have a router, If you do it is much simpler to just disconnect it and connect your modem directly to your computer. Once that is done copy your gmod folder(in your programfiles/valve/steam/steamapps/sourcemods) to your dedicated server folder( in programfiles/valve/steam/steamapps/:yourSTEAMusername:/source dedicated server) make sure you've already installed source dedicated server on your tools tab of steam. Then go to your tools tab, right click on source dedicated server, then select launch options. In the window that pops up select set launch options. then copy and paste this command into the little box, -game gmod9 -console -maxplayers 4 +map gm_construct.bsp of course you can change the max number of players(my feeling is that admining over 4 people is biotch) and you can also change the map, but dont forget to add .bsp to the end of the map name! after hitting ok douple click on source dedicated server and a command prompt lookin gwindow should appear. it should say that a connection to steam servers was sucesful and that VAC secure mode is on or off. After you see that you can start to add some commands, ill list the most important ones. when u see parenthases thats were your supposed to enter info, DON T INCLUDE THE PARATHASES.
---------------------------------------------------------
hit enter after your done typing a command
hostname (what you want the name of the server here)
an example: hostname bobserver
status
this shows whos on your server and some other info
kick (person you want to kicks name here)
this is to kick some one, they will be able to come back
banid (the amount of hours to ban them, 0 is forever) (steam id) kick
the steam id you can find when you type status, a steam id will look like this: STEAM_0:1:23456789
so if i banned that person forever it would look like:
banid 0 STEAM_0:1:23456789 kick
writeid
this saves any steamid's that you banned, so if the server crashes those people will still be banned, enter this after banning some one.
listid
this will list all the id's that you have banned(i got 44 people on my ban list )
removeid (listid will show you a list of banned people that are numbered, write there place on that list here)
this will unban some one, lets say i type writeid
1 STEAM_0:1:23456789 : permanent
then to unban that person i type
removeid 1
mp_flashlight (you put 1 here to allow flashlights, and 0 to turn of the option)
note: the server default is to have flashlights disabled, do this to turn the option on
mp_flashlight 1
sv_cheats (1 to allow cheats, 0 to not allow them)
I almost always have cheats on becuase it allows you to use any doormod and noclip, to set cheats on it should look like this
sv_cheats 1
-----prop settings-----
If you want to increase the ammount of props/vehicles/effects these are some of the commands, for the sake of making this explanation simple we'll call whatever your changing(props/vehicles/effects) the variable.
gm_sv_clientlimit_(you fill in what variable you want here) (then the number you want people to be able to spawn here)
so lets say you only wanted them able to spawn 5 props, the command would look like this
gm_sv_clientlimit_props 5
here are almost all variables you can change
effects
props
thrusters
wheels
dynomite
vehicles
npcs
emitters
sprites
ragdolls
balloons
-----passwords----
if you want to lock a server and people will only be able to enter using a password this is the command
sv_password (type wat you want the passwprd to be here)
so lets say you want the password to be muffins, this is what the command would look like
sv_password muffins
-----------------------
-----Remote control passwords(rcon)----
A rcon password allows you to control your server ingame from the console by pressing ~
first in the server prompt you must set the rcon password by doing this(lets make muffins the password again)
rcon_password muffins
to brake it down its
rcon_password (type what you want the password to be here)
then when you want to enter a command ingame bring up the console(press ~) then type rcon_password muffins (or whatever you set your password to)
you have now "logged in" to your server prompt
before any command that you want to enter ingame you must type rcon before it, so lets say you want to turn cheats on
rcon sv_cheats 1
NOTE: NEVER, NEVER EVER GIVE YOUR RCON PASSWORD AWAY TO ANYONE, YOU COULD END UP GETTING BANNED FROM YOUR OWN SERVER!
Those are the most important commands, just tell me if i missed anything.