Difference between revisions of "Open Source Plugins for Metamod:Source"

From AlliedModders Wiki
Jump to: navigation, search
(Functional Plugins)
Line 34: Line 34:
 
<b>Features:</b> Hook <i>CCSPlayer::Weapon_CanUse(CBaseCombatWeapon *pWeapon)</i> and returns false for restricted weapons. Also shows how to use virtual functions on weapons such as Delete()and GetName() and on players for Weapon_GetSlot(int) and Drop(CBaseCombatWeapon*).<br>
 
<b>Features:</b> Hook <i>CCSPlayer::Weapon_CanUse(CBaseCombatWeapon *pWeapon)</i> and returns false for restricted weapons. Also shows how to use virtual functions on weapons such as Delete()and GetName() and on players for Weapon_GetSlot(int) and Drop(CBaseCombatWeapon*).<br>
 
<b>Download:</b> [http://www.sourcemod.net/forums/viewtopic.php?p=34892 www.sourcemod.net/forums/viewtopic.php?p=34892]
 
<b>Download:</b> [http://www.sourcemod.net/forums/viewtopic.php?p=34892 www.sourcemod.net/forums/viewtopic.php?p=34892]
 +
<br><br>
 +
=== Last Users Connected ===
 +
<b>Author:</b> [[User:devicenull|devicenull]]<br>
 +
<b>Description:</b> With this plugin, every player who comes onto your server has their steamid logged, along with any name they used on the server. You can then either view the names/steamid's of the last people to disconnect, or you can search for a name/steamid and see everyone who has used that name. <br>
 +
<b>Features:</b> shows how to embed sqlite3, send basic messages/basic hooks. <br>
 +
<b>Download:</b> [http://www.sourcemod.net/forums/viewtopic.php?t=3339 http://www.sourcemod.net/forums/viewtopic.php?t=3339]
 
<br><br>
 
<br><br>
 
=== Stripper:Source ===
 
=== Stripper:Source ===
Line 40: Line 46:
 
<b>Features:</b> shows how to edit the map entity lump in memory to change map entities<br>
 
<b>Features:</b> shows how to edit the map entity lump in memory to change map entities<br>
 
<b>Download:</b> [http://www.sourcemod.net/forums/viewtopic.php?t=3008 www.sourcemod.net/forums/viewtopic.php?t=3008]
 
<b>Download:</b> [http://www.sourcemod.net/forums/viewtopic.php?t=3008 www.sourcemod.net/forums/viewtopic.php?t=3008]
<br><br>
 
=== Last Users Connected ===
 
<b>Author:</b> [[User:devicenull|devicenull]]<br>
 
<b>Description:</b> With this plugin, every player who comes onto your server has their steamid logged, along with any name they used on the server. You can then either view the names/steamid's of the last people to disconnect, or you can search for a name/steamid and see everyone who has used that name. <br>
 
<b>Features:</b> shows how to embed sqlite3, send basic messages/basic hooks. <br>
 
<b>Download:</b> [http://www.sourcemod.net/forums/viewtopic.php?t=3339 http://www.sourcemod.net/forums/viewtopic.php?t=3339]
 
 
<br><br>
 
<br><br>
  
 
[[Category:Documentation (SourceMM)]]
 
[[Category:Documentation (SourceMM)]]

Revision as of 10:33, 2 June 2006

Open Source Plugins for SourceMM

This page lists known plugins with available source code. Please check the licenses for each one as they may not truly be "open source."

Basic Templates

stub_mm

Author: BAILOPAN
Description: minmum implentation of a valid SourceMM plugin
Features: starting template
Download: Included in the SourceMM source code package: prdownloads.sourceforge.net/sourcemm/sourcemm-1.2.2-source.tar.gz?download

sample_mm

Author: BAILOPAN
Description: implements the features of the standard Valve server plugin from the SDK
Features: starting template with similar functionality to the Valve sample_plugin
Download: Included in the SourceMM source code package: prdownloads.sourceforge.net/sourcemm/sourcemm-1.2.2-source.tar.gz?download

sample2_mm

Author: BAILOPAN, edited by L. Duke
Description: fixes (by inheriting from IGameEventListener2 instead of hooking FireGameEvent) the problem in sample_mm plugin where some events are not received
Features: starting template with similar functionality to the Valve sample_plugin
Download: www.sourcemod.net/forums/viewtopic.php?p=34891 (you must be logged in to view the download link)

Functional Plugins

Basic Admin Tool (BAT)

Author: EKS
Description: Provides basic admin functions
Features: Kick, ban, menus, reserved slots, timeleft/nextmap say commands, etc.
Download: www.sourcemod.net/forums/viewtopic.php?t=2923

CS:S Weapon Restrictions 2

Author: L. Duke
Description: Prevents players from picking up restricted weapons (if bought, they fall to the ground). Also includes an option to remove restricted weapons from the game.
Features: Hook CCSPlayer::Weapon_CanUse(CBaseCombatWeapon *pWeapon) and returns false for restricted weapons. Also shows how to use virtual functions on weapons such as Delete()and GetName() and on players for Weapon_GetSlot(int) and Drop(CBaseCombatWeapon*).
Download: www.sourcemod.net/forums/viewtopic.php?p=34892

Last Users Connected

Author: devicenull
Description: With this plugin, every player who comes onto your server has their steamid logged, along with any name they used on the server. You can then either view the names/steamid's of the last people to disconnect, or you can search for a name/steamid and see everyone who has used that name.
Features: shows how to embed sqlite3, send basic messages/basic hooks.
Download: http://www.sourcemod.net/forums/viewtopic.php?t=3339

Stripper:Source

Author: BAILOPAN
Description: You can add any type of entity - hostage, spawn point, physics prop, permanently to the map. You can also filter out entities for deletion, either by specific entries or regular expressions. Stripper:Source lets you define global rules and per-map rules. It also lets other plugins (both SourceMM plugins and Server Plugins) use its API.
Features: shows how to edit the map entity lump in memory to change map entities
Download: www.sourcemod.net/forums/viewtopic.php?t=3008