csConfig logo

Directory

Configuring AMX

This section here describes how to configure amx. It includes how to install amx and metamod, how to configure amx for metamod, how to intall and configure extra plugins for amx and how to configure amx.

This tutorial will not go into what each of the modules or plugins do. It will only explain how to install them.

  1. Installing AMX
  2. Configuring Metamod
  3. Configuring Modules
  4. Configuring Plugins
  5. Configuring It all for CS

Installing AMX

  1. Install amx to half-life\cstrike\addons\amx
  2. Install metamod to half-life\cstrike\addons\metamod
  3. Install any other addons you have like statsme to half-life\cstrike\addons\addon-folder

Some versions of amx come with metmod, if it does then just extract everything to half-life\ cstrike\addons. If not install metamod seperately.

Configuring Metamod for AMX

In your metamod folder there will be a file called plugins.ini. If it isn't there then create it. You need to open plugins.ini and then put the path to all your addon dll files.

You need to put all modules of amx in aswell. This means that if you have csstats which you need for statsme, you need to include that in the list.

This is an example of a plugins.ini file:

win32 addons/amx/dlls/amx_mm.dll
win32 addons/amx/dlls/fun_ms.dll
win32 addons/amx/dlls/csstats_ms.dll
win32 addons/statsme/dlls/statsme_mm.dll

As you can see, for windows it needs to start with "win32", and the directory to start at has to be addons.

Configuring AMX Modules

AMX comes with some modules by default. These are:

By Default only CSStats and Fun are enabled

You also have to declare the modules in an amx file. The file is modules.ini in the amx folder. The way to declare these is to put the path to the dll starting with addons. It is similar to the metamod plugins.ini except you exclude the win32.

Example modules.ini

addons/amx/dlls/csstats_ms.dll
addons/amx/dlls/fun_ms.dll

Configuring Plugins

The last file to configure is the amx plugins.ini. It is located in amx\plugins. To configure this file you just have to include every plugin in the folder that you want to use. You put the full name of the plugin without the directory path. eg.

timeleft.amx
imessage.amx

If you don't want to include a plugin you don't have to declare it. It doesn't matter if it is in the folder, as long as it isn't declared it won't be used.

Configuring Everything for CS

The last thing to do is to configure everything for cs. You need to open up liblist.gam in half-life\cstrike. There should be a line that says "gamedll dlls\mp.dll" or something like that. Change it to "gamedll addons\metamod\dlls\metamod.dll" without the quotation marks.

This concludes the amx tutorial. If you have any questions feel free to email us.

Go back to server configuration tutorial menu