Difference between revisions of "List of custom SourceMod includes"

From AlliedModders Wiki
Jump to: navigation, search
m (+ Vector Helpers by xXDeathreusXx)
(Mark TF2IDB as outdated, add Econ Data)
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<!--
 
<!--
 
     To do:
 
     To do:
    ▪ Add a intro segment to article explaining the purpose of it.
 
 
     ▪ Add linkage to each specific raw .inc file;
 
     ▪ Add linkage to each specific raw .inc file;
 
       ▪ Best way to do this?
 
       ▪ Best way to do this?
Line 9: Line 8:
 
       ▪ 404UNF: Currently scanning through all of Snippets & Tutorials
 
       ▪ 404UNF: Currently scanning through all of Snippets & Tutorials
 
-->
 
-->
 +
 +
The following is a list of custom includes created by various users on AlliedModders. Some are standalone includes designed to be used with any project, others are includes that come with a plugin or extension but can also be used in other projects.
 +
 
== Standalone Includes ==
 
== Standalone Includes ==
 
{| style="width: 80em; text-align: center;" class="wikitable"
 
{| style="width: 80em; text-align: center;" class="wikitable"
Line 34: Line 36:
 
| [https://forums.alliedmods.net/member.php?u=157964 Impact123]
 
| [https://forums.alliedmods.net/member.php?u=157964 Impact123]
 
| <code>autoexecconfig.inc</code>
 
| <code>autoexecconfig.inc</code>
|
 
 
|-
 
| [https://forums.alliedmods.net/showthread.php?t=294511 Bank]
 
| [https://forums.alliedmods.net/member.php?u=198439 Arkarr]
 
| <code>bank.inc</code>
 
 
|
 
|
  
Line 83: Line 79:
 
| <code>csgoitems.inc</code>
 
| <code>csgoitems.inc</code>
 
|
 
|
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=285744 Data String Parameter]
 +
| [https://forums.alliedmods.net/member.php?u=59694 Drixevel]
 +
| <code>data_string_parameter.inc</code>
 +
| Allows you to pass a string through a data parameter.
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=264897 DString - Dynamic Strings]
 +
| [https://forums.alliedmods.net/member.php?u=102471 Eun]
 +
| <code>DString.inc</code>
 +
| Allows you to use strings with dynamic lengths.
  
 
|-
 
|-
Line 88: Line 96:
 
| [https://forums.alliedmods.net/member.php?u=38996 Powerlord]
 
| [https://forums.alliedmods.net/member.php?u=38996 Powerlord]
 
| <code>emitsoundany.inc</code>
 
| <code>emitsoundany.inc</code>
|
+
| '''Outdated'''; CSGO no longer requires special sound handling for mp3s
  
 
|-
 
|-
Line 100: Line 108:
 
| [https://forums.alliedmods.net/member.php?u=37514 psychonic]
 
| [https://forums.alliedmods.net/member.php?u=37514 psychonic]
 
| <code>loghelper.inc</code>
 
| <code>loghelper.inc</code>
|
+
| Contains stocks for many HL Standard log line formats, and also gets around the current limitations of Sourcemod's <code>%L</code> format operator and <code>FormatUserLogText()</code> function (not including team name on log line).
 +
 
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=265325 Menu Stocks]
 +
| [https://forums.alliedmods.net/member.php?u=210752 KissLick]
 +
| <code>menu_stocks.inc</code>
 +
| Allows you to pass a value (cell, float or string) to menu callback.
  
 
|-
 
|-
Line 137: Line 151:
 
| <code>parseRange.inc</code>
 
| <code>parseRange.inc</code>
 
| Takes a string indicating a range of numbers or multiple ranges of numbers, and returns an ArrayList containing individual values.
 
| Takes a string indicating a range of numbers or multiple ranges of numbers, and returns an ArrayList containing individual values.
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=314096 Print Valve Translations]
 +
| [https://forums.alliedmods.net/member.php?u=180597 Powerlord]
 +
| <code>printvalvetranslation.inc</code>
 +
| Wrapper around the TextMsg usermessage to print game translations to chat, hintbox, center text, or client console
  
 
|-
 
|-
Line 142: Line 162:
 
| [https://forums.alliedmods.net/member.php?u=41418 Peace-Maker]
 
| [https://forums.alliedmods.net/member.php?u=41418 Peace-Maker]
 
| <code>sha1.inc</code>
 
| <code>sha1.inc</code>
|
+
| Provides 2 stock functions to calculate the SHA-1 hash for a given string or file.
  
 
|-
 
|-
Line 167: Line 187:
 
| <code>sourcemod-misc.inc</code>
 
| <code>sourcemod-misc.inc</code>
 
|
 
|
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=283913 Table Buffer for Console]
 +
| [https://forums.alliedmods.net/member.php?u=190571 ofir753]
 +
| <code>consoletable.inc</code>
 +
| Allows you to format an oriented table for console output.
  
 
|-
 
|-
Line 196: Line 222:
 
| [https://forums.alliedmods.net/member.php?u=261613 Byte]
 
| [https://forums.alliedmods.net/member.php?u=261613 Byte]
 
| <code>webfix.inc</code>
 
| <code>webfix.inc</code>
| '''Outdated'''; Use VGUI URL Cache Buster instead.
+
| '''Outdated'''; Use [https://forums.alliedmods.net/showthread.php?t=302530 VGUI URL Cache Buster] instead.
  
 
|}
 
|}
Line 213: Line 239:
 
| [https://forums.alliedmods.net/member.php?u=198439 Arkarr]
 
| [https://forums.alliedmods.net/member.php?u=198439 Arkarr]
 
| <code>asteambot.inc</code>
 
| <code>asteambot.inc</code>
 +
|
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=294511 Bank]
 +
| [https://forums.alliedmods.net/member.php?u=198439 Arkarr]
 +
| <code>bank.inc</code>
 
|
 
|
  
Line 226: Line 258:
 
| <code>collisionhooks.inc</code>
 
| <code>collisionhooks.inc</code>
 
|
 
|
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=180114 DHooks]
 +
| [https://forums.alliedmods.net/member.php?u=26021 Dr!fter]
 +
| <code>dhooks.inc</code>
 +
| Allows plugins to create dynamic hooks which normally would need an extension
  
 
|-
 
|-
Line 237: Line 275:
 
| [https://forums.alliedmods.net/member.php?u=240520 Neuro Toxin]
 
| [https://forums.alliedmods.net/member.php?u=240520 Neuro Toxin]
 
| <code>dynamic.inc</code>
 
| <code>dynamic.inc</code>
 +
|
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=311477 GeoIP2]
 +
| [https://forums.alliedmods.net/member.php?u=100698 Accelerator74]
 +
| <code>geoip.inc</code>
 
|
 
|
  
Line 243: Line 287:
 
| [https://forums.alliedmods.net/member.php?u=273262 Papero]
 
| [https://forums.alliedmods.net/member.php?u=273262 Papero]
 
| <code>hextags.inc</code>
 
| <code>hextags.inc</code>
 +
|
 +
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=270962 HTTP Server w/ RCON Multiplexer]
 +
| [https://forums.alliedmods.net/member.php?u=59029 asherkin]
 +
| <code>webcon.inc</code>, <code>conplex.inc</code>
 
|
 
|
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=114979 L4D2 Infected Spawn API]
 +
| [https://forums.alliedmods.net/member.php?u=67285 V10]
 +
| <code>l4d2_InfectedSpawnApi.inc</code>
 +
| Custom infected boss spawning API.
  
 
|-
 
|-
Line 298: Line 355:
 
| <code>tf2attributes.inc</code>
 
| <code>tf2attributes.inc</code>
 
|
 
|
 +
 +
|-
 +
| [https://forums.alliedmods.net/showthread.php?t=315011 TF2 Econ Data]
 +
| [https://forums.alliedmods.net/member.php?u=252787 nosoop]
 +
| <code>tf_econ_data.inc</code>
 +
|
  
 
|-
 
|-
Line 303: Line 366:
 
| [https://forums.alliedmods.net/member.php?u=101497 bottiger]
 
| [https://forums.alliedmods.net/member.php?u=101497 bottiger]
 
| <code>tf2idb.inc</code>
 
| <code>tf2idb.inc</code>
|
+
| '''Outdated'''; Use [https://forums.alliedmods.net/showthread.php?t=315011 TF2 Econ Data] instead.  For plugins that are already written for TF2 Item DB, use [https://github.com/nosoop/SM-TFEconDataCompat the compatibility shim].
  
 
|-
 
|-

Revision as of 06:14, 16 February 2020


The following is a list of custom includes created by various users on AlliedModders. Some are standalone includes designed to be used with any project, others are includes that come with a plugin or extension but can also be used in other projects.

Standalone Includes

Name Author Filename Notes
Advanced MOTDPanel Dr. McKay advanced_motd.inc
Append New ConVar KissLick convar_append.inc
AutoExecConfig Impact123 autoexecconfig.inc
CBaseAnimatingOverlay Pelipoika cbaseanimatingoverlay.inc
Client Methodmaps ThatKidWhoGames clients_methodmap.inc
Client Preferences Stocks xXDeathreusXx clientprefs_stocks.inc
Colors exvel colors.inc
Color Manipulation hmmmmm colourmanip.inc
ColorVariables KissLick colorvariables.inc
CS:GO Items xCoderx csgoitems.inc
Data String Parameter Drixevel data_string_parameter.inc Allows you to pass a string through a data parameter.
DString - Dynamic Strings Eun DString.inc Allows you to use strings with dynamic lengths.
EmitSoundAny Powerlord emitsoundany.inc Outdated; CSGO no longer requires special sound handling for mp3s
L4D/L4D2 Stocks Drixevel l4d.inc
LogHelper psychonic loghelper.inc Contains stocks for many HL Standard log line formats, and also gets around the current limitations of Sourcemod's %L format operator and FormatUserLogText() function (not including team name on log line).
Menu Stocks KissLick menu_stocks.inc Allows you to pass a value (cell, float or string) to menu callback.
Menu Targeting hmmmmm menu_targeting.inc
MoreColors Dr. McKay morecolors.inc
MultiColors Bara multicolors.inc
Nested StringMaps Kinsi NestedStringMap.inc
Overlays shanapu overlays.inc
ParseRange ddhoward parseRange.inc Takes a string indicating a range of numbers or multiple ranges of numbers, and returns an ArrayList containing individual values.
Print Valve Translations Powerlord printvalvetranslation.inc Wrapper around the TextMsg usermessage to print game translations to chat, hintbox, center text, or client console
SHA-1 Hashing Stocks Peace-Maker sha1.inc Provides 2 stock functions to calculate the SHA-1 hash for a given string or file.
Smart Download Manager Zephyrus smartdm.inc
SM-JSON clug json.inc
SMLib Berni smlib.inc
SourceMod Miscellaneous Stocks Drixevel sourcemod-misc.inc
Table Buffer for Console ofir753 consoletable.inc Allows you to format an oriented table for console output.
TF2 Alternative HUD Text GNCMatt tf2_hud.inc
Unix Time for SourceMod milutinke unixtime_sourcemod.inc
Variable Arguments for Functions Kailo valist.inc
Vector Helpers xXDeathreusXx vector_helpers.inc Extends functionality of SourceMod vectors so you don't have to iterate through array blocks every time you want to do a simple operation on a vector.
WebFix Byte webfix.inc Outdated; Use VGUI URL Cache Buster instead.

Plugins/Extensions

Name Author Filename Notes
ASteamBot Arkarr asteambot.inc
Bank Arkarr bank.inc
Be the Robot MasterOfTheXP betherobot.inc
Collision Hooks VoiDeD collisionhooks.inc
DHooks Dr!fter dhooks.inc Allows plugins to create dynamic hooks which normally would need an extension
Discord/Slack API zipcore discord.inc
Dynamic Objects Neuro Toxin dynamic.inc
GeoIP2 Accelerator74 geoip.inc
HexTags Chat/Score Colors Papero hextags.inc


HTTP Server w/ RCON Multiplexer asherkin webcon.inc, conplex.inc
L4D2 Infected Spawn API V10 l4d2_InfectedSpawnApi.inc Custom infected boss spawning API.
Server Whitelist Advanced RedSword serverwhitelistadvanced.inc
Socket sfPlayer socket.inc
SourceBans Olly sourcebans.inc
SourceBans++ Sarabveer sourcebanspp.inc
SourceIRC Azelphur sourceirc.inc
SteamTools asherkin steamtools.inc
SteamWorks KyleS SteamWorks.inc
Super Spray Handler TheWreckingCrew6 ssh.inc
TF2Attributes FlaminSarge tf2attributes.inc
TF2 Econ Data nosoop tf_econ_data.inc
TF2 Item DB bottiger tf2idb.inc Outdated; Use TF2 Econ Data instead. For plugins that are already written for TF2 Item DB, use the compatibility shim.
TF2Items asherkin tf2items.inc
TF2Items Extended Stocks ReFlexPoison tf2itemsextended.inc
TF2Items Give Weapon FlaminSarge tf2items_giveweapon.inc
TF2 Taunts TF2IDB fakuivan tf2_taunts_tf2idb.inc
TF2 Pyro Air Jump Leonardo tf2pyroairjump.inc
VGUI URL Cache Buster nosoop vgui_motd_stocks.inc