Difference between revisions of "Base Plugins (SourceMod)"

From AlliedModders Wiki
Jump to: navigation, search
(New page: The following is a full list of SourceMod's base plugins and the purpose of each one. Plugins with a bold name are safe to be used in War Mode, as they do not...)
 
m (Make a header)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{Languages|Base Plugins (SourceMod)}}
 +
__FORCETOC__
 
The following is a full list of [[SourceMod]]'s base plugins and the purpose of each one.
 
The following is a full list of [[SourceMod]]'s base plugins and the purpose of each one.
  
Line 4: Line 6:
  
 
=Default Plugins=
 
=Default Plugins=
{| style="width:600px;"
+
{| style="width:600px;" cellpadding="5"
|- class="t2th"
+
  !Plugin
  |Plugin File
+
  !Purpose
  |Purpose
 
 
  |- class="t2td"
 
  |- class="t2td"
 
  | '''admin-flatfile'''
 
  | '''admin-flatfile'''
Line 17: Line 18:
 
  | '''adminmenu'''
 
  | '''adminmenu'''
 
  | Provides the admin menu API and core features.
 
  | Provides the admin menu API and core features.
 +
|- class="t2td"
 +
| antiflood
 +
| Prevents clients from spamming messagemode/chat.
 
  |- class="t2td"
 
  |- class="t2td"
 
  | '''basebans'''
 
  | '''basebans'''
Line 28: Line 32:
 
  |- class="t2td"
 
  |- class="t2td"
 
  | '''basecommands'''
 
  | '''basecommands'''
  | Provides core administrative commands unrelated to player abuse.
+
  | Provides basic administrative commands unrelated to player abuse (for example, map changing, kicking, and cvar changing).
|- class="t2td"
 
| basefuncommands
 
| Provides "fun" commands, like slapping.
 
|- class="t2td"
 
| basefunvotes
 
| Provides votes based on basefuncommands.
 
 
  |- class="t2td"
 
  |- class="t2td"
 
  | basetriggers
 
  | basetriggers
Line 41: Line 39:
 
  | basevotes
 
  | basevotes
 
  | Provides basic voting commands, such as map voting.
 
  | Provides basic voting commands, such as map voting.
 +
|- class="t2td"
 +
| '''clientprefs'''
 +
| Adds a console based (sm_cookies) and menu based (sm_settings) inteface for clients to access their settings.
 +
|- class="t2td"
 +
| funcommands
 +
| Provides "fun" commands, like slapping.
 +
|- class="t2td"
 +
| funvotes
 +
| Provides votes based on basefuncommands.
 
  |- class="t2td"
 
  |- class="t2td"
 
  | '''nextmap'''
 
  | '''nextmap'''
 
  | Allows admins or other plugins to dynamically alter or retrieve the effective mapcycle.
 
  | Allows admins or other plugins to dynamically alter or retrieve the effective mapcycle.
 +
|- class="t2td"
 +
| playercommands
 +
| Adds commands sm_slap, sm_slay, and sm_rename
 
  |- class="t2td"
 
  |- class="t2td"
 
  | reservedslots
 
  | reservedslots
 
  | Allows the server to have slots that are reserved for administrators (or privileged people), to ensure prioritized entry.
 
  | Allows the server to have slots that are reserved for administrators (or privileged people), to ensure prioritized entry.
 +
|- class="t2td"
 +
| sounds
 +
| Adds command sm_play
 
  |}
 
  |}
  
Line 54: Line 67:
 
If a plugin has cvars, you can load it once to generate its config file in <tt>cfg/sourcemod</tt>.
 
If a plugin has cvars, you can load it once to generate its config file in <tt>cfg/sourcemod</tt>.
  
{| style="width:600px;"
+
{| style="width:600px;" cellpadding="5"
|- class="t2th"
+
  !Plugin File
  |Plugin File
+
  !Purpose
  |Purpose
 
 
  |- class="t2td"
 
  |- class="t2td"
 
  | '''admin-sql-prefetch'''
 
  | '''admin-sql-prefetch'''
  | Loads admins from an SQL database as a big lump every mapchange.  If enabled, <tt>admin-sql-threaded</tt> must be disabled; see [[SQL_Admin_(SourceMod)|SQL Admins]].
+
  | Loads admins from an SQL database as a big lump every mapchange.  If enabled, <tt>admin-sql-threaded</tt> must be disabled; see [[SQL_Admins_(SourceMod)|SQL Admins]].
 
  |- class="t2td"
 
  |- class="t2td"
 
  | '''admin-sql-threaded'''
 
  | '''admin-sql-threaded'''
  | Loads admins from an SQL database dynamically as each admin connects.  If enabled, <tt>admin-sql-prefetch</tt> must be disabled; see [[SQL_Admin_(SourceMod)|SQL Admins]].
+
  | Loads admins from an SQL database dynamically as each admin connects.  If enabled, <tt>admin-sql-prefetch</tt> must be disabled; see [[SQL_Admins_(SourceMod)|SQL Admins]].
 
  |- class="t2td"
 
  |- class="t2td"
 
  | mapchooser
 
  | mapchooser
  | Provides an automated system for players to vote for map changes.  If enabled, <tt>rockthevote</tt> and <tt>randomcycle</tt> should be disabled.  Cvars are generated in <tt>plugin.mapchooser.cfg</tt>.
+
  | Provides an automated system for players to vote for map changes.  If enabled, <tt>randomcycle</tt> should be disabled.  Cvars are generated in <tt>mapchooser.cfg</tt>.
 
  |- class="t2td"
 
  |- class="t2td"
 
  | randomcycle
 
  | randomcycle
  | Randomizes the map cycle.  If enabled, <tt>mapchooser</tt> and <tt>rockthevote</tt> should be disabled.  Cvars are generated in <tt>plugin.randomcycle.cfg</tt>.
+
  | Randomizes the map cycle.  If enabled, <tt>mapchooser</tt> should be disabled.  Cvars are generated in <tt>randomcycle.cfg</tt>.
 
  |- class="t2td"
 
  |- class="t2td"
 
  | rockthevote
 
  | rockthevote
  | Provides a player-initiated system for players to vote for map changes.  If enabled, <tt>mapchooser</tt> and <tt>randomcycle</tt> should be disabled.  Cvars are generated in <tt>plugin.rtv.cfg</tt>.
+
  | Provides a player-initiated system for players to vote for map changes.  Cvars are generated in <tt>rtv.cfg</tt>.
 
  |}
 
  |}
  
 
[[Category:SourceMod Documentation]]
 
[[Category:SourceMod Documentation]]

Latest revision as of 15:32, 28 September 2021

Language: English  • 中文

The following is a full list of SourceMod's base plugins and the purpose of each one.

Plugins with a bold name are safe to be used in War Mode, as they do not contain anything that could be considered abusive or unfair.

Default Plugins

Plugin Purpose
admin-flatfile Loads admins from the admin configuration files.
adminhelp Provides the sm_help command (lists other commands and their syntax).
adminmenu Provides the admin menu API and core features.
antiflood Prevents clients from spamming messagemode/chat.
basebans Provides basic banning commands and menu options.
basechat Provides commands and menu options for managing player's abilities to use voice chat or say chat.
basecomm Provides functionality for tweaking how players can communicate (in comparison to sv_alltalk).
basecommands Provides basic administrative commands unrelated to player abuse (for example, map changing, kicking, and cvar changing).
basetriggers Provides automated responses to phrases such as "nextmap", "thetime", and "timeleft".
basevotes Provides basic voting commands, such as map voting.
clientprefs Adds a console based (sm_cookies) and menu based (sm_settings) inteface for clients to access their settings.
funcommands Provides "fun" commands, like slapping.
funvotes Provides votes based on basefuncommands.
nextmap Allows admins or other plugins to dynamically alter or retrieve the effective mapcycle.
playercommands Adds commands sm_slap, sm_slay, and sm_rename
reservedslots Allows the server to have slots that are reserved for administrators (or privileged people), to ensure prioritized entry.
sounds Adds command sm_play

Extra Plugins

The following plugins are in the addons/sourcemod/plugins/disabled folder by default, and must be moved out of that folder to be enabled.

If a plugin has cvars, you can load it once to generate its config file in cfg/sourcemod.

Plugin File Purpose
admin-sql-prefetch Loads admins from an SQL database as a big lump every mapchange. If enabled, admin-sql-threaded must be disabled; see SQL Admins.
admin-sql-threaded Loads admins from an SQL database dynamically as each admin connects. If enabled, admin-sql-prefetch must be disabled; see SQL Admins.
mapchooser Provides an automated system for players to vote for map changes. If enabled, randomcycle should be disabled. Cvars are generated in mapchooser.cfg.
randomcycle Randomizes the map cycle. If enabled, mapchooser should be disabled. Cvars are generated in randomcycle.cfg.
rockthevote Provides a player-initiated system for players to vote for map changes. Cvars are generated in rtv.cfg.