Difference between revisions of "Kill Notify Plugin"
| Line 2: | Line 2: | ||
== How It Works == | == How It Works == | ||
| − | |||
The plugin creates a hook to watch for all player deaths and will, depending on how they died, display a message to all users in chat with the player that killed them, the weapon that was used (if it was a zombie kill, it will only show that a player killed another player and not display a weapon), and the team that killed them will have their colors displayed. This is the color coding: | The plugin creates a hook to watch for all player deaths and will, depending on how they died, display a message to all users in chat with the player that killed them, the weapon that was used (if it was a zombie kill, it will only show that a player killed another player and not display a weapon), and the team that killed them will have their colors displayed. This is the color coding: | ||
| Line 13: | Line 12: | ||
== Code and Plugin Download == | == Code and Plugin Download == | ||
| − | |||
Below is the download link and code for the plugin: | Below is the download link and code for the plugin: | ||
*[https://github.com/Silenci0/KillNotify Kill Notify Plugin] | *[https://github.com/Silenci0/KillNotify Kill Notify Plugin] | ||
| + | |||
| + | |||
| + | == How To Install Plugin == | ||
| + | To install the plugin, simply download the files, unzip them, and then copy the addons folder into your game server's main directory. This will add ALL of the files into your game's "addons/sourcemod" directories. If asked to merge folders, click yes. If asked to overwrite, click yes. There is no special configuration files or cvars for this plugin, it works right out of the box. This plugin only works for ZPS, but can be modified to work for other games (you'll need to know the weapon entities). | ||
== Setup == | == Setup == | ||
| − | |||
This plugin does not require any special configs or setup to use (outside of Sourcemod/Metamod of course). Simply move the plugin files to the correct folders into "~/addons/sourcemod/" of your ZPS game directory and it should start working automatically. | This plugin does not require any special configs or setup to use (outside of Sourcemod/Metamod of course). Simply move the plugin files to the correct folders into "~/addons/sourcemod/" of your ZPS game directory and it should start working automatically. | ||
Revision as of 09:30, 31 March 2017
This ZPS plugin tells who was killed by whom, with what weapon (if any), and what team they belonged to when they died. This plugin is more of a fun plugin that a server owner can use to show player deaths.
How It Works
The plugin creates a hook to watch for all player deaths and will, depending on how they died, display a message to all users in chat with the player that killed them, the weapon that was used (if it was a zombie kill, it will only show that a player killed another player and not display a weapon), and the team that killed them will have their colors displayed. This is the color coding:
- Human players are displayed as Blue.
- Zombie players are displayed as Green.
The weapon name that was used to kill the player is displayed unless it is a zombie who killed the player (as they only have one weapon: their hands). Generally, most weapon names are straight forward, but some weapons, like the Remmy or IED are known as different names in their weapon files, so they had to be parsed in order to display a proper name.
This plugins also used the Colors include for the colors it used. Because ZPS is still on Source 2007, the color palate is limited and can only display certain colors. In the future, this may be updated to include more colors.
Code and Plugin Download
Below is the download link and code for the plugin:
How To Install Plugin
To install the plugin, simply download the files, unzip them, and then copy the addons folder into your game server's main directory. This will add ALL of the files into your game's "addons/sourcemod" directories. If asked to merge folders, click yes. If asked to overwrite, click yes. There is no special configuration files or cvars for this plugin, it works right out of the box. This plugin only works for ZPS, but can be modified to work for other games (you'll need to know the weapon entities).
Setup
This plugin does not require any special configs or setup to use (outside of Sourcemod/Metamod of course). Simply move the plugin files to the correct folders into "~/addons/sourcemod/" of your ZPS game directory and it should start working automatically.
This version of the plugin was compiled on SM 1.7.3, so it should work for Sourcemod 1.7.3 or later. If you need this for an older/specialized version of Sourcemod, you may want to compile the plugin (script files are included) for your version of Sourcemod.
All of this is provided "as is". While this plugin should not cause harm, any harm caused by the plugin, user handling, or anything else Vertigo Gaming and all associated coders are not responsible for it. Use at your own risk!