amx_map, amx_extendmap and Changelevel Commands

November 5, 2025 Daemon666 8 min read 261 wyświetleń

There are three different ways to change or prolong the current map on a CS 1.6 server, and admins routinely confuse them: the AMX Mod X amx_map command, the raw engine changelevel, and map extension. They behave differently — one validates the map for you and one will happily try to load a map that does not exist — so it is worth knowing exactly which does what.

1. amx_map: the safe admin command

amx_map is provided by the AMXX admin-commands plugin. It changes the level, but first it validates that the map exists on disk and gives players a short heads-up before the switch:

amx_map de_inferno

Because it checks the map before committing, a typo gets rejected with a message rather than dropping everyone into a broken load. It requires the map-change access flag (see the flags reference). This is the command you should use day to day.

2. changelevel: the raw engine command

changelevel is a built-in engine command, not an AMXX one. It changes the map immediately with no validation and no warning:

changelevel de_nuke

It is fine from RCON or the server console when you know the map is installed, but it has two sharp edges. First, it does no existence check — point it at a missing map and the server fails the transition. Second, because it bypasses the mapcycle position logic, jumping to a map that is not in your cycle resets the rotation to the top afterwards. Prefer amx_map unless you have a specific reason to use the engine command directly.

3. amx_votemap: let players decide

When you would rather put the change to a vote than force it, use amx_votemap:

amx_votemap de_dust2 de_train cs_office

This opens a short vote between the listed maps and changes to the winner. For a permanent player-driven system rather than a one-off admin vote, install Rock The Vote and nextmap instead — that is the maintained way to hand map choice to players.

4. Extending the current map

Extending means keeping the current map running longer by pushing back mp_timelimit, rather than changing to a new one. The extend feature is part of the end-of-map vote system (mapchooser) and is governed by two cvars:

amx_extendmap_max 90     // ceiling: a map may be extended to at most this many minutes total
amx_extendmap_step 15    // how many minutes each successful "Extend" adds

When "Extend" wins the end-map vote, the plugin raises mp_timelimit by the step, up to the max. There is no universal stock amx_extendmap command in a default install — an explicit "extend now" admin command comes from an add-on plugin such as CSB Admin Extend Map. If you want admins to extend on demand rather than only through a vote, install that plugin; the cvars above still cap how far it can go.

5. Manual extend without a plugin

You can always extend by hand from RCON by raising the time limit on the fly:

mp_timelimit 45

That adds time to the running map immediately. It is blunt but reliable, and it is exactly what the extend feature automates. Just remember the value is in minutes and it applies to the current map only — the next map starts fresh from whatever your config sets. For the full list of round and map timing cvars, see the mp_ cvars reference.

Common errors

  • changelevel failed or the server hangs on switch — the target map is not in cstrike/maps/. Use amx_map, which validates first, or confirm the .bsp is installed.
  • Rotation jumps to the first map after a manual change — you used changelevel (or amx_map) to a map not in the cycle. That is expected; add the map to mapcycle.txt if you want it in rotation.
  • Extend does nothingmp_timelimit is 0, so there is no time limit to extend. Set a real limit first.
  • Map extends foreveramx_extendmap_max is too high or unset, so a popular map never ends. Cap it to a sane ceiling.
  • Unknown command: amx_extendmap — there is no such stock command; the on-demand extend comes from an add-on plugin. Install one or raise mp_timelimit manually.

Verification

Run amx_map with a valid map and confirm the warning appears and the switch completes. Try it with a deliberately misspelled name and confirm it is rejected rather than crashing the server. To test extend, set mp_timelimit 2, let the end-map vote appear, choose Extend, and read the limit back:

mp_timelimit

It should now show the original value plus amx_extendmap_step, capped at the max. Once the map controls behave, tie them into your rotation with the mapcycle.txt guide.

Współtwórcy: Daemon666 ✦
Udostępnij: