Skip to content

Counter-Strike 1.6: Server Configuration

Learn how to configure the server name, password, starting map, server engine, and rules in server.cfg for your Counter-Strike 1.6 server.

26 November 20266 min read9 Views0 helpful

Don't have your own server yet? Host your Counter-Strike 1.6 server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

With the right configuration, you can make your Counter-Strike 1.6 server exactly the kind of server you want: with your own name, a password, your favorite starting map, and rules such as round time, starting money, or friendly fire. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what you can adjust in server.cfg.

How configuration works

Your Counter-Strike 1.6 server reads its settings from two sources:

  • Startup parameters: Set the server name, server password, starting map, player count, LAN mode, and server engine in ZapX under the Configuration tab, in Startup parameters.
  • server.cfg: Add all other server commands (Cvars), such as round time, starting money, or friendly fire, to the server.cfg file in the cstrike folder. Unlike Source games, CS 1.6 does not have a cfg subfolder. Open the file in the Files tab.

Each time your server starts, it also rewrites the cstrike/zapx_auto.cfg file. It first runs your server.cfg, then sets the server name, server password, RCON password, and LAN mode from the panel. This file runs again every time the map changes, so your settings remain in effect after a map change.

Important

Do not edit zapx_auto.cfg—it is rewritten every time the server starts. The hostname, sv_password, rcon_password, and sv_lan commands in your server.cfg have no effect because the values from the panel always override them afterward. Change these settings under Startup Parameters.

After you save the startup parameters, ZapX offers to restart the server right away. Changes to server.cfg take effect after a restart, or at the latest when the map changes.

Startup parameters at a glance

Startup parameterDescription
Server nameYour server’s name in the server list. Default: ZAP Counter-Strike 1.6
Server passwordPassword required to join. Leave blank for an open server.
Starting mapThe map your server starts with. Default: de_dust2
Max. playersThe number of players who can play on your server at the same time, from 1 to 32. Default: 16
LAN only0 = public server (default), 1 = visible only on the local network
Server engineSteam (default) or ReHLDS + ReGameDLL; see below
Additional startup parametersOptional parameters passed to your server when it starts. Leave blank if you don’t need them.
Warning

Keep LAN only set to 0. If you set it to 1, your server will be limited to the local network and won’t appear in the public server list. This isn’t suitable for a rented server where your friends will play over the internet.

Info

For the Starting map, your server accepts only letters, numbers, and _, ., /, and -. It removes any other characters at startup. For Additional startup parameters, entries are separated by spaces, and each word prefixed with + is run as a console command at startup. ZapX already sets the port, IP, player count, and starting map, so don’t enter them again here.

Starting map and map rotation

Enter the map name without a file extension under Starting map, for example, de_dust2, de_inferno, de_nuke, de_aztec, or cs_office. Save your changes and restart your server.

Set which maps follow the starting map in the map rotation. This is the mapcycle.txt file in the cstrike folder, with one map per line. When your server is set up, the file contains de_dust2, de_inferno, de_nuke, de_train, de_aztec, cs_assault, and cs_office.

Maps are stored as .bsp files in the cstrike/maps folder. Upload custom maps to this folder in the Files tab. To help your players download custom maps quickly, see How to set up FastDL.

Tip

Use the changelevel <mapname> command in the Console tab to switch maps immediately without restarting the server.

More settings in server.cfg

Add each server command to its own line in server.cfg. When your server is set up, the file already contains these values:

cfg
mp_autokick 0
mp_flashlight 1
mp_footsteps 1
mp_freezetime 6
mp_roundtime 3
mp_timelimit 30
mp_buytime 0.5
sv_cheats 0
sv_region 255

These are the settings most commonly changed:

CommandDescription
mp_timelimitMinutes per map before the rotation moves to the next map. 0 = no time limit
mp_roundtimeDuration of a round in minutes
mp_freezetimeNumber of seconds players are frozen at the start of a round
mp_buytimeNumber of minutes players can buy equipment at the start of a round; 0.5 = 30 seconds
mp_startmoneyStarting money for players. Counter-Strike 1.6 allows values from 800 to 16000
mp_maxroundsMaximum number of rounds per map. 0 = no round limit
mp_winlimitNumber of round wins a team needs before the map changes. 0 = no limit
mp_friendlyfire1 allows players to damage teammates
mp_autoteambalance1 automatically balances teams when they have different numbers of players
mp_limitteamsMaximum difference in the number of players between teams
mp_c4timerNumber of seconds until the C4 bomb explodes
mp_autokick1 automatically removes disruptive players from the server
sv_alltalk1 lets all players hear each other in voice chat, including the opposing team
sv_cheats1 allows cheat commands; useful only for testing

You can also enter many of these commands while the server is running in the Console tab, for example, mp_timelimit 20. However, they only apply until the next restart. Add any settings you want to keep permanently to server.cfg. After changing the file, apply the settings immediately by running exec server.cfg in the Console tab.

Server engine: Steam or ReHLDS

Under Server engine, choose which engine your server runs:

  • Steam (default): Valve’s current server engine, which your server uses when it is set up.
  • ReHLDS + ReGameDLL: An alternative engine required for ReAPI plugins such as ReDeathmatch.

If you choose ReHLDS + ReGameDLL, your server creates the ReGameDLL files game.cfg and game_init.cfg in the cstrike folder the first time it starts. These files are yours to edit, and your changes will be kept every time the server starts.

Info

The CSDM 2.1.2 deathmatch plugin does not work with either engine. To learn how to set up ReDeathmatch instead, see How to install plugins.

Custom files, plugins, and admins

Anything you put in the cstrike folder is kept and loaded every time the server starts:

  • The maps and sound folders: Store your maps and sounds here.
  • The models, sprites, gfx, and overviews folders: Store only your custom files here. Your server loads them every time it starts. If a file has the same name as an original game file, your file replaces the original.
  • Individual files directly in cstrike, such as custom .cfg files that you run from server.cfg with exec: Your server loads them as long as there isn’t an original file with the same name. If there is, your file will be skipped, so choose a different name.

To use plugins and in-game admin permissions, you need Metamod and AMX Mod X. They are located in the cstrike/addons folder. Metamod is loaded through the cstrike/liblist.gam file. If it points to a file that doesn’t exist, your server uses the original liblist.gam for that session, and the plugins won’t load.

ZapX automatically generates the RCON password for your server and sets it every time the server starts. The easiest way to run commands is directly in the Console tab.

Conclusion

Your Counter-Strike 1.6 server is now set up the way you want it. To learn how to connect to your server, see How to connect to your server. If something isn’t working properly, our guide to Common issues can help. If you have any other questions, our support team is available every day! 🙂

Free tools

Counter-Strike 1.6 Tools

View all

FAQ

Frequently asked questions

Open the Files tab and go to the cstrike folder: cstrike/server.cfg. Unlike Source games, CS 1.6 does not have a cfg subfolder.
Every time the server starts or the map changes, it runs your server.cfg first, then sets the server name, server password, RCON password, and LAN mode from the panel. Change these values in the Configuration tab under Startup Parameters.
Set the player count to anywhere from 1 to 32 in the Max. players field. The default is 16.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.