Open Source Plugins for Metamod: Source

From Valve Developer Community
Jump to navigation Jump to search
Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
Icon-under construction-blue.png
This is a draft page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.

Open Source Plugins for Metamod:Source

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 Metamod:Source plugin
Features: starting template
Download: Included in the Metamod:Source source code package: www.sourcemm.net

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 Metamod:Source source code package: www.sourcemm.net

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

Counter Strike Bot Control

Author: EKS
Description: This plugin allows you to control the counter strike source bots more easly, you can have them them automaticly keep the server populated. You can have bots automaticly killed when all the human players are dead, and any changes can be made in the bot menu.
Features: Control the built in bots in CSS via a menu
Download: http://forums.alliedmods.net/showthread.php?t=40097

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: forums.alliedmods.net/showthread.php?p=342750

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

HLStatsX ( Allows srcds to interact with hlstatsx ingame)

Author: EKS
Description: This plugin is made to interact with hlstatsx ( www.hlstatsx.org ) to give proper ingame stats, and provide the extra logging required for hit detection
Download: http://forums.alliedmods.net/showthread.php?t=42502

IRC Relay

Author: sslice
Description: Reports game events to an IRC channel and allows you to administrate your server from IRC
Features: ConCommand hooks and general networking using asynchronous sockets
Download: AlliedModders

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

SourceMod

Author: AlliedModders LLC
Description: Administration and scripting plugin.
Features: Fine-grained administrative permissions. Flexible scripting and HL2SDK interop. Extensible from C++ extensions.
Download: www.sourcemod.net

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

ServerWiper

Author: Jmgr
Description: The ServerWiper is a behaviour watcher plugin Counter Strike:Source servers. It works with a behaviour point system. If you do something bad (insult, team attack, etc.) you lose points. If you have 0 points you are banned from the server.
Features: kicks and bans players with bad behaviour, more than 150 CVars
Download: http://sw.jmgr.info

ServerBans

Author: Jmgr
Description: ServerBans is a plugin that allows server admin to automatically share bans between multiple servers.
Features: Compatible with almost every game/mod and plugin, little dependencies (Metamod:Source and MySQL)
Download: http://forums.alliedmods.net/showthread.php?t=90428

Open Source Valve Server Plugins (VSP)

A list of open source plugins for the Valve Server Plugin (VSP) interface can be found here.