For example we will create admin gigi and the password gigi123.In we will write this line Code: gigi:gigi11071 For custom acces levels, go to custom your admin commands, and press “calculate access right” Write the number that result after admin name and password. Secure server Go in /usr/hlds/cstrike directory and open with pico, nano or mcedit. Starting the server: Go in l /usr/hlds and write the next command: Code: ./hlds_run -game cstrike ip internet sv_lan 1 -nomaster maxplayers 18 map de_dust2 TO start the server, use this command: Code: screen -A -m -d -S hlds ./hlds_run -game cstrike ip internet sv_lan 1 -nomaster maxplayers 18 map de_dust2 This command put’s the server on the background. Redirecting stderr to '/home/ogp_agent/Steam/logs/stderr.txt' [ 0%] Checking for available updates...
Ally with teammates to complete strategic missions.
Introduction What do you need to make your own counter-strike server on Linux?
When is ready, you will receive a message like this: HLDS installation up to date Patch-ing the server for NO-steam clients: With the next command, you can make this: Code: rm -rf engine_rm -rf engine_i486rm -rf engine_i686tar xfvz engine.v15In /usr/hlds/cstrike is a file, called admin_connect_msg – this is the message that will appeare to the player, in the middle of the monitor, after he connect’s to the server. admin_quiet – if is 0, the commands will appear with the admin nick. With this command you will force the player to execute the commands (quit..) password_field – the most important cvar,.
Open that file with cu pico, nano, mcedit, vi DELETE EVERYTHING from and add the next cvar’s : Code: replace write a password. Admin Mod install We have download halflife-admin-2.50.60gz Extract it Any Where. admin_cs_restrict – we will put it on 1 to restrict the weapons in the game. If is 1, the commands will appear without admin nickname. what we will write here, the admins must write in game-consol before connecting to the server.
Probably will make update, after that repeat the commad. When it’s ready, will show you the next message: HLDS installation up to date 3. admin_ignore_immunity – If is 1 the admins / moderators can kick, ban, slay each other.
Instaling the mod (counter-strike) Code: ./steam -command update -game cstrike -dir . Minimal Configuration for Admin Mod: Go in /usr/hlds/cstrike/addons/adminmod/config Code: cd /usr/hlds/cstrike/addons/adminmod/config/ Here we have some files that require out atention. Code: nano admin_balance_teams – we are not interested in this, so let it 0 admin_bot_protection – if is 0 and we have bot’s on the server, this cvar will let the admin to slay/ kick ban, to bot’s. admin_repeat_msg – The green message that will appear on the center every 5-10 minutes.
With that password you can control the server from distance. Code: tar xfvz halflife-admin-2.50.60gz Nou we have a folder, called Admin Mod. admin_debug – we are not interested in this, so let it 0 admin_fun_mode – this cvar will make the players to shine. For example if we put _password, the admin gigi with the password gigi123 must write in the game-console gigi after that setinfo _password gigi123 before connecting to the server.
Now use the next commands: Code: cd Adminmod ./install_admin At the first question we write yes and press enter The next question is abbout default directory of hlds.. reserve_slots – Here we will write the number of reserved slots.
in the example with gigi, we replace 131071 with the number that result.