<!DOCTYPE HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Setting up your plugin.ini file</title>
<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=1375>
<meta name=layout-width content=700>
<meta name=date content="06 8, 2001 3:37:23 PM">


<!--(Links)=========================================================-->

<SCRIPT language="javascript" title="WebHelpSplitCss">
<!--
if (navigator.appName=="Netscape")
{   document.write("<LINK rel='StyleSheet' href='../default_ns.css'>");}
else
{   document.write("<LINK rel='StyleSheet' href='../default.css'>");}
//-->
</SCRIPT>
<style>
<!--
p.whs1 {font-weight: bold;}
p.whs2 {font-weight: bold;}
p.whs3 {font-style: italic; font-size: 10pt;}
ul.whs4 {list-style: disc;}

-->
</style>
<script language="javascript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) >= 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
//-->
</script>
<style>
<!--
  div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
  p.WebHelpNavBar {text-align:right;}
-->
</style>
<script src="../bsscnbar.js" language="JavaScript" title="WebHelpNavBarExtJs" >
</script>
</head>

<!--(Body)==========================================================-->


<body>

<SCRIPT language="JavaScript" title="WebHelpNavBar">
<!--
gbstrRelHomePageURL="../index.html";
if (parseInt(navigator.appVersion) >=3  && window.name.indexOf("BSSCPopup") == -1)
{
var strNvHome=""; var strNvBrowse=""; var strNvWebSearch="";
if ((parseInt(navigator.appVersion) >= 3) && (typeof (BsscNavHasNavFrame) != "undefined") &&
 (typeof(BsscNavIsList) == "undefined" || !BsscNavIsList())) 
{
  if (!BsscNavHasNavFrame()) {
    strNvHome  = "<a href=\"javascript:void(0);\" onclick=\"onBsscNavShow();return false;\"><img src='../bsscnav1.gif' width=42 height=19 border=no></a>";
  } else {
    strNvHome  = "<a href=\"javascript:void(0);\" onclick=\"onBsscNavHide();return false;\"><img src='../bsscnav2.gif' width=37 height=19 border=no></a>";
  }
}
if ((strNvHome.length != 0) || (strNvBrowse.length != 0) || (strNvWebSearch.length != 0)) {
  document.write("<p id='NavBar' align='right' class=WebHelpNavBar><nobr><font size=1>");
  if (strNvHome.length != 0) document.write(strNvHome);
  if (strNvBrowse.length != 0) document.write(strNvBrowse);
  if (strNvWebSearch.length != 0) document.write(strNvWebSearch);
  document.write("</font>&nbsp;&nbsp;&nbsp;</nobr></p>");
  }
}
//-->
</SCRIPT>

<h1>Setting up your plugin.ini file</h1>

<p>The plugin.ini file is a new addition to the Admin Mod 2.50.x series</p>

<p>&nbsp;</p>

<p>This lets a server use multiple scripts at the same time. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->The 
 default installation provides a number of scripts, but has both mod-specific 
 plugins disabled. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->This 
 means that you must go into the plugin.ini file and enable the Counter-Strike 
 or Team Fortress Classic specific plug-ins. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}--></p>

<p>&nbsp;</p>

<p>The default plugin.ini file looks like this when newly-installed:</p>

<p>&nbsp;</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/plugin_antiflood.amx</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/plugin_base.amx</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/plugin_chat.amx</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/plugin_cheat.amx</p>

<p style="margin-left: 40px;"># addons/adminmod/scripts/plugin_CS.amx</p>

<p style="margin-left: 40px;"># addons/adminmod/scripts/plugin_TFC.amx</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/plugin_hldsld_mapvote.amx</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/plugin_message.amx</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/plugin_retribution.amx</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/plugin_fun.amx</p>

<p style="margin-left: 40px;"># addons/adminmod/scripts/plugin_spawn.amx</p>

<p>&nbsp;</p>

<p>In the stock/default plugin.ini file hown above, note that there are 
 two lines that are commented out by semi-colons (&quot;;&quot;) or hash characters (&quot;#&quot;). <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->They 
 are:</p>

<p>&nbsp;</p>

<p style="margin-left: 40px;"><b>#</b>addons/adminmod/scripts/<b>plugin_CS.amx</b></p>

<p style="margin-left: 40px;"><b>#</b>addons/adminmod/scripts/<b>plugin_TFC.amx</b></p>

<p>&nbsp;</p>

<p>If you play TFC, you should remove the hash in front of the second 
 line. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->You 
 will therefore have this:</p>

<p>&nbsp;</p>

<p style="margin-left: 40px;"><b>#</b>addons/adminmod/scripts/<b>plugin_CS.amx</b></p>

<p style="margin-left: 40px;">addons/adminmod/scripts/<b>plugin_TFC.amx</b></p>

<p>&nbsp;</p>

<p>If you play CS, remove the hash in front of the first line that 
 has one. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->You 
 will have:</p>

<p>&nbsp;</p>

<p style="margin-left: 40px;">addons/adminmod/scripts/<b>plugin_CS.amx</b></p>

<p style="margin-left: 40px;"><b>#</b>addons/adminmod/scripts/<b>plugin_TFC.amx</b></p>

<p>&nbsp;</p>

<p>Obviously, there are lines in the file other than the two shown above.</p>

<p>&nbsp;</p>

<p>The default installation uses plugin script files, and retrieves the 
 list of files to use from the plugin.ini file. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->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 adminmod.cfg. 
 <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->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 adminmod.cfg 
 file, the plugin format will be used and the script_file setting will 
 be ignored.</p>

<p>&nbsp;</p>

<p>Comments in the plugin.ini file can be preceeded with either a semicolon character(<b>;</b>) or a hash character (<b>#</b>). On this page only hashes are used but exchanging them for semicolons will have exactly the same effects.</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>See also: <a HREF="../Admin_Mod_Reference/Admin_Mod_Configuration_Variables_CVARs.htm">Admin 
 Mod Configuration Variables (CVARs)</a>, <a HREF="../Admin_Mod_Plugins/Downloading_and_Installing_Additional_Plugins.htm">Downloading 
 and Installing Additional Plugins</a> and <a HREF="../Scripting_Basics/Compiling_Admin_Mod_Scripts_101.htm">Compiling 
 Admin Mod Scripts 101</a> elsewhere in this documentation.</p>

<p>&nbsp;</p>

</body>

</html>
