Counter-Strike: Source

Counter-Strike: Source

45 ratings
Admin 101
By Keen
Basic guide for admins and all curious people
   
Award
Favorite
Favorited
Unfavorite
Introduction and basics
Greetings,

Are you new on an admin team, maybe you just want to know how admins work, or just wanna test your knowledge, lets start off with the basic admin commands and how to use them:

Once you have sourcemod installed on a server you have the “basic” commands, such as, ban, kick, slay, mute, gag, beacon, silence, timebomb, etc, etc. The name of the command is pretty much the description of what it does, I will not get into the description of commands just the usage.
(you can find descriptions by googling)

In addition to the basic sourcemod commands, there are plugins called SM Super commands, and Advanced commands, useful mostly for mods, but it can always come in handy on any server. They include commands such as bury, unbury, hp, teleport, cash etc.

What you need to know is how to use those commands, you can use:

1. Admin menu which you access by typing !admin in chat, or bind <key> sm_admin in console (`)
2.Typing in console:
sm_ban <target> <length> <reason> or in chat:
!ban <target> <lenght> <reason>

(using / instead of ! before the command in chat will make it not appear in the chatbox for other players to see)

(And remember that the length is in minutes)

To identify the person you want to use the command on, you can use: Player name, STEAM ID, or #Userid.

The name is obvious, but sometimes people use weird letters and characters that you can’t type in, in these cases you need Steam ID or #Userid.
To get this simply type <status> in console, this is what will be displayed:

#userid name uniqueid connected ping loss state
#1918 "420blazeit" STEAM_0:0:66666666 00:09 70 2 active

What you need is either #userid or STEAM_0 …. to use the command.

Example:

!ban 420blazeit 60 teamkilling

This will ban player < #1918 "420blazeit" STEAM_0:0:66666666 > for 60 minutes, reason teamkilling.

Keep in mind that you can use:

!ban #1918 60 teamkilling or
!ban STEAM_0:0:66666666 60 teamkilling

(note that if someone is named with spaces between, like: 4 2 0 b l a z e i t, you just need to put their name in double quotes “ ”)

To remove a command you used on someone, simply add < un > to the original command, Example:

/ungag “4 2 0 b l a z”
Targets and communication
Thats how you target a single player, in order to target a team, a certain group, or other, use the following parameters:

@ct - target counter terrorists
@t - target terrorists
@dead - dead players
@aim - person in your crosshair
@me - yourself
@!me - everyone except yourself
@bots - bots
@humans - all non bots

Those would be the basic things you need to know about commands, moving on to communication,

Normal chat (y) type in these commands before the text:
@ -All chat, your text will be displayed in the chat box in green
@@@ - Your chat will be displayed in the middle of the screen
/msay -Your text will be displayed as an menu on the left side of the screen, to make a new line simply add \n and the following text will be in a new line.
/tsay <color> <text> - Your text will appear in the top left corner of the screen, in the color you want.
/hsay - Your text will appear in the bottom middle of the screen
/psay <target> <text> - Send a private message to a certain player

And in team chat (u):
Put @ before the text, this will display your text only to the server admins.

(Commands regarding communication on players are /gag (chat ban), /mute (voice chat ban), and /silence (both chat and voice ban)).
Evidence and analasys
Moving on to cheaters:

What's most important is that you always have evidence when you ban a cheater, from my experience 99% of the people who I banned for cheating don’t complain unless I made a misjudgment. So always record a demo, that’s always step 1:

Open console (`) and type in the following:

<record> <demoname>
Example:

record myfirstdemo1

This will start recording what you see on your screen, it is important to always spectate from 1st person view so you can objectively analyse the demo later.

To stop recording simply type in console:
stop

This will create a file in:
C:\Program Files\Steam\steamapps\common\Counter-Strike Source\cstrike\
called myfirstdemo1.dem.
(You can send this file to the server admins to report cheaters, if you are not an admin yourself.)

Reviewing the demo:
To playback the demo, open console and type in:
<playdemo> <demoname>

In our example case:
playdemo myfirstdemo1

Once you have the demo running you can use several tools and commands to analyse the demo:

For wallhacks use sv_cheats 1 then mat_wireframe 1 , This will enable you to see thru walls, pretty much like wallhackers do.

For other stuff, hold SHIFT and press F2 , this will open a menu that is very handy, you can slow down the demo speed, go back and forth using Tick number, holding the Drive button in the menu can let you move around. (tho the drive button don’t work always)

(What is also very important, is that while you are recording you type in <status> in the console, so the you have 100% proof that the person you are banning is who you say he is).

I hope you find my guide helpfull, if I missed on anything feel free to point it out, but keep in mind that its not an guide on detecting cheaters, just using admin tools.

Cheers
24 Comments
cat yum 7 Jan, 2020 @ 2:29pm 
gin. : no admin no rules
Neron 10 Aug, 2019 @ 5:32am 
не работает! я нуб? нету таких команд в консоле, кторые начинаються на SM!!! WTF??
hala<3 23 Feb, 2019 @ 5:27pm 
HELLO ME NAME IS HALA I NEED HELP ME ARE VERY SOON NEW ADMIN ON TEAMSPEAK CALLED CSFRAG HOW I CAN KICK CALIG??
pellit 26 Aug, 2018 @ 11:33am 
get banned dont bhop or b a cunt
Sir Ross 25 Aug, 2018 @ 11:34am 
Admin, he's doing it sideways!
knives 13 Apr, 2016 @ 9:27am 
Nice Keen!
Allower 14 Jul, 2015 @ 12:46pm 
Yup, i same use Extended Mapchooser for my CSS server it's a good stuff :tgrin:
Keen  [author] 14 Jul, 2015 @ 8:02am 
Yes, sorry xD Allower is right, SM command for vote is /votemap, and MapChoserExtended plugin is /mapvote, my bad.
Allower 14 Jul, 2015 @ 7:43am 
Not /mapvote Štefan , SourceMod admin command for map voting is !votemap /votemap sm_votemap
Keen  [author] 13 Jul, 2015 @ 4:56am 
Jebus, for a map vote type "/mapvote" Using just this will nominate random maps, adding to the command <map1name> <map2name> ..etc should list maps you named in the command. (or use the admin menu, its easier)

As for random votes, just use /vote "question" "answer1" "answer2" ...

And like always, if you don't use spaces, you don't need " ", but if its like "vote question" you need the quotation marks.