Open Source Plugins for Metamod:Source
Contents
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