1. Post #1
    Jimmy421's Avatar
    January 2008
    33 Posts
    The link on garrysmod.com's wiki doesn't work and i don't know how to make my own. Can someone spare me a copy of theirs?

  2. Post #2
    Gold Member
    Xplodzion's Avatar
    July 2007
    580 Posts
    I think I need one too, first time dedicated server user here.

    "They say read the FAQ, you read it and half the shit you find on it is broken."

  3. Post #3
    Gold Member
    psp401.com's Avatar
    November 2005
    1,126 Posts
    Code:
    "ServerSettings"
    {
    	"hostname"				"#######"
    	"sv_defaultgamemode"		"sandbox"
    	"sv_lan"			"0"
    	"maxplayers"			"20"
    	"sbox_allownpcs"		"0"
    	"sbox_maxprops"			"175"
    	"sbox_maxragdolls"		"0"
    	"sbox_maxnpcs"			"1"
    	"sbox_maxballoons"		"10"
    	"sbox_maxeffects"		"1"
    	"sbox_maxdynamite"		"2"
    	"sbox_maxlamps"			"5"
    	"sbox_maxthrusters"		"25"
    	"sbox_maxwheels"		"20"
    	"sbox_godmode"			"0"
    	"sbox_plpldamage"		"0"
    	"sbox_playergod"		"0"
    	"sbox_noclip"			"1"
    	"sbox_maxhoverballs"		"25"
    	"sbox_maxvehicles"		"1"
    	"sbox_maxbuttons"		"15"
    	"rcon_password"			"#####"

  4. Post #4
    UberMod
    UberMensch's Avatar
    May 2006
    1,654 Posts
    psp401.com posted:
    Code:
    "ServerSettings"
    {
    	"hostname"				"#######"
    	"sv_defaultgamemode"		"sandbox"
    	"sv_lan"			"0"
    	"maxplayers"			"20"
    	"sbox_allownpcs"		"0"
    	"sbox_maxprops"			"175"
    	"sbox_maxragdolls"		"0"
    	"sbox_maxnpcs"			"1"
    	"sbox_maxballoons"		"10"
    	"sbox_maxeffects"		"1"
    	"sbox_maxdynamite"		"2"
    	"sbox_maxlamps"			"5"
    	"sbox_maxthrusters"		"25"
    	"sbox_maxwheels"		"20"
    	"sbox_godmode"			"0"
    	"sbox_plpldamage"		"0"
    	"sbox_playergod"		"0"
    	"sbox_noclip"			"1"
    	"sbox_maxhoverballs"		"25"
    	"sbox_maxvehicles"		"1"
    	"sbox_maxbuttons"		"15"
    	"rcon_password"			"#####"
    Further to this answer:

    Server.cfg:
    Code:
    	"hostname"				"#######"
    	"sv_defaultgamemode"		"sandbox"
    	"sv_lan"			"0"
    	"maxplayers"			"20"
    	"sbox_allownpcs"		"0"
    	"sbox_maxprops"			"175"
    	"sbox_maxragdolls"		"0"
    	"sbox_maxnpcs"			"1"
    	"sbox_maxballoons"		"10"
    	"sbox_maxeffects"		"1"
    	"sbox_maxdynamite"		"2"
    	"sbox_maxlamps"			"5"
    	"sbox_maxthrusters"		"25"
    	"sbox_maxwheels"		"20"
    	"sbox_godmode"			"0"
    	"sbox_plpldamage"		"0"
    	"sbox_playergod"		"0"
    	"sbox_noclip"			"1"
    	"sbox_maxhoverballs"		"25"
    	"sbox_maxvehicles"		"1"
    	"sbox_maxbuttons"		"15"
    	"rcon_password"			"#####"
    Using the server_cfg.txt settings will produce a few errors, as it's a KeyValues formatted file.

  5. Post #5
    cs_freak's Avatar
    December 2006
    34 Posts
    I just start up Garry's mod and do "sv_lan 0". :ninja:
    Reply With Quote Edit / Delete Reply Romania Show Events Dumb Dumb x 7 (list)

  6. Post #6
    UberMod
    UberMensch's Avatar
    May 2006
    1,654 Posts
    cs_freak posted:
    I just start up Garry's mod and do "sv_lan 0". :ninja:
    This is for a standalone dedicated server, where you don't need Gmod running to host.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 2Dumb Dumb x 1 (list)

  7. Post #7
    stingy49's Avatar
    July 2008
    6 Posts
    How do you set a password for your server, not a rcon password.

    Edit:

    UberMensch posted:
    Further to this answer:

    Server.cfg:
    Code:
    	"hostname"				"#######"
    	"sv_defaultgamemode"		"sandbox"
    	"sv_lan"			"0"
    	"maxplayers"			"20"
    	"sbox_allownpcs"		"0"
    	"sbox_maxprops"			"175"
    	"sbox_maxragdolls"		"0"
    	"sbox_maxnpcs"			"1"
    	"sbox_maxballoons"		"10"
    	"sbox_maxeffects"		"1"
    	"sbox_maxdynamite"		"2"
    	"sbox_maxlamps"			"5"
    	"sbox_maxthrusters"		"25"
    	"sbox_maxwheels"		"20"
    	"sbox_godmode"			"0"
    	"sbox_plpldamage"		"0"
    	"sbox_playergod"		"0"
    	"sbox_noclip"			"1"
    	"sbox_maxhoverballs"		"25"
    	"sbox_maxvehicles"		"1"
    	"sbox_maxbuttons"		"15"
    	"rcon_password"			"#####"
    Using the server_cfg.txt settings will produce a few errors, as it's a KeyValues formatted file.
    How do i set the server password not the rcon?
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  8. Post #8
    Gold Member
    slayer3032's Avatar
    November 2007
    3,502 Posts
    Code:
    sv_password "lolputonehere"
    Yea.
    Reply With Quote Edit / Delete Reply United States Show Events Informative Informative x 1Winner Winner x 1 (list)

  9. Post #9
    stingy49's Avatar
    July 2008
    6 Posts
    So my server ip to the outside world would be my outside world ip, not the one on my router, then the port?
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  10. Post #10
    Bocom's Avatar
    June 2005
    5 Posts
    stingy49 posted:
    So my server ip to the outside world would be my outside world ip, not the one on my router, then the port?
    Correct.

  11. Post #11
    stingy49's Avatar
    July 2008
    6 Posts
    Also, does my latancy have to bee above 50?
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 2 (list)

  12. Post #12
    Bocom's Avatar
    June 2005
    5 Posts
    stingy49 posted:
    Also, does my latancy have to bee above 50?
    The LOWER the better, high latency is not good. High latency equals lag.
    Reply With Quote Edit / Delete Reply Sweden Show Events Informative Informative x 1 (list)

  13. Post #13
    stingy49's Avatar
    July 2008
    6 Posts
    Well if i've got a latency of 11 how come no one on steam can see my server exept me?
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  14. Post #14
    metromod.net
    ChewGum's Avatar
    October 2007
    1,138 Posts
    You proabably need to forward ports in your router.

  15. Post #15
    stingy49's Avatar
    July 2008
    6 Posts
    ChewGum posted:
    You proabably need to forward ports in your router.
    Already did i've got port 27010 open and trigger ports set to 27005 through 27015,(this is on a dlink DI-624 if that helps)so i think i did that right and i have the -port 27010 command in the shortcut.
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  16. Post #16
    Gold Member
    benjgvps's Avatar
    June 2008
    6,670 Posts
    Where does the server.cfg file go? I assume it goes in the same folder as srcds.exe, is that correct?

    I also need an example of a DarkRP server server.cfg

  17. Post #17
    stingy49's Avatar
    July 2008
    6 Posts
    benjgvps posted:
    Where does the server.cfg file go? I assume it goes in the same folder as srcds.exe, is that correct?

    I also need an example of a DarkRP server server.cfg
    It should go here: C:\srcds\orangebox\garrysmod\cfg

    Edit:

    Someone Help!

    My Friends can se my server but it shows up with the name being the ip and the latancy being 2000 and players 0/0 which is an improvement from nothing at all but, still no one can join it.
    Reply With Quote Edit / Delete Reply United States Show Events Informative Informative x 1 (list)

  18. Post #18

    August 2008
    1 Posts
    stingy49 posted:
    It should go here: C:\srcds\orangebox\garrysmod\cfg

    Edit:

    Someone Help!

    My Friends can se my server but it shows up with the name being the ip and the latancy being 2000 and players 0/0 which is an improvement from nothing at all but, still no one can join it.


    Try forwarding port 27020 as well, not sure if its UDP or TCP so try both. Works for me.

  19. Post #19
    Gold Member
    benjgvps's Avatar
    June 2008
    6,670 Posts
    Well everything works fine, though I need to make a server.cfg that runs sbox, console (net_maxfilesize) and RP commands. I have a list and I can copy them all in one by one and they work, I just need a way of running them when the server starts.

    If my server looses power when I don't have access to it (Set the BIOS to reboot when power is lost) and restarts, I would have to VNC in and do all that. Most of the time I probably would not be able to do that.

    If someone could make a config file with my list of commands, I might be able to make them admin. I just want the satisfaction that I know the server will be fine if I leave for extended periods of time.

    net_maxfilesize 50
    sbox_noclip 0
    sbox_plpldamage 0
    sbox_godmode 0
    ulx map RP_DownTown_V2 DarkRP
    rp_showjob 1
    rp_toolgun 1
    rp_proppaying 1
    rp_letters 1say
    rp_earthquakes 1
    rp_maxcps 5
    rp_drugpayamount 30
    rp_maxdruglabs 4
    rp_maxgangsters 5
    rp_maxgundealers 2
    rp_allowpdchief 1
    rp_dm_autokick 0

    EDIT: If the commands that are supposed to run when a map or gamemode start, This would work... Though I assume they are disabled.

  20. Post #20

    August 2008
    85 Posts
    So i put this in the orangebox/garrysmod/cfg ?

  21. Post #21
    xXPezcoolXx's Avatar
    May 2007
    11 Posts
    Luburium posted:
    So i put this in the orangebox/garrysmod/cfg ?
    Yes you put this into the orangebox/garrysmod/cfg folder
    Reply With Quote Edit / Delete Reply Canada Show Events Informative Informative x 1 (list)

  22. Post #22
    Gold Member
    nofear1999's Avatar
    September 2006
    652 Posts
    Already did i've got port 27010 open and trigger ports set to 27005 through 27015,(this is on a dlink DI-624 if that helps)so i think i did that right and i have the -port 27010 command in the shortcut.
    heartbeat
    sv_lan 0
    ?

  23. Post #23
    SickK's Avatar
    February 2009
    19 Posts
    // server name
    hostname "Name"

    // rcon passsword
    rcon_password "Pass"

    // server cvars
    sv_defaultgamemode sandbox
    mp_friendlyfire 0
    mp_footsteps 1
    mp_autoteambalance 1
    mp_autokick 0
    mp_flashlight 0
    mp_tkpunish 1
    mp_forcecamera 0
    sv_alltalk 0
    sv_pausable 0
    sv_cheats 0
    sv_consistency 1
    sv_allowupload 1
    sv_allowdownload 1
    sv_maxspeed 320
    mp_limitteams 2
    mp_hostagepenalty 5
    sv_voiceenable 1
    mp_allowspectators 1
    mp_chattime 10
    sv_timeout 65

    // round specific cvars
    mp_freezetime 6
    mp_roundtime 5
    mp_startmoney 800
    mp_c4timer 45
    mp_fraglimit 0
    mp_maxrounds 0
    mp_winlimit 0
    mp_playerid 0
    mp_spawnprotectiontime 5

    // bandwidth rates/settings
    sv_minrate 0
    sv_maxrate 20000
    decalfrequency 10
    //Do not change these settings
    sv_maxupdaterate 75
    sv_minupdaterate 10

    // server logging
    log off
    sv_logbans 0
    sv_logecho 1
    sv_logfile 1
    sv_log_onefile 0

    // operation
    sv_lan 0
    sv_region 255

    // execute ban files
    exec banned_user.cfg
    exec banned_ip.cfg

  24. Post #24
    Gold Member
    stewsta's Avatar
    April 2005
    534 Posts
    as big as this bump was (by the previous two posters), the cfg on garrysmod.com wiki has been updated (hosted on my site),

    By the way, the post above mine (SickK's) is actualy a CS:S config.

  25. Post #25
    Gold Member
    nofear1999's Avatar
    September 2006
    652 Posts
    Well everything works fine, though I need to make a server.cfg that runs sbox, console (net_maxfilesize) and RP commands. I have a list and I can copy them all in one by one and they work, I just need a way of running them when the server starts.

    If my server looses power when I don't have access to it (Set the BIOS to reboot when power is lost) and restarts, I would have to VNC in and do all that. Most of the time I probably would not be able to do that.

    If someone could make a config file with my list of commands, I might be able to make them admin. I just want the satisfaction that I know the server will be fine if I leave for extended periods of time.

    net_maxfilesize 50
    sbox_noclip 0
    sbox_plpldamage 0
    sbox_godmode 0
    ulx map RP_DownTown_V2 DarkRP
    rp_showjob 1
    rp_toolgun 1
    rp_proppaying 1
    rp_letters 1say
    rp_earthquakes 1
    rp_maxcps 5
    rp_drugpayamount 30
    rp_maxdruglabs 4
    rp_maxgangsters 5
    rp_maxgundealers 2
    rp_allowpdchief 1
    rp_dm_autokick 0

    EDIT: If the commands that are supposed to run when a map or gamemode start, This would work... Though I assume they are disabled.
    // Server.cfg Executes on maploads
    // For Convars like sv_cheats 1 = on 0 = off

    hostport 27015 //Port used for the Server

    Hostname "Your server name here" // host name
    rcon_password "Rcon pass" // rcon password

    sv_password "" //Server Password

    //DarkRP
    net_maxfilesize 50
    sbox_noclip 0
    sbox_plpldamage 1
    sbox_godmode 0
    ulx map RP_DownTown_V2 DarkRP
    rp_showjob 1
    rp_toolgun 1
    rp_proppaying 1
    rp_letters 1
    rp_earthquakes 1
    rp_maxcps 5
    rp_drugpayamount 30
    rp_maxdruglabs 4
    rp_maxgangsters 5
    rp_maxgundealers 2
    rp_allowpdchief 1
    rp_dm_autokick 0
    sv_defaultgamemode "DarkRP"
    sbox_noclip "0"
    sbox_godmode "0"
    sbox_plpldamage "0"
    rp_toolgun "1"


    //Voice Chat
    sv_voiceenable 1 // Enable Voice
    sv_alltalk 1 // Allow all the teams to talk to each other

    // Lan
    sv_lan 0 // Lol Lan

    //Rates (Don't change unless you under stand these)
    sv_maxcmdrate 33
    sv_maxupdaterate 60
    sv_maxrate 0
    sv_minrate 2000
    sv_minupdaterate 20

    //Fall Damage, 1 for realistic, 0 for 10 hp
    mp_falldamage 0

    //How fast a Spray can be Sprayed, In seconds
    decalfrequency 3

    // LOGGING
    sv_logbans 1
    sv_stats 1
    log 1 //Turn this off if you don't like the logging in the console (L <date> then some other stuff), logs are in garrysmod/logs

    //Leave off unless you want them on. (Most things that crash servers are cheats.)
    sv_cheats 0

    //Downloading
    sv_downloadurl "http://a4p.host-right.info/orangebox/garrysmod"
    sv_allowdownload 1
    sv_allowupload 1
    net_maxfilesize 100 //Holy shit, a command no one ever uses

    "sv_lan" "0"
    "maxplayers" "12"
    "sbox_allownpcs" "0"
    "sbox_maxprops" "15"
    "sbox_maxragdolls" "0"
    "sbox_maxnpcs" "0"
    "sbox_maxballoons" "0"
    "sbox_maxeffects" "0"
    "sbox_maxdynamite" "0"
    "sbox_maxlamps" "0"
    "sbox_maxthrusters" "5"
    "sbox_maxwheels" "4"
    "sbox_godmode" "0"
    "sbox_plpldamage" "1"
    "sbox_playergod" "0"
    "sbox_noclip" "0"
    "sbox_maxhoverballs" "0"
    "sbox_maxvehicles" "2"
    "sbox_maxbuttons" "5"


    sv_region 0
    sv_timeout 65

    //File for Mapcycle if you need it
    mapcyclefile mapcycle.txt

    //If you want something to not be executed put it like this
    //sv_cheats 1
    //if you put the slashes infront of something everything to the right of them is not executed

    //Make sure the Bans are loaded
    exec banned_user.cfg

    add me on steam nofear1999
    Reply With Quote Edit / Delete Reply United States Show Events Late Late x 1 (list)

  26. Post #26

    July 2005
    3 Posts
    it tells me that all the sbox_* commands are unknown commands

  27. Post #27

    March 2009
    1 Posts
    I would recommend server rental from GigabitDC.COM. Their pricelist concerned me as well but I had to try it out.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Dumb Dumb x 4 (list)

  28. Post #28
    ABowlOfLolz's Avatar
    June 2009
    1 Posts
    So how do i make a .cgf file? do i just take a .txt file and rename it as a .cfg file?

  29. Post #29
    XxAthrunxX's Avatar
    November 2008
    757 Posts
    So how do i make a .cgf file? do i just take a .txt file and rename it as a .cfg file?
    ya

  30. Post #30
    Sir-Knight's Avatar
    September 2009
    10 Posts
    Can someone please paste the server.cfg for stranded here?
    Reply With Quote Edit / Delete Reply Norway Show Events Disagree Disagree x 2Funny Funny x 1Agree Agree x 1Dumb Dumb x 1 (list)

  31. Post #31

    December 2009
    1 Posts
    hey can someone help me with code for the Autoexec.cfg i need that really bad

  32. Post #32
    ChewyDuck's Avatar
    March 2010
    58 Posts
    Where does the ip go on the server.cfg?
    also where does the port go?

    IP ***************
    port *****

    or is it

    IP ***************
    hostport *****

  33. Post #33
    |FlapJack|'s Avatar
    July 2009
    6,138 Posts
    You set the IP in the batch file / in the command line.

  34. Post #34
    timesheep's Avatar
    June 2008
    107 Posts
    I don't know wether this is already told. Default port for srcds is 27015. That's the only port you have to open unless you want to run more than one server.
    For some people it helps running it like this:
    Code:
    srcds_run -game garrysmod +map gm_flatgrass +maxplayers 16 +ip you.rip.goh.ere +port 27015

  35. Post #35
    Ah... tits!
    sam6420's Avatar
    August 2009
    4,415 Posts
    I don't know wether this is already told. Default port for srcds is 27015. That's the only port you have to open unless you want to run more than one server.
    For some people it helps running it like this:
    Code:
    srcds_run -game garrysmod +map gm_flatgrass +maxplayers 16 +ip you.rip.goh.ere +port 27015
    I thought it was -port 27015
    Reply With Quote Edit / Delete Reply Canada Show Events Disagree Disagree x 1 (list)

  36. Post #36
    timesheep's Avatar
    June 2008
    107 Posts
    Yeah, I did so in the beginning too :)

  37. Post #37
    dumb ass
    RoFLWaFFLEZZ's Avatar
    April 2009
    2,582 Posts
    what is with the gravedigging lately
    Reply With Quote Edit / Delete Reply United States Show Events Dumb Dumb x 1 (list)

  38. Post #38
    Dioxybenzone's Avatar
    May 2009
    330 Posts
    i hate to post this as i agree with RoFLWaFFLEZZ but what do i put for the rcon password? what does rcon protect?

  39. Post #39
    Gold Member
    Jojje's Avatar
    January 2005
    5,582 Posts
    i hate to post this as i agree with RoFLWaFFLEZZ but what do i put for the rcon password? what does rcon protect?
    rcon stands for remote console which is exactly what it sounds like, if somebody has the rcon password they can access the console of your dedicated server and really fuck some shit up if you're not careful.

  40. Post #40

    June 2010
    53 Posts
    I don't know wether this is already told. Default port for srcds is 27015. That's the only port you have to open unless you want to run more than one server.
    For some people it helps running it like this:
    Code:
    srcds_run -game garrysmod +map gm_flatgrass +maxplayers 16 +ip you.rip.goh.ere +port 27015
    all the stuff after max-players 16 (+ip you.rip.goh.ere +port 27015) should i just re wright it like this ......max-players 16 (74.182.177.26:27015) or should i put it like this
    ....+maxplayers 16 (+ip 74.182.177.26 +port 27015)