AMX Mod Setup Guide
Half-Life server administration by OLO

# Step 1: Installing MetaMod

MetaMod is a replacement DLL for the game you run. This modified DLL replaces the stock version and allows for external plug-ins (such as AMX) to interface with the game. This step may be skipped if you already have MetaMod installed.

Version 1.17.1 is the current at the time this document was made. Also note that it's shipped within the AMX 0.9.9 package: if you plan to use this one, just go to step C.

A. Download MetaMod for the operating system you use: Windows | Linux

B. Make the following folders in your mod folder (ie. cstrike, tfc, etc.):

C:\HLServer (your path may vary)
└ mod (ie. cstrike, tfc, dod)
└ addons
└ metamod
└ dlls

C. Uncompress the fileFor windows:
metamod.dll
For linux:
metamod_i386.so you downloaded and put it in the addons\metamod\dlls folder you just made.

D. Enabling MetaMod on Steam based servers: (Click here for WON instructions)

MetaMod can be enabled by adding a command line switch to your server's shortcut or startup script. The old method done by editing the liblist.gam file should only be used on a WON based server. Steam servers often update that file with default values which disable MetaMod. The -dll switch is how it has to be done. Choose your type of server from below and follow the instructions:

- "Windows Listen Servers": Right-click on your game (ie. Counter-Strike) from the Games menu in Steam and choose Properties. Then choose Launch options. Now just add -dll addons\metamod\dlls\metamod.dll to the space provided and choose OK.
- "Windows Dedicated Servers from the Games menu in Steam": Right-click on Dedicated Server choose Properties. Then choose Launch options. Now just add -dll addons\metamod\dlls\metamod.dll to the space provided and choose OK.
- "Windows Dedicated Servers not from Steam menu (also WON servers)": Right-click on the shortcut for your server and choose Properties. From the Shortcut tab find the Target field. At the end of that line, add -dll addons\metamod\dlls\metamod.dll and choose OK.
- "Linux Dedicated Servers" Edit the script you use to start up your server and add -dll addons/metamod/dlls/metamod_i386.so to the end of the line. Save and exit.

D. Enabling MetaMod on WON based servers: (Click here for Steam instructions)

For WON servers, find the file called liblist.gam in your mod folder (ie. cstrike) and open it up in a text editor. Find the lines:

gamedll "dlls\mp.dll"
gamedll_linux "dlls/cs_i386.so"

And change them to this:

;gamedll "dlls\mp.dll"
gamedll "addons\metamod\dlls\metamod.dll"
;gamedll_linux "dlls/cs_i386.so"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"

(Note: A semi-colon ; was inserted at the beginning of the original lines. This prevents them from being used without deleting the original lines. Also you can have both lines listed above in the liblist.gam file, but both are not required. If you are a Windows user, then the Linux line is ignored and vice vera.)

E.Now, start up your server. To find out if MetaMod is running, type meta version on the server console and press enter. You should get something that looks like this:

Metamod v1.17.1 2004/05/30
by Will Day <willday@metamod.org>
http://www.metamod.org/
compiled: Jun 4 2004, 00:39:34 CEST (optimized)

If you do, then you have successfully installed MetaMod! For the official instructions on how to install MetaMod, go here. Now move on to Step 2 and lets install AMX next.

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