468x60 Ads

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

Click here to see part 1


Blogger said...

BlueHost is definitely one of the best hosting provider with plans for all of your hosting needs.

Post a Comment