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.
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.cfgfile in thecstrikefolder. Unlike Source games, CS 1.6 does not have acfgsubfolder. 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.
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 parameter | Description |
|---|---|
| Server name | Your server’s name in the server list. Default: ZAP Counter-Strike 1.6 |
| Server password | Password required to join. Leave blank for an open server. |
| Starting map | The map your server starts with. Default: de_dust2 |
| Max. players | The number of players who can play on your server at the same time, from 1 to 32. Default: 16 |
| LAN only | 0 = public server (default), 1 = visible only on the local network |
| Server engine | Steam (default) or ReHLDS + ReGameDLL; see below |
| Additional startup parameters | Optional parameters passed to your server when it starts. Leave blank if you don’t need them. |
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.
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.
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.
Use the changelevel <mapname> command in the Console tab to switch maps immediately without restarting the server.
Add each server command to its own line in server.cfg. When your server is set up, the file already contains these values:
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:
| Command | Description |
|---|---|
mp_timelimit | Minutes per map before the rotation moves to the next map. 0 = no time limit |
mp_roundtime | Duration of a round in minutes |
mp_freezetime | Number of seconds players are frozen at the start of a round |
mp_buytime | Number of minutes players can buy equipment at the start of a round; 0.5 = 30 seconds |
mp_startmoney | Starting money for players. Counter-Strike 1.6 allows values from 800 to 16000 |
mp_maxrounds | Maximum number of rounds per map. 0 = no round limit |
mp_winlimit | Number of round wins a team needs before the map changes. 0 = no limit |
mp_friendlyfire | 1 allows players to damage teammates |
mp_autoteambalance | 1 automatically balances teams when they have different numbers of players |
mp_limitteams | Maximum difference in the number of players between teams |
mp_c4timer | Number of seconds until the C4 bomb explodes |
mp_autokick | 1 automatically removes disruptive players from the server |
sv_alltalk | 1 lets all players hear each other in voice chat, including the opposing team |
sv_cheats | 1 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.
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.
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.
Anything you put in the cstrike folder is kept and loaded every time the server starts:
- The
mapsandsoundfolders: Store your maps and sounds here. - The
models,sprites,gfx, andoverviewsfolders: 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.cfgfiles that you run fromserver.cfgwithexec: 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.
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! 🙂
