<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alliedmods.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SuperShadow</id>
	<title>AlliedModders Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alliedmods.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SuperShadow"/>
	<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/Special:Contributions/SuperShadow"/>
	<updated>2026-05-07T07:55:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=SourceMod_Configuration&amp;diff=6314</id>
		<title>SourceMod Configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=SourceMod_Configuration&amp;diff=6314"/>
		<updated>2008-10-01T16:21:21Z</updated>

		<summary type="html">&lt;p&gt;SuperShadow: /* Plugin Loadng */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document overviews some of the configuration concepts in [[SourceMod]].&lt;br /&gt;
&lt;br /&gt;
=Configuration Types=&lt;br /&gt;
SourceMod's configuration files fall into two folders:&lt;br /&gt;
*&amp;lt;tt&amp;gt;cfg/sourcemod&amp;lt;/tt&amp;gt; - These are .cfg files which contain cvars/commands.  They can be run via 'exec' in the server console.&lt;br /&gt;
*&amp;lt;tt&amp;gt;addons/sourcemod/configs&amp;lt;/tt&amp;gt; - These are files that contain special or advanced formats.  Take care when editing them; they cannot be run via the server console.&lt;br /&gt;
&lt;br /&gt;
=Admins=&lt;br /&gt;
*For &amp;lt;tt&amp;gt;admins_simple.ini&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;admins.cfg&amp;lt;/tt&amp;gt;, see [[Adding_Admins_%28SourceMod%29|Adding Admins]].&lt;br /&gt;
*For &amp;lt;tt&amp;gt;admin_groups.cfg&amp;lt;/tt&amp;gt;, see [[Adding_Groups_%28SourceMod%29|Adding Groups]].&lt;br /&gt;
*For &amp;lt;tt&amp;gt;admin_overrides.cfg&amp;lt;/tt&amp;gt;, see [[Overriding_Command_Access_%28SourceMod%29|Overriding Command Access]].&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;admin_levels.cfg&amp;lt;/tt&amp;gt; should never be edited.&lt;br /&gt;
&lt;br /&gt;
=Admin Menu=&lt;br /&gt;
For editing &amp;lt;tt&amp;gt;adminmenu_cfgs.txt&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;adminmenu_sorting.txt&amp;lt;/tt&amp;gt;, see [[Admin_Menu_Configuration_%28SourceMod%29|Admin Menu Configuration]].&lt;br /&gt;
&lt;br /&gt;
=Core Configuration=&lt;br /&gt;
The &amp;lt;tt&amp;gt;addons/sourcemod/configs/core.cfg&amp;lt;/tt&amp;gt; file contains settings that will rarely need to be changed.  Here you can change settings related to:&lt;br /&gt;
*Logging&lt;br /&gt;
*Server Language&lt;br /&gt;
*Chat Trigger Behavior&lt;br /&gt;
*Admin Password Variable&lt;br /&gt;
*Menu Sounds&lt;br /&gt;
&lt;br /&gt;
=Cvars and sourcemod.cfg=&lt;br /&gt;
The &amp;lt;tt&amp;gt;cfg/sourcemod.cfg&amp;lt;/tt&amp;gt; file contains all cvars that are included by default with SourceMod.  Each cvar is accompanied comments containing:&lt;br /&gt;
*A small bit of documentation.&lt;br /&gt;
*The default value, in case you forget.&lt;br /&gt;
*The plugin which provides the cvar, or none if Core is the provider.&lt;br /&gt;
&lt;br /&gt;
Reference the actual file for further information.&lt;br /&gt;
&lt;br /&gt;
There are many cvars associated with SourceMod that are not in the &amp;lt;tt&amp;gt;sourcemod.cfg&amp;lt;/tt&amp;gt; file.  For plugins which follow proper guidelines, SourceMod will automatically generate a configuration file in the above format for each plugin.  For example, a plugin called &amp;lt;tt&amp;gt;hat.smx&amp;lt;/tt&amp;gt; would have a file called &amp;lt;tt&amp;gt;cfg/sourcemod/plugin.hat.cfg&amp;lt;/tt&amp;gt;.  Its contents might look something like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// This file was auto-generated by SourceMod (v1.0.0.986)&lt;br /&gt;
// ConVars for plugin &amp;quot;hat.smx&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// MySQL database&lt;br /&gt;
// -&lt;br /&gt;
// Default: &amp;quot;&amp;quot;&lt;br /&gt;
mysqlk_database &amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod executes &amp;lt;tt&amp;gt;sourcemod.cfg&amp;lt;/tt&amp;gt; and each of these plugin files every mapchange, directly after &amp;lt;tt&amp;gt;server.cfg&amp;lt;/tt&amp;gt; is ran.&lt;br /&gt;
&lt;br /&gt;
=Databases or SQL=&lt;br /&gt;
The &amp;lt;tt&amp;gt;addons/sourcemod/configs/databases.cfg&amp;lt;/tt&amp;gt; file allows you to create named SQL database configurations.  Plugins use these named configurations to establish database connections.  For more information on editing this file, see [[SQL_Admins_%28SourceMod%29#Configuration|Configuring SQL]].&lt;br /&gt;
&lt;br /&gt;
=Map Lists=&lt;br /&gt;
The &amp;lt;tt&amp;gt;addons/sourcemod/configs/maplists.cfg&amp;lt;/tt&amp;gt; file is used to configure how SourceMod builds lists of maps.  Each section is a named list that can be used by plugins.  If a plugin requests a list that does not exist, it will fall back to a &amp;lt;tt&amp;gt;default&amp;lt;/tt&amp;gt; section, then to the file referenced via the &amp;lt;tt&amp;gt;mapcyclefile&amp;lt;/tt&amp;gt; cvar, and finally to the list of maps in the &amp;lt;tt&amp;gt;maps&amp;lt;/tt&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
By tweaking this file, you can consolidate all map lists into one file, or use separate map lists for individual needs.&lt;br /&gt;
&lt;br /&gt;
More documentation is contained inside the file header.&lt;br /&gt;
&lt;br /&gt;
=Plugin Loadng=&lt;br /&gt;
The &amp;lt;tt&amp;gt;addons/sourcemod/configs/plugin_settings.cfg&amp;lt;/tt&amp;gt; has one primary purpose: &amp;quot;permanently&amp;quot; putting specific or any plugins into debug mode for the life time of the server.  Generally, the other settings should not be touched.&lt;br /&gt;
&lt;br /&gt;
You can also block plugins from loading using this file.  For example, SourceBans requires the disabling of &amp;lt;tt&amp;gt;basebans.smx&amp;lt;/tt&amp;gt;.  You can tell Core to block &amp;lt;tt&amp;gt;basebans.smx&amp;lt;/tt&amp;gt; from ever loading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:SourceMod Documentation]]&lt;/div&gt;</summary>
		<author><name>SuperShadow</name></author>
		
	</entry>
</feed>