Post new topic  Reply to topic  [ 17 posts ]  Go to page 1 2 Next
Author Message
 Post subject: Left 4 Dead 2 Commands
PostPosted: Tue Nov 17, 2009 8:44 am 
Offline
GameServers Staff

Joined: Tue Apr 19, 2005 12:57 am
Posts: 835
Straight from the 'cvarlist' console print out as of 11/17/09 (Included server based settings only):

--------------
motd_enabled "1" - Toggles whether or not to show the MOTD to clients when they connect.
mp_disable_autokick "0" - Prevents a userid from being auto-kicked
sv_allow_lobby_connect_only "0" - If set, players may only join this server from matchmaking lobby, may not connect directly.
sv_alltalk "0" - Players can hear all other players' voice communication, no team restrictions
sv_contact "" - Contact email for server sysop
sv_gametypes "coop,realism,survival,versus,teamversus,scavenge,teamscavenge" - Allowable game types
sv_password "" - Server password for entry into multiplayer games
sv_region "255" - The region of the world to report this server in.
sv_reservation_timeout "120" - Time in seconds before lobby reservation expires.
sv_search_key "" - When searching for a dedicated server from lobby, restrict search to only dedicated servers having the same sv_search_key.
sv_steamgroup "" - The ID of the steam group that this server belongs to. You can find your group's ID on the admin profile page in the steam comm
sv_steamgroup_exclusive "0" - If set, only members of Steam group will be able to join the server when it's empty, public people will be able to join the server
sv_tags "" - Server tags. Used to provide extra information to clients when they're browsing for servers. Separate tags with a comma.
sv_voiceenable "1" - Enable in-game voice
z_difficulty "" - Difficulty of the current game (Easy, Normal, Hard, Impossible)

Untested:
mp_roundlimit "3" - Maximum number of rounds
scavenge_set_round_limit "" - Set the number of rounds for a scavenge match
==============================================================================

_________________
Jake Bauer aka Spyder [GS] Frag. Not Lag.
Please visit #GameServers @ irc.gamesurge.net

Top
   
 Post subject:
PostPosted: Wed Nov 18, 2009 12:06 pm 
Offline
No Longer a Newb

Joined: Sat Oct 31, 2009 4:36 pm
Posts: 18
sv_steamgroup_exclusive "0" - If set, only members of Steam group will be able to join the server when it's empty, public people will be able to join the server

I've got a question about this command, and I think the end of the comment on it would tell me my answer.

If you have this set to 1, and say 3 people from your group make a game. Will public people auto-join to fill the spots during the game? Or is it always just group/friends that will be able to join?

Top
   
 Post subject:
PostPosted: Wed Nov 18, 2009 7:15 pm 
Offline
I answer every post

Joined: Sat May 13, 2006 10:40 am
Posts: 732
Location: Boston, Ma
this is how mine works, it will only allow members of your steamgroup in initially, once 1 member of your group is on it then will allow anyone to join bbut as stated gives 1st join to your steam group only, acting somewhat like a reservation.

_________________
Image
24/7 Internet Radio @ http://www.FairPlayRadio.org

Top
   
 Post subject:
PostPosted: Wed Nov 18, 2009 9:39 pm 
Offline
No Longer a Newb

Joined: Sat Oct 31, 2009 4:36 pm
Posts: 18
Very cool, thx for the info.

Top
   
 Post subject:
PostPosted: Fri Nov 20, 2009 9:51 am 
Offline
GameServers.com Forum Newb

Joined: Fri Nov 20, 2009 9:49 am
Posts: 1
I would really avoid using z_difficulty on public servers, its very annoying when you create a game with normal difficulty then comes to a server that switched the difficulty to Expert.

Top
   
 Post subject:
PostPosted: Wed Nov 25, 2009 6:27 pm 
Offline
GameServers.com Forum Newb

Joined: Sun Aug 17, 2008 10:54 pm
Posts: 5
If I use sv_password, the server never starts.

_________________
Image

Top
   
 Post subject:
PostPosted: Wed Dec 02, 2009 6:23 pm 
Offline
No Longer a Newb

Joined: Wed Feb 11, 2009 3:18 pm
Posts: 14
Necrothug wrote:
If I use sv_password, the server never starts.

The sv_password variable is currently broken in left4dead2.

_________________
Image

Top
   
 Post subject: Re:
PostPosted: Wed Sep 29, 2010 2:32 am 
Offline
GameServers.com Forum Newb

Joined: Tue Sep 28, 2010 8:20 am
Posts: 3
MayhemX1 wrote:
The sv_password variable is currently broken in left4dead2.


MayhemX1, I am using the same server and I don't think so that its password are broken. As I am using and the thing is that I am that much comfortable with it. As I really would like to say that I really like that and I ever suffer any of the problem with that software.

Top
   
PostPosted: Thu Oct 07, 2010 9:02 pm 
Offline
No Longer a Newb

Joined: Mon Nov 16, 2009 6:13 pm
Posts: 31
Password is broken, they never fixed it to my knowledge... a year later..... still no way to password it, probably extremley hard to do for Valve (I'm being sarcastic).

Top
   
PostPosted: Mon Dec 06, 2010 6:49 am 
Offline
GameServers.com Forum Newb

Joined: Mon Dec 06, 2010 5:22 am
Posts: 4
I immediately thought that in the air and lay their eggs boomers see what happens.

_________________
London escorts

Top
   
PostPosted: Tue Dec 07, 2010 3:32 pm 
Offline
No Longer a Newb

Joined: Thu May 14, 2009 3:54 pm
Posts: 12
[gs] Spyder wrote:
sv_gametypes "coop,realism,survival,versus,teamversus,scavenge,teamscavenge" - Allowable game types


is there anyway to make the server a mutation ?

Top
   
PostPosted: Thu Mar 03, 2011 9:23 am 
Offline
No Longer a Newb

Joined: Wed Dec 23, 2009 10:50 pm
Posts: 90
Location: london, on, ca
To run a mutation on your server, use mp_gamemode "mutation#" , an example would be mp_gamemode "mutation12" for, I believe, survival versus.

Also, password is currently broken. The only way to some-what password a server is to require a search key, and then enter that search key, so the only players who may enter are players who have set that search key prior to launching the game.
Also, you can set steamgroup exclusive, and then only members of your steamgroup can launch to that server as the lobby leader.

Hope this helps.

_________________
http://steamcommunity.com/id/palevixen

Top
   
PostPosted: Wed Mar 16, 2011 12:19 pm 
Offline
No Longer a Newb

Joined: Wed Mar 16, 2011 9:09 am
Posts: 31
Location: United Kingdom
Nice list of command, they will come in very helpful!

_________________
Visit #GameServers @ irc.us.gamesurge.net
----------------------------------------------------------------------------------------------------------------------
If i've helped you please used my affiliation link below when purchasing your next service from GameServers
Image

Top
   
PostPosted: Wed Aug 03, 2011 1:18 pm 
Offline
GameServers.com Forum Newb

Joined: Sat Jul 23, 2011 12:03 am
Posts: 6
im still learning how to set a l4d2 server up...

this is all i have in my config.....

what else should i have or rather what do i need???

where is the line that has what game type is running????? this way i can change it from versus to co op when i want...


// Number of rounds to play (only versus)
mp_roundlimit 3


// If you want to use a search key to find the server in the lobby, uncomment and edit this line
// sv_search_key "myclantags"

// If you want to use this as a steam group server, uncomment this and add your group ID
sv_steamgroup "mysteamid"
// If you want to restrict this to steam group members only, uncomment this
// sv_steamgroup_exclusive "1" <--- not sure if its right... i'd like it to be a lobby for the public to join...and also where my steam group can see it... im the only 1 in my clan that can see it on the bottom right side... :(

// You shouldn't need to change anything below this in most cases
sv_alltalk 0
// If you enable cheats, people will be able to take over your server
sv_cheats 0
sv_consistency 1
sv_maxcmdrate 101
sv_maxrate 30000
sv_visiblemaxplayers -1

Top
   
PostPosted: Sat Oct 15, 2011 10:20 am 
Offline
GameServers.com Forum Newb

Joined: Sat Jul 04, 2009 3:40 am
Posts: 2
Momma_Bear wrote:
what else should i have or rather what do i need???


That depends on what else you want the server to do or not do.

Momma_Bear wrote:
where is the line that has what game type is running????? this way i can change it from versus to co op when i want...


You will need to use the following in console to change the type when you want it changed. Another option is if you are running Metamod:Source and Sourcemod, you can add an admin menu for it in adminmenu_custom.txt.

Execute the following in console while in the server or through HLSW. Possible modes are coop, versus, survival, realism, teamversus, scavenge, teamscavenge.

    mp_gamemode "coop"

If you have Sourcemod installed, you can use the following command through your client game console:

    sm_cvar mp_gamemode "coop"

We use Sourcemod and I know the sm_cvar command works to set it, but I am not sure whether the direct command (mp_gamemode "coop") works from the server console or not. Seems like Sourcemod was needed to expose the cvar, but it has been a long time since we had a problem with it.

Another note is that once you change the cvar, you may need to change the campaign or vote to restart the current one. I know when we change to survival, it doesn't fully kick in until we vote to another map.

Good luck.

Top
   
    Need a Left 4 Dead 2 Server? Rent L4D2 hosting for cheap at GameServers.com!
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 17 posts ]  Go to page 1 2 Next


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


© GameServers.com, All rights reserved. High Quality Teamspeak, Ventrilo & Gameserver Hosting at Cheap Prices!