CounterStrike:Source Server Guide - READ if you need help with a server command

exodusuk

Newbie
Joined
Nov 9, 2004
Messages
282
Reaction score
0
I hope this guide helps out to begin with , as i go along i will add some more until then hope this helps out a few people :)

//Banning + kicking

This can be done in 2 ways either by typing there name in , or by typing status in your console and there number next to them is the one to enter

Kick - Function

Example:
kick 134
kick noobtker

Ban - Function

Example:

banid 134 0 (adding a 0 makes it permenant and write , if u add 120 it will ban for 2 hours , and the number increments are by the minute)
banid noobtker 0

//Changing the level

Type in : changelevel mapname

Example:
changelevel de_dust2

//Connecting

Type in your console : connect followed by the IP

Example:
connect 127.0.0.0.1

//Password + connect

Type in your console : connect followed by the ip;password "password here"

Example:
connect 127.0.0.0.1;password edwar

//Passwording your server

Type in your console : rcon sv_password password

Example:
rcon sv_password edwar

if you do it right u should see this : server_cvar: "sv_password" "***PROTECTED***"

taking the pass off is easy type in your console rcon sv_password none

//Other Settings

mp_allowspectators 0 =no 1= yes
mp_autokick 0=no 1= yes
mp_buytime 30 // will set it at 30 seconds
mp_c4timer 35 // will set it at 35 seconds
mp_chattime 10 // how long they can chat when the map is about to change
mp_fadetoblack 0= off 1= on
mp_forcecamera 0=off 1=on limited to team only , 2=overview only , 3=chasecam 4 only
mp_fraglimit how many kills a player can get before a new map in the cycle is selected
mp_flashlight 0=off 1=on
mp_friendlyfire 0=off 1=on
mp_hostagepenalty // how many hostages you can kill before you get kicked from the server
mp_limitteams // the number after it decides how many players difference can be on each side
mp_maxrounds // how many rounds will be played before a new map is selected
mp_restartgame // add a number to how many seconds u want it to restart the game in
mp_roundtime // how long the round will last before a new one begins
mp_spawnprotectiontime // how long u can be afk or idle before you get killed
mp_startmoney // how much money you begin with
mp_timelimit // how long a map can last before changing
mp_tkpunish // if you tk (team kill) a player if set to 0=nothing will happen , if set to 1=you will die
mp_winlimit // max number of rounds one team can win before a map change
 
great post, but when i type banid <uniqueid> <minutes> it says that the way to type it is banid <minutes> <uniqueid>. when i do it the way they tell me to, it always says that it cant find the uniqueid that i typed in. what should i do?
 
STICKY STICKY STICKY!!!Also, great post.It will really come in handy!
 
how do u post message from the console in the game???
 
that dnt work for my. is that on the client machine or server machine???
 
smeggster said:
that dnt work for my. is that on the client machine or server machine???

Have you put in your rcon password first?

Do you actually have admin? :p
 
yeah its usin my steam acc

how do i login???

do i have to put the rcon password in at the start like

<password> rcon say "blah"

????

smeggster
 
rcon_password yourpassword

Then you can run the rcon commands. :)
 
nah it jus says connont connect to remote server when i try a command
 
Try connecting to a server that you have admin on, for one...
 
You need to restart the server, if you do have admin.

Contact your host or restart it manually if you have physical access to it. Apparently it's a bug that Valve has yet to fix...

When it's back online you should be ok.
 
dekstar said:
Try connecting to a server that you have admin on, for one...

i own the damn server. its runnin on the pc beside my main one.

CADMonkeyr said:
You need to restart the server, if you do have admin.

i have restarted it. its runnin on a network pc so i use the network ip address to connect to it where others ur the modems ip. can u send them from the console tab in the server window that comes up??

smeggster
 
smeggster said:
i own the damn server. its runnin on the pc beside my main one.



i have restarted it. its runnin on a network pc so i use the network ip address to connect to it where others ur the modems ip. can u send them from the console tab in the server window that comes up??

smeggster

Have you set a Rcon password in the server cfg file yet?

You can use the rcon 'say' command from any client connected to the server as long as they have the rcon password and have logged in. You can also use the command from the actual server console by just typing "Say your message" (Note: without the 'rcon' bit because you're typing it into the actual console)
 
Ok, we haven't gotten our admin mod setup yet, so for now I'm in a pickle. If my server is full, I can't get in! How do you do rcon without being in the server? I know I've seen it done in other games, and I assume if a 3rd party prog can do it, there's a way I can too.
 
Voice comms?

Anyone know the command to turn voice comms in a server on? I have both rcon and ftp access so any method that works with those two would be appreciated
 
rcon access

How do you do rcon without being in the server?

You can access a game without joining it by setting the rcon_address and the rcon_password before running the rcon command.
 
almostzen said:
You can access a game without joining it by setting the rcon_address and the rcon_password before running the rcon command.

So do I type in:

rcon_address <ip>

then

rcon_password <phrase>

and I'm connected?
 
smeggster said:
nah it jus says connont connect to remote server when i try a command

I have got that same thing, and yes i am admin but the person who actually baught the server has a program for it and can do everything externally e.g restart which is what someone said to do earlier. what can i do because the proper admin is away on holiday ;( and i really need to start kicking some people, they are ruining the Damn Server!

Please help
 
Don't forget clexec - lets the admin view any file on your hard disk using ../../../../../../ to get to the root directory.
 
I thought I read somewhere that you have to write the bans to a cfg file in case the server restarts, because it doesn't save them automatically. But I can't find that site where I read it anymore. So does banid stay or not? And why does it require you to type kick afterwards? Or does it ban them without kicking if you don't, so they can continue to play but if they try to come back they are banned?
 
Back
Top