• 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 2006 Setup Guide
Half-Life server administration

modules.ini - Adding more modules

The modules.ini file in your addons\amx\config folder contains what modules run in your server. Some plugins require features of additional modules not included or enabled by default. So AMX's core functionality is expanded by adding more modules, which allow plugin authors to do more as well.

Note that as of 2006, AMX doesn't require you to specify AMX modules in the metamod/plugins.ini file due to new functionality in Metamod 1.19(-P). The default location for AMX modules is in addons\amx\modules.

This is what the default modules.ini looks like:

; AMX Modules

; To enable a module, remove the semicolon from the beginning of the line.

; CS Stats (for Counter-Strike)
csstats.dll
csstats_i386.so

; Fun: more functions for modifications in HL
fun.dll
fun_i386.so

; Vexd Util.
;VexdUM.dll
;VexdUM_i386.so

; MySQL
;mysql.dll
;mysql_i386.so

; GeoIP
;geoip.dll
;geoip_i386.so

; Sockets
;sockets.dll
;sockets_i386.so

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

Modules can be found at these two locations on the AMX site:

  • AMX Mod modules
  • AMX Mod modules forum

Once your modules are declared, start up your server and type meta list. This lists MetaMod's plugins and will also show some AMX modules. You should get something like this:

Currently loaded plugins:
      description     stat pend  file              vers      src  load unlod
 [ 1] AMX             RUN   -    amx_mm_i386.so    v2006.1   ini  ANY  ANY
 [ 2] CSStats         RUN   -    csstats_i386.     v1.0      pl1  ANY  ANY
 [ 3] Fun             RUN   -    fun_i386.so       v1.0      pl1  ANY  ANY
3 plugins, 3 running

You can also type amx modules to list the modules AMX has loaded. It should look like this:

Currently loaded modules:
      name                            version  author               status
 [ 1] Fun                             1.0      AMX Team             running
 [ 2] CSStats                         1.0      AMX Team             running
2 modules, 2 correct

Tip:

Module downloads may include files with the .inc extension. It's important that these files get into the addons\amx\examples\include folder. As you compile plugins that use these modules, the .inc file(s) that came with the modules are required for the plugins that use them to compile.

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