Open Source Plugins for Metamod:Source
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: forums.alliedmods.net/showthread.php?p=342749 (you must be logged in to view the download link)
Functional Plugins
Anti-Griefer
Author: devicenull
Description: This plugin is for the mod SourceForts. In keeps track of what player unfreezes or freezes a block, and allows any other player to retrieve this information by aiming at a block.
Features: Basic VFuncs, listening for events, partial traceline (The method used for traceline might not be effective for any other mod)
Download: http://www.sourcemod.net/forums/viewtopic.php?t=3652
Basic Admin Tool (BAT)
Author: EKS
Description: Provides basic admin functions
Features: Kick, ban, menus, reserved slots, timeleft/nextmap say commands, and more
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
ForgiveTK
Author: EKS
Description: This is a basic plugin to handle teamkilll and teamattack on your source server, it supports any Source mod. It will automaticly kick someone with to many offenses
Features: Forgive via menu or chat. Support both Valves ESC menus and radio menus.
Download: http://www.sourcemod.net/forums/viewtopic.php?t=3081
Global Banlist
Author: devicenull
Description: This plugin allows srcds to reguarly connect to an external PHP page, and download updates about it's banlist. Srcds then stores these in a SQLite database.
Features: Embedding sqlite, using pthreads, using libcurl.
Download: http://www.sourcemod.net/forums/viewtopic.php?t=3539
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
Open Source Valve Server Plugins (VSP)
A list of open source plugins for the Valve Server Plugin (VSP) interface can be found here.