Setting up your plugin.ini file

The plugin.ini file is a new addition in Admin Mod 2.50

 

This lets a server use multiple scripts at the same time.  The default installation provides a number of scripts, but has both mod-specific plugins disabled.  This means that you must go into the plugin.ini file and enable the Counter-Strike or Team Fortress Classic specific plug-ins.  

 

The default plugin.ini file looks like this when newly-installed:

 

dlls/plugin_base.amx

dlls/plugin_chat.amx

dlls/plugin_cheat.amx

;dlls/plugin_CS.amx

dlls/plugin_hldsld_mapvote.amx

dlls/plugin_message.amx

dlls/plugin_retribution.amx

dlls/plugin_spawn.amx

;dlls/plugin_TFC.amx

dlls/plugin_fun.amx

 

In the stock/default plugin.ini file hown above, note that there are two lines that are commented out by semi-colons (";").  They are:

 

;dlls/plugin_CS.amx

;dlls/plugin_TFC.amx

 

If you play TFC, you should remove the semi-colon in front of the second line.  You will therefore have this:

 

;dlls/plugin_CS.amx

dlls/plugin_TFC.amx

 

If you play CS, remove the semi-colon in front of the first line that has one.  You will have:

 

dlls/plugin_CS.amx

;dlls/plugin_TFC.amx

 

Obviously, there are lines in the file other than the two shown above.

 

The default installation uses plugin script files, and retrieves the list of files to use from the plugin.ini file.  If you decide to do things differently and use only one script, you can disable the plugins by setting the admin_plugin_file cvar to 0 in your server.cfg.  The script_file location must then be specified by the script_file cvar. Unless one of these cvars is defined, Admin Mod will not allow the server to start. If both cvars (admin_plugin_file and script_file) are defined in the server.cfg file, the plugin format will be used and the script_file setting will be ignored.

 

 

See also: Admin Mod Configuration Variables (CVARs), Downloading and Installing Additional Plugins and Compiling Admin Mod Scripts 101 elsewhere in this documentation.