AmxMod X Tutorial on Counter Strike 1.6 dedicated server
1. Automatic installation tutorial
2. Installing cstrike module tutorial
3. Manual installation tutorial
4. Configuring admins tutorial
5. Configuring amxx.cfg tutorial
6. Plugins installation tutorial
7. Plugins compilation 1.Automatic installatin tutorial
Download here the AmxMod X installer and unzipp it anywhere on disk . Doubleclick on it , “ I accept the terms”, next … There you are on the selection window . Let the default installation path ( C:\Program Files\AmxModX) selected, next,then Install. Now the installation is ready to begin.Click Finish , with the “Run AmxmodX installation” case selected. Next , “I accept the terms” next . Now you have to select the directory path to install amxmodx . Here you choose the fourth case, wich is “select mod directory” and hit Next .The next step is to select the HLDS\cstrike folder ( HLDS is the main directory of your server), down at the "Custom game addone" chose Counter-Strike and press OK .
Warnning! If the installer will detect another installation of the AmxMod X it will ask you if you want to continue. You have three options :
1.Click yes - all the old configurations will be erased ( admins , installed plugins…)
2.Click no - all the binary files will be upgraded without deleteing the old configurations
3.Click cancel to cancel
I repeat ! This will happen only if the installer will detect another installation of the amxmodx. I there is no old installation the installer will do its job and you just have to press Finish.
2. Cstrike module installation
This is the next faze of the amxmodx installation and it is very important . CStrike module installation will be made manually.
Download here the cstrike module and unzip it anywhere on disk. Open then the amxmodx 1.8.1-cstrike\addons\amxmodx folder. There you have five subfolders : configs, plugins,scripting,modules,data . Copy the files inside each subfolder in the folders with the same name in HLDS\cstrike\addons\amxmodx ( HLDS is the main directory of your server) .Example: files from amxmodx1.8.1-cstrike\addons\amxmodx\configs will go to HLDS\cstrike\addons\amxmodx\configs folder , etc… You `ll be asked if you want to overwrite the existing files and you shall send OK .
Attention! Copy the files inside the subfolders , not the folders themselves ! See the image !
Now you have installed the AmxModX with the CStrike module on your server . To see if it works properly go to console and type “meta list” . The result should be Amxmodx - RUN .
3.Manual installation of AmxModX
This installation is a bit complicated and I don`t recomand it to beginners . For those who want headaches we`ll make a breef presentation.
a.Go to www. amxmodx.org and download the base package for Windows
b.Unzipp it in HLDS\cstrike\addons
c.Go back to amxmodx.org and download the addons of your choice.
d. Unzipp it in HLDS|cstrike\addons
e.Add this line in HLDS\cstrike\addons\metamod\plugins.ini
win32 addons\amxmodx\dlls\amxmodx_mm.dll
To see if it works go to console and type “meta list” . The display should be Amxmodx - RUN.
4.Configuring admins
In order to be in control of your server you have to configure the admin.
Open the HLDS\cstrike\addons\amxmodx\configs\users.ini with wordpad ( HLDS is the main directory of your server) . Scroll down the page and you`ll find a line looking like this :
“loopback” “” “abcdefghijklmnopqrstu" "de". You have to edit this line .If you want an ip admin replace “loopback” with the ip and the put the flag “d”, as you see in the image :

If you want a nick admin replace “loopback” with the nick and the flag should be set to “e”.
Admin account levels and flags :
; Access flags:
; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; z - user (no admin)
Account flags:
; a - disconnect player on invalid password
; b - clan tag
; c - this is steamid/wonid
; d - this is ip
; e - password is not checked (only name/ip/steamid needed)
Admin account examples :
; Format of admin account:
; ; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"
Atention! You don`t have to set all the acces levels to every admin !
If you want to see the commands you have acces to, join the game and console type amx_help . The first 10 commands will show . Next, type amx_help 11 , amx_help 21 , etc..
Seting up the admin password
The line should look like this :
"Name" "password" "abcde….." "a" . As you see the account flag changed to “a” .Your admins will have to console type setinfo_pw password , before they connect to your server .
5.Configuring AmxModX configs
The next step you`ll need to make is configuring amxmodx . There are some things you have to modify in HLDS\cstrike\addons\amxmodx\configs\amxx.cfg . Open the amxx.cfg file and look for :
1. amx_show_activity . This one sets the way the admin`s commands displayes on screen :
- 0 - the commands won`t be shown at all
- 1 - the commands are displayed without admin`s name
- 2- the commands will be displayed with the admin`s name
Set this cvar as you like .
2. amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_imessage "Welcome to %hostname%"
amx_imessage "This server is using AMX Mod X\nVisit www.tutorialecstrike.com"
These are the automatic colored messages that will be displayed on screen to all players . You can modify them as you wish . Right bellow amx_imessage you`ll find amx_freq_imessage 180. This one sets the frequency imessages will be displayed. You can also change that to a value of your choice ( in seconds).
3. Next you look for amx_hideslots and amx_reservation . If you set amx_hideslots to 1, you can hide slots on your server . Amx_reservation sets the amount of reserved slots on your server.
4.Now you look for csstats_rank .This cvar sets how the rank will be calculated . The values are :
0 - calculated by nick
1 - calculated by authid
2 - calculated by ip
If your server will run nonsteam players you should set this cvar to 0 (csstats_rank 0) .If your clients (future players) are going to be steam players this cvar must be set to 1 .
Don`t edit the others unless you know well what you are doing !
6.Installing plugins
The plugins are those who make your server work, and give you, as an admin, the ability to administrate it. Automatically the Amxmodx installer installed the base plugins ( admin commands, admin help, antiflood, stats, vote, nextmap ) .Besides those , you can add custom plugins , to help you administrateing the server, fun plugins or mods that will radically change the game ( csdm, wacraft, superhero).
The plugin has two components : sma - the script and amxx - the plugin itself.
In order to install a plugin you will have to do some steps :
1.Download the plugin (both of the components)
2.Copy the amxx file in HLDS\cstrike\addons\amxmodx\plugins
3.Edit the plugin in HLDS\cstrike\addons\amxmodx\configs\plugins.ini. This mean that you open plugins.ini and edit, under those who already are there, a line like this : plugin.amxx ( for example if you want to install admin_gag plugin, just add the line admin_gag.amxx )See the image.
4.Optionally , you can copy the sma file in HLDS\cstrike\addons\amxmodx\scripting . If you want to modify the plugin just go to the sma file, open it , make the changes ( if you know exactly what you are doing) and then compile it and copy the amxx compiled file into HLDS\cstrike\addons\amxmodx\plugins.
Now go to console and type amx_plugins and see if the plugins are working .If everything is all right it should display “ plugin” - running .
If the server was running when you installed the plugin restart it or change the map !!
7.Plugin`s compilation
In order to modify a plugin (for example the maxping of the highpingkicker) you will have to edit the modification in the sma file and then compile the sma. So, if you want to change the value of highpingkicker maxping , go to HLDS\cstrike\addons\amxmodx\scripting ( HLDS is the main directory of your server) and open the hpk.sma (or whatever the name it is) and edit maxping 150 or 200 or whatever , then save and close . Now you`ll have to compile it . How you do that… Drag and drop the sma file over the compile.exe icon ( the blue one - attention ! there are two blue icons, you will chose the one called “compile”) into the scripting folder . A black window will appear showing the derulation of the compiling process. When it`s done it will display “Compilation Done”. Now you will have to look into the “scripting” folder for a subfolder called “compiled”. Open it , and there you`ll find the compiled “.amxx” file of your plugin ( in our case the hpk.amxx) . This file you`ll have to copy into HLDS\cstrike\addons\amxmodx\plugins folder .
If your server was running while you compiled and installed the plugin restart it or change the map and the plugin will work on the new value !