Admin Mod - installation
configuration, adding admins, adding plugins,commands
Download here the halflife-admin-2.50.60-win.rar and extract it anywhere on disk . You`ll have a new directory called Adminmod. Open it and doubleclick on install_admin.vbs. Hit OK and then it will ask you where to install. Type in the lower case the full path to HLDS directory ( the main directory of your server -
ex: C:\HLDS\hlds.exe).Then the installer will ask you wich MOD you want to be installed for.There you will choose 1 for counter strike.
Very important ! After the installation is done, go to HLDS\cstrike\addons\adminmod\config\plugin.ini and look for the line :
# addons/adminmod/scripts/plugin_CS. Then delet the # sign in front of the line !
Minimal configuration for AdminMod
Go to HLDS\cstrike\addons\adminmod\config and open adminmod.cfg with wordpad. There you have some lines that needs to be configured :
admin_balance_teams - set it to 0
admin_bot_protection - if you set this to 0 and you run a bot server, this cvar lets you as an admin to kick/slay/slap bots.
admin_connect_msg - this is the message that will display to your clients after connection ; set this to whatever you wish.
admin_cs_restrict - you must set this cvar to1, so you can restrict weapons
admin_debug - let this one as it is,0
admin_fun_mode - this turns the fun mode on/of . You can set it as you like - 0 is off and 1 is on
admin_fx - this must be set to 1
admin_gag_name - lets you gag players ; 0-off, 1-on
admin_gag_sayteam - same thing
admin_highlander - this should be set to 0. If you set this cvar to 1 only the admin with the highest level will be active on the server, the others turning into simple slots.
admin_ignore_immunity - if this cvar is set to 1 the immune players (admins) can be kicked/slayed/banned .
admin_repeat_msg - this is a message that appears on screen during the game.
admin_quiet - sets the way commands will be displayed on screen : 0 - with the admin`s name, 1- without the admin`s name, 2- won`t be shown at all.
allow_client_exec - must be set to 1 ! This will force players execute your commands.
password_field - this is the variable the admins will have to console type before connecting to your server . Ex : if you set this to “_pw” the setinfo will be - setinfo_pw adminpassword .
reserve_slots - the amount of reserved slots ( set this one 2 or 3 …wathever)
Other cvars can be changed only if you know well what you`re doing !
Open HLDS\cstrike\addons\adminmod\config\users.ini with wordpad . Add a line like this :
Nick:password:131071 ( 131071 is the highest admin level ) . If you want to add an admin with lower access level go to adminmod manual (you`ll find it in the installation folder - Adminmod\docs) and look for Admin Mod Reference\Acces levels. Choose the levels you wish and then press Calculate Access Right. Type the number displayed in users.ini admin line .
Attention ! If you try to connect to the server as an admin with setinfo_pw “your password” , and the commands doesn`t work, console type admin_password “your password”.
Installing Admin Mod plugins
In order to install Admin Mod plugins, first thing to do is to check if you have all the folders in HLDS\cstrike\addons\adminmod, especially the “scriptings” folder.If the folder isn`t there you will have to copy it from the installation`s folder (the folder that you downloaded to install Admin Mod).In the installation`s directory are two more foldes you may copy in HLDS\cstrike\addons\adminmod: tools and docs.
Now download the plugins here, unzipp them and copy the sma files in HLDS\cstrike\addons\adminmod\scripting\myscripts. Then, double ckick on compile_all .The sma files will be compiled. Now open the HLDS\cstrike\addons\adminmod\scripting\mybinaries folder where you`ll find the amx files . Copy them to HLDS\cstrike\addons\adminmod\scripts . Last step to make is editing the plugins in Mergem in HLDS\cstrike\addons\adminmod\config\plugin.ini . To do that just add lines like this : linie addons/adminmod/scripts/plugin_name.amx ( example: for the plugin_matrix, add the line addons/adminmod/scripts/plugin_matrix.amx).If the server was working while you were installing the plugins, restart it or change the map. To check if the plugins are working properly type into console admin_version and a list of plugins will be displayed.