• AMX Guide Home
  • Step 1: Installing MetaMod
  • Step 2: Installing AMX
  • Step 3: Setting up AMX
  • Credit
AMX Mod Setup Guide
Half-Life server administration by OLO

Step 2: Installing AMX Mod

At the time of this writing, version 0.9.9 is the current stable release and is what is listed on the AMX front page.

A. Download AMX and uncompress the file into your mod folder. You already have addons\metamod, and after uncompressing the AMX Mod file you downloaded, you will have addons\amx also. Here are all the folders you should have:

C:\HLServer
        └ mod (ie. cstrike, tfc, dod)
              └ addons
                     ├ metamod
                     │      └ dlls
                     └ amx
                           ├ config
                           ├ dlls
                           ├ examples
                           │      ├ include
                           │      └ source
                           │            └ default
                           ├ logs
                           ├ modules
                           └ plugins

B. Now that AMX is where it needs to be, we need to tell MetaMod to run it. Go to your addons\metamod folder. If you just installed MetaMod you will need to create the plugins.ini file. For Windows users the best method is to right-click in the MetaMod folder, choose New then Text Document. Now name it plugins.ini.

You can also take the provided sample_plugins.ini that comes within the AMX package and rename it to plugins.ini.

Once you complete that or if the plugins.ini file is already there, open it in a text editor and add the following lines:

win32 addons\amx\dlls\amx_mm.dll
linux addons/amx/dlls/amx_mm_i586.so

Note: You can have both lines listed above in the plugins.ini file, but both are not required. If you are a Windows user, then the Linux line is ignored and vice versa.

You might also want to declare some AMX modules you want to use (only those whose name contains '_mm' -- other ones like MySQL do not need to be declared to MetaMod):

win32 addons\amx\modules\csstats_mm.dll
linux addons/amx/modules/csstats_mm_i586.so

C. Start up your server. At the server console, type meta list. You should see something like this:

Currently loaded plugins:
description      stat pend  file              vers     src  load  unlod
[ 1] AMX         RUN   -    amx_mm.dll        v0.9.9   ini  ANY   ANY
[ 2] CSStats     RUN   -    csstats_mm.dll    v0.9.9   cmd  ANY   ANY
[ 3] FUN         RUN   -    fun_mm.dll        v0.9.9   cmd  ANY   ANY
3 plugins, 3 running

If you do, then you have successfully installed AMX Mod! For the official instructions on how to install AMX, refer to the readme.txt file included with the download. Now you have AMX installed and running. In Step 3, we will go through how to configure AMX.

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