ThisCalculator

Everyday

CS2 Map Cycle Setup: Step-by-Step Guide

Updated · Standard formula, shown below

This guide walks you through setting up a map cycle on a Counter-Strike 2 dedicated server. You’ll learn how to define which maps appear, in what order, and how to make the server automatically rotate after each match. This is essential for community servers, competitive hubs, or practice servers that want a consistent, varied experience.

What You’ll Need

  • A CS2 dedicated server (Windows or Linux) with admin/root access to the installation directory.
  • Basic familiarity with editing text files (like server.cfg and mapcycle.txt).
  • The exact names of the maps you want to include (e.g., de_dust2, de_mirage). You can find them in the maps folder of your server or in the game files.
  • SSH or remote desktop access to the server, depending on your hosting setup.

Step-by-Step

  1. Locate your server’s configuration files. On most installs, these are in the server’s root directory. Look for csgo/cfg/ folder. If you have a custom directory, adjust accordingly.
  2. Create or edit the mapcycle.txt file. This file lists the maps in the order you want them to appear. It should be in the csgo/cfg/ folder (or sometimes csgo/). If it doesn’t exist, create it with a text editor.
  3. Add map names, one per line. Open mapcycle.txt and type the map names exactly as they appear in the game (e.g., de_dust2, de_inferno, de_mirage). Do not include the .bsp extension. Save the file.
  4. Set the mapcycle in your server.cfg. Open server.cfg (in the same cfg folder) and add or modify the line: mapcyclefile mapcycle.txt. This tells the server to use your custom map cycle file.
  5. Configure map rotation time. In server.cfg, set mp_timelimit to the number of minutes each round should last (e.g., mp_timelimit 30). Also set mp_maxrounds if you prefer a round limit (e.g., mp_maxrounds 30). The server will rotate when either limit is reached.
  6. Enable automatic rotation. Ensure mp_autoteambalance is set to 1 (default) and that mp_halftime is set as desired. The rotation itself is handled by the game; you just need the mapcycle file and timelimit.
  7. Restart the server. After saving changes, restart your CS2 server to apply the new configuration. Use your server control panel or command line to stop and start the process.
  8. Test the cycle. Join the server and play until the time or round limit is reached. The server should automatically change to the next map in the list.

Common Mistakes

  • Incorrect map names: Typing de_dust instead of de_dust2 will cause the server to skip that map or fail to load it.
  • Wrong file location: Placing mapcycle.txt in the wrong folder (e.g., root instead of csgo/cfg) will result in the server not reading it.
  • Forgetting to set mapcyclefile: If you don’t point the server to your custom file, it will use the default cycle, ignoring your list.
  • Using .bsp extension: The file should contain just the map name, not de_dust2.bsp.
  • Setting both timelimit and maxrounds to 0: This disables rotation entirely, so the server stays on the same map forever.

Tips

  • Backup your files: Before editing, copy server.cfg and mapcycle.txt so you can revert if something goes wrong.
  • Use a consistent order: For competitive play, alternate between bomb defusal maps (de_) and other modes if desired.
  • Include popular maps: Stick to well-known maps that your community enjoys to avoid long loading times or frustration.
  • Test with a small cycle: Start with 2-3 maps to verify rotation works before adding your full list.
  • Check server logs: After a rotation, check the server console or logs for any errors like “Map not found” to catch typos.

Troubleshooting

  • Server doesn’t rotate: Verify that mp_timelimit is greater than 0 and mp_maxrounds is not 0. Also confirm mapcyclefile points to the correct file.
  • Map is skipped: The server will skip a map if it can’t find it. Double-check the spelling and that the map is actually installed on the server (look in csgo/maps/).
  • Rotation happens too fast: If the map changes after just a few minutes, your mp_timelimit might be set too low (e.g., 5 minutes). Increase it to 20-30 minutes.
  • Server crashes on map change: This often indicates a corrupted map file or a missing dependency. Try removing the problematic map from the cycle and see if it works.
  • Changes don’t take effect: Make sure you restarted the server after editing. Some settings can be changed live via console, but mapcycle changes require a restart.

Frequently Asked Questions

Can I use the same map twice in a cycle?

Yes, you can list a map multiple times, but it’s usually not needed. The server will rotate to it again after the cycle loops.

How do I set a different time limit for each map?

You can’t set per-map time limits in the mapcycle file. You’d need to use map-specific config files (like de_dust2.cfg) in the cfg folder to change mp_timelimit when that map loads.

Does the map cycle work for custom workshop maps?

Yes, if the workshop map is downloaded and installed on the server, you can add its name (e.g., workshop/1234567890/de_mycustom) to the cycle, but the exact naming depends on how the map is stored.

Can I force a map change manually?

Yes, use the console command changelevel de_dust2 to switch immediately, or nextlevel de_dust2 to set the next map after the current match ends.

Why does my server ignore the mapcycle and always go to de_dust2?

This usually happens if mapcyclefile is not set correctly, or if the default mapcycle.txt is being used. Check that your file is in the right path and the setting is in server.cfg.

Do I need to include de_ prefix?

Yes, map names in CS2 typically start with de_ for bomb defusal, cs_ for hostage, etc. Use the exact name as it appears in the game’s map list.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.