Difference between revisions of "Kill Notify Plugin"

From Vertigo Gaming Wiki
Jump to: navigation, search
(Created page with "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...")
 
Line 16: Line 16:
 
Below is the download link and code for the plugin:
 
Below is the download link and code for the plugin:
  
Kill Notify plugin link will go here
+
*[https://github.com/Silenci0/KillNotify Kill Notify Plugin]
 
 
Code:
 
<nowiki>
 
Insert all this code right here!
 
</nowiki>
 

Revision as of 10:36, 29 October 2016

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: