How do i give myself admin on my server (when im playing)

  • Thread starter Thread starter suicide_sushi
  • Start date Start date
S

suicide_sushi

Guest
let me explain better....i have a dedicated server. How do i give myself admin so when im playing in my server i have admin?

Thanks in advance
 
Open up server.cfg in the dedicated servers directory and add the line:
rcon_password mypassword
Obviously changing mypassword to anything you like
Once done, restart the server, join and pull down the console. Type in:
rcon_password mypassword
and hit enter. This will "log you in" and you can then execute rcon commands. To execute rcon commands, type them in precedeed by "rcon" (This tells the server that you are giving it a command, not your client)

So for example, to kick someone, you would type:
rcon kick "username" "reason"
and the player with that name will be kicked and so on.

Other commands and usage:
say - If you do:
rcon say hello
It will make the server say hello as the server. This is useful for warning people as it proves you are the admin

ban - same as kick but it also prevents them from joining again. usage is the same as kick, but you add a time on the end if you want them to be able to come back later, so for a 30 min ban, do:
rcon ban "username" "reason" "30"
Set time to "0" for a perm ban (Or don't put in any time at all)


One final tip, when trying to get someones name to ban, I found the quickest and easyest method is to type status in the console and copy and paste the name. Also note, in all cases you can replace the username with the steamid, but if you do ban someone by name, the server will actually automatically ban them by steamid.

Hope that helps
 
Is it possible to have an rcon pass and execute commands through another persons computer, if they are hosting the server off their pc?
 
We have a dedicated CS:S server, and once you've been added to the RCON list, you can log in to RCON at any time, on any PC.
 
Yes, you can access rcon through any PC that is connected to the server, just by typing rcon_password mypassword into the console.

You can also admin from another persons PC using Kontrol which works in a similar way
 
hey link, where is the exact place where this server.cfg is? i only see server.vdf (im a friend of suicidesushi, so im asking for him)
 
It should be in the same directory as the executable for the dedicated server, however, I am basing that on HL1 dedicated servers, so maybe source is different.

Try going "Start - search - Files and Folders". Then put server.cfg in the search area and put the directory of your server in the "Search here" box.

Other than that, check the steam support area and the forums, they will surley yeild some info.
 
Back
Top