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 ).
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 !!
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 !