Recommended Free Tools
server.cfg is the plain-text file that sets a Counter-Strike 1.6 dedicated server’s name, access rules, player limit, round pacing, economy, team behavior, and cheat policy. Put it at <HLDS install>/cstrike/server.cfg, save it as plain text, and load changes with exec server.cfg on the server console or rcon exec server.cfg through authenticated RCON.
Prefer not to run the server on your own PC? Godlike.Host offers hosted CS 1.6 servers with free DDoS protection and up to three free backups a day.
This guide explains the file’s location and syntax, provides a safe baseline configuration, maps the important commands to their effects, and shows how to apply changes without guessing whether a restart is required.
As an Amazon Associate I earn from qualifying purchases.
Free tools Windows power users keep installed
One-click scans. No signup required.
What server.cfg does and where to put it
A dedicated Half-Life Dedicated Server (HLDS) reads server.cfg from its Counter-Strike game directory during startup. In a normal installation, the path is:
<HLDS install>/cstrike/server.cfg
For example, if HLDS is installed in /home/hlds, the file is /home/hlds/cstrike/server.cfg. On Windows, use the equivalent cstrike folder under the HLDS installation directory.
#1 Best Overall
- [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
- [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
- [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
- [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
- [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.
Use a real text file
- Name the file exactly
server.cfg, notserver.cfg.txt. - Save it as plain text. Rich-text editors can insert formatting characters that the game cannot parse.
- Use one command per line. Values containing spaces, such as a server name, need quotation marks.
- Use
//for comments at the end of a line. Comments are useful for documenting a setting but are not required.
The file is normally executed automatically when the server starts. If a setting is also supplied by a launch script, a plugin, or a map-specific configuration, the value loaded later can override the value in server.cfg.
A copyable baseline configuration
The following starting point covers the core settings for a small internet server. The numeric values are common template values; check the limits and behavior of your HLDS build and installed mods before treating them as universal defaults.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Rank #2
- 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
- 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
- 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
- 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
- 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
hostname "My CS 1.6 Server"
sv_password "" // blank keeps the server open; set a value for private play
sv_lan 0 // internet server; use 1 for LAN
maxplayers 20
mp_timelimit 25
mp_roundtime 2.5
mp_freezetime 6
mp_startmoney 800
mp_buytime 0.25
mp_c4timer 35
mp_friendlyfire 0
mp_autoteambalance 1
mp_limitteams 2
sv_cheats 0
sv_consistency 1
After editing, save the file and load it with exec server.cfg. A server operator using remote administration can run rcon exec server.cfg after authenticating RCON. Never publish an actual RCON password in a configuration example or article.
Commands that control who can find and join the server
| Command | What it controls | Example | Practical decision |
|---|---|---|---|
hostname |
Public server name shown in the browser and connection messages | hostname "My CS 1.6 Server" |
Use a short, recognizable name so players can identify the server. |
sv_password |
Password required to join | sv_password "scrim123" |
Use an empty value for an open server; set a non-empty value for private play. |
sv_lan |
LAN-only versus internet operation | sv_lan 0 |
0 is the internet-server setting; 1 is for a local LAN. |
maxplayers |
Maximum simultaneous player slots | maxplayers 20 |
Choose a capacity your CPU, memory, and network connection can sustain. |
sv_lan 1 does not make a server public on the internet; it is intended for local-network play. Conversely, setting sv_lan 0 does not by itself make the server reachable if the host firewall, router, or port forwarding is not configured.
Rank #3
- [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
- [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
- [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
- [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
- [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by
Round pacing, economy, and bomb timing
These commands determine how long players prepare, shop, and execute each round. Time values are expressed in minutes unless the command description says seconds.
| Command | Effect | Example | How the value changes play |
|---|---|---|---|
mp_timelimit |
Maximum time for the current map | mp_timelimit 25 |
A shorter limit rotates maps sooner; a longer limit allows more rounds on one map. |
mp_roundtime |
Length of an individual round, in minutes | mp_roundtime 2.5 |
Lower values create faster executes; higher values allow slower defaults and rotations. |
mp_freezetime |
Frozen preparation period at round start, in seconds | mp_freezetime 6 |
Players get time to buy and discuss before movement begins. |
mp_startmoney |
Money awarded at the start of a side or after a reset | mp_startmoney 800 |
The standard-style value creates an economy; higher values make weapons available immediately. |
mp_buytime |
Length of the purchase window, in minutes | mp_buytime 0.25 |
0.25 equals 15 seconds, producing a short buy phase. |
mp_c4timer |
Bomb countdown after planting, in seconds | mp_c4timer 35 |
A shorter timer increases post-plant pressure; a longer timer gives defenders more recovery time. |
mp_maxrounds |
Maximum rounds before the map ends | mp_maxrounds 0 |
0 removes the round cap, leaving mp_timelimit as the map’s time control. |
When changing several pacing values together, decide whether you are optimizing for public play, a competition-style match, or quick testing. For example, increasing mp_startmoney while leaving a short mp_buytime can still prevent players from purchasing after the initial window.
Rank #4
- Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
- Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
- All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
- Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
- Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.
Team rules, camera behavior, and server integrity
| Command | Function | Example | Typical use |
|---|---|---|---|
mp_friendlyfire |
Allows damage to teammates | mp_friendlyfire 0 or 1 |
0 suits casual public play; 1 enforces stricter team-fire rules. |
mp_autoteambalance |
Automatically moves players to keep teams balanced | mp_autoteambalance 1 |
Useful on public servers where players join and leave frequently. |
mp_limitteams |
Maximum allowed difference in team size | mp_limitteams 2 |
Prevents a team from becoming disproportionately large during normal joins. |
sv_cheats |
Enables cheat-only server commands | sv_cheats 0 |
Keep it at 0 for normal play; enable it only on a controlled test server. |
sv_consistency |
Checks client files against consistency rules | sv_consistency 1 |
Helps reduce mismatched or modified assets, although some mods may require different handling. |
mp_forcecamera |
Restricts what dead players can observe | mp_forcecamera 1 |
Use a restrictive spectator view for organized matches when you want to limit information. |
mp_fadetoblack |
Fades a player’s screen after death | mp_fadetoblack 1 |
Can prevent dead players from relaying visual information in competitive settings. |
Do not turn on sv_cheats merely to test an ordinary configuration change. It changes the rules for every connected player and should be reverted before a public match.
How to edit and reload the file safely
- Stop or announce maintenance. Editing while players are active can change rules mid-match. For a public server, warn players before reloading.
- Back up the current file. Copy
server.cfgto a dated backup so you can restore a known-good version if a typo prevents startup. - Edit with a plain-text editor. Keep command spelling, underscores, quotation marks, and numeric formats intact.
- Save in the same directory. Confirm the final path is
<HLDS install>/cstrike/server.cfgand that the operating system did not append a second extension. - Load the changes. On the server console, enter
exec server.cfg. From an authenticated RCON session, enterrcon exec server.cfg. - Verify the result. Query important variables in the console, reconnect a test client, and check the server browser name, password behavior, round timer, and buy period.
- Restart when necessary. A reload applies cvars that can change at runtime. If a launch parameter, plugin, or map script overwrites a value, restart the server and inspect the startup log.
A successful exec command does not prove every line was accepted. A misspelled command may be ignored or produce a console warning while the rest of the file continues loading, so verification matters.
Best Value
Using restart controls without disrupting players
The command guide also documents mp_restartgame and related restart controls. Use them after changing round-economy settings when you need a clean round state, but warn connected players first. A restart resets active-round progress and can discard the current economy, so it is inappropriate as a casual way to test every edit.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Vanilla servers, bots, and mod-specific commands
Standard, unmodified CS 1.6 does not include built-in bots. Bot play requires a server modification such as ZBot or PODBot. Because each mod adds its own commands, bot settings should be kept in a clearly labeled mod-specific section or separate configuration file rather than presented as universal server.cfg directives.
When a mod’s documentation conflicts with a vanilla command, follow the mod’s documented load order. Some plugins execute after server.cfg and may intentionally replace values such as team limits, round rules, or map rotation settings.
Troubleshooting common configuration failures
The server starts with old values
- Check that the file is in
cstrike, not the HLDS parent directory or a different mod folder. - Run
exec server.cfgmanually and watch the console for errors. - Look for a later plugin, map config, or launch parameter that sets the same cvar.
- Restart HLDS if the value is only read during startup.
Players cannot connect from the internet
- Confirm
sv_lan 0for an internet server. - Check the host firewall, router forwarding, and the actual game port separately;
server.cfgcannot open a blocked port. - Test from a network outside the host’s LAN. A local test can fail because of router loopback behavior even when external players can connect.
The password appears not to work
- Ensure the value is quoted exactly, with no trailing spaces inside the quotation marks.
- Reload the file after editing and test with a client that has not cached an old connection attempt.
- Remember that an empty
sv_password ""intentionally leaves the server open.
Teams remain uneven
- Check that
mp_autoteambalanceis set to1if automatic balancing is wanted. - Review
mp_limitteams; a low limit can prevent a player from joining the preferred side even when the server has open slots. - Check plugins that provide their own balancing logic.
Players report consistency or missing-file kicks
sv_consistency 1 is intended to detect mismatched assets, but custom maps and mods can introduce legitimate differences. Confirm that every client has the required files and consult the installed mod’s compatibility notes before disabling consistency checks on a public server.
Quick Recap
A practical pre-publication checklist
server.cfgis plain text and located in<HLDS install>/cstrike/.hostnameidentifies the server without misleading tags.sv_lanmatches the intended LAN or internet audience.sv_passwordis blank for open play or set deliberately for a private session.maxplayersmatches the machine and network capacity.- Round, freeze, buy, money, and bomb timers produce the intended pace.
- Friendly fire, balancing, team limits, camera restrictions, and cheat permissions match the rules you announced.
- Any bot or plugin commands are separated from vanilla settings and documented for the specific mod.
- You have tested both startup loading and a manual
exec server.cfgreload. - An authenticated RCON method is available, but its password is kept private.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problems




