• AMX Guide Home
  • Step 1: Installing AMX
  • Step 2: Enabling AMX
  • Step 3: Configuring AMX
  • AMX by File:
    • amx.cfg
    • mysql.cfg
    • clcmds.ini
    • cmds.ini
    • configs.ini
    • cvars.ini
    • maps.ini
    • modules.ini
    • paths.ini
    • plugins.ini
    • speech.ini
    • users.ini
  • AMX by Topic:
    • Creating Admins
    • Commands Guide
    • Plugin Installation
    • Plugin Compiling
    • Module Setup
    • Menu Use
    • Language Setup
    • Language Install
    • Weapon Restriction
    • Stats Setup
    • Custom Map Configs
  • Misc. Resources
  • Credit
AMX Mod 2005v1.0 Setup Guide
Half-Life server administration

configs.ini - Configuration menu

The configs.ini file in your addons\amx\config folder contains a list of config files on your server that may be run from the Configuration Menu. This is enabled by using the amx_cfgmenu command and can be useful when starting a match, or for any special requirements you have. This is what the default configs.ini looks like:

; Menu configuration file
; File location: $moddir/addons/amx/config/configs.ini
; To use with Commands Menu plugin

; NOTE: Access level defined here overrides the access level of the command
; (if executed from admin console), so use with care.

; Commands Menu:
; < description > < command > < flags > < access level >
; "a" - execute from server console
; "b" - execute from admin console
; "c" - execute on all clients
; "d" - back to menu when executed

"PUBLIC Settings"         "servercfgfile server.cfg;exec server.cfg" "a" "h"
"Clanbase CS"             "exec cb_cs.cfg;servercfgfile \'\'"        "a" "h"
"Official CAL CS Match"   "exec cal_cs.cfg;servercfgfile \'\'"       "a" "h"
"Official CAL CS Overtime" "exec calot_cs.cfg;servercfgfile \'\'"    "a" "h"
"OGL CS Server Config"    "exec ogl_cs.cfg;servercfgfile \'\'"       "a" "h"
"OGL CS FF Server Config" "exec oglff_cs.cfg;servercfgfile \'\'"     "a" "h"
"OGL CS Advanced Server Config" "exec ogladv_cs.cfg;servercfgfile \'\'"    "a" "h"
"OGL CS OverTime Config"  "exec oglot_cs.cfg;servercfgfile \'\'"     "a" "h"

(Note that a semi-colon ; was inserted at the beginning of some lines. This prevents them from being used.)

Adding additional entries to this menu should be the same as the lines in this file. Just change the name field and the file name (path too if applicable) to meet your need. Let's say you wanted to try out some deathmatch style maps in Counter-Strike, and edited a small config that had cvars in it to turn off the freeze time, friendly fire, and some other things. If this config was called deatchmatch.cfg, this is what the entry would look like in the config:

"Cstrike Deathmatch" "exec deathmatch.cfg;servercfgfile \'\'" "a" "h"

This menu is accessed in the game by typing amx_cfgmenu in the console. Or by binding a key to that command. The menu will show up on the left side of your screen while playing. It looks like this:

Configs Menu
1. PUBLIC Settings
2. Clanbase CS
3. Official CAL CS Match
4. Official CAL CS Overtime
5. OGL CS Server Config
6. OGL CS FF Server Config
7. OGL CS Advanced Server Config
8. OGL CS OverTime Config

0. Exit
1/1

Just select the number of the config you want to be exec'd and that's it. Any changes made to the configs.ini file will show up after the next map change or server restart.

Half-Life is a registered trademark of VALVe Software and Sierra
AMX Mod was created by OLO and is not affiliated with VALVe.