Since I see youre running a linux server, in case you dont find everything youre looking for at the prior posted forum link, heres some hints how I set mine up prior to that wonderful informative post. Used basic trial & error, works golden.
First, heres a list of how my server is currently structured;
- Linux/Redhat 7.3 (valhalla)
- Screen version 3.09.11 (comes pre installed w/7.3 if not, see attached)
- Server dir: /home/cssource (runs under root)
Assuming you already have a steam account, make sure youre in the same directory as the "steam" app or that your specifying the entire path when you try to update the game.
Quote:
this is a dedicated server and is set up by this command ./steam -command update -game "counter-strike source" -dir /home/server1/srcds_l -username "username" -password "password"
|
You may need to specify it in the correct case, Im not sure but this is something I noticed;
./steam -command update -game "Counter-Strike Source" -dir /home/server1/srcds_l -username killer123 -password moomoo -remember_password
After its installed make sure the 'steam' app is in the same directory as the 'srcds_run'. reason being is that it checks for the steam file upon initialization of the server.
CS structure (/home/yourdir:
./bin/
./cstrike/
- ./addons - if this doesnt exist, create it & chmod "755" (used for plug-ins)
- ./bin
- ./cfg - server,game,vavle.rc, *.cfg config files
- ./DownloadLists
- ./downloads
- ./logs
- ./maps
- ./materials
- ./models
- ./resource
- ./scripts
- ./sound
./hl2/
Here is a list of Rcon commands:
http://www.promagnum.com/images/HL2-CS2/cvarlist.txt
All rcon commands require rcon before it. So to change the servers map its; rcon changelevel "level_name"
And here is my example server.cfg file (/cstrike/cfg/server.cfg:
// Server Name
hostname "my server"
// SAP ADMIN SETUP
admin_user "STEAM_0:0:123456" 3
admin_user "STEAM_0:1:654321" 1
// remote control (rcon command)
rcon_password "yourpassword"
mp_c4timer 30
mp_startmoney 800
mp_timelimit 0
mp_winlimit 15
mp_freezetime 4
mp_friendlyfire 0
mp_tkpunish 1
mp_flashlight 1
mp_footsteps 1
mp_hostagepenalty 13
mp_falldamage 1
mp_roundtime 5
mp_spawnprotectiontime 5
mp_forcecamera 1
mp_autokick 0
// sv_variables
sv_gravity 800
sv_alltalk 0
sv_region 1
sv_rcon_banpenalty 5
sv_rcon_maxfailures 10
sv_timeout 300
sv_pushaway_force 30000
sv_pushaway_max_force 2000
sv_pushaway_clientside 0
// server restrictions [SAP]
// admin_restrict awp yes
// admin_restrict g3sg1 yes
// admin_restrict scout yes
// Others
log 1
phys_pushscale 2
// exec banned_ip.cfg
// exec banned_user.cfg
Hope this helps.