DeathNotifier
DeathNotifier - Broadcast Deaths!
DeathNotifier - Broadcast Deaths!
DeathNotifier notifies the world of deaths with configurable random messages. This plugin has grown from only able to broadcast deaths in game to be able to broadcast deaths in IRC. Features have soon been modulised to suit the needs of various people. I welcome feature and module requests, just ask, I don't bite.
Features
Features
- Broadcasts death messages chosen randomly
- Death messages are configurable
- Additional modulised features
Installation
Installation
- Download DeathNotifier Recommended Build and rename to DeathNotifier.jar
- Put it in the plugins folder
- Configure
- Done!
- Note: DeathNotifier uses the NC-BukkitLib and Plugin Metrics which would be downloaded automatically on first run.
DeathNotifier Modules
DeathNotifier Modules
- Download the module
- Put in /plugins/DeathNotifier/modules/
- Restart server
Module | Description |
CraftIRC2Module | For broadcasting deaths through CraftIRC 2 |
CraftIRC3Module | For broadcasting deaths through CraftIRC 3 |
ConsoleOutput | For sending deaths to console |
Configuration
Configuration
The configuration of DeathNotifier is simple and easy. Basicly edit each option by adding or removing new messages.
The default messages are just examples, use your creativity, I will not provide more messages. (Unless a new death cause were to appear and I have to give it default messages)
Variables in messages include: %player (The killed player), %opponent (The player who killed) and %weapon (The weapon the killer used)
Messages can be per world and the delay between messages can be configured in seconds. Everything that is not a tool will not have its name shown exactly. To enable the names of all items, it is also configurable.
Commands
Commands
Command | Description |
/dnreload | Reloads the config |
/dnversion | Gives you the version of DeathNotifier |
Permission Nodes
Permission Nodes
Permission Node | Description |
DeathNotifier.reload | Required to be able to use /dnreload |
DeathNotifier.update | Will be notified about version updates on join |
Colour Codes
Colour Codes
Colors can be used in messages.
Here is a list of colour codes and the colour it represents:
#==============================================================# # COLOUR CODES # # &0 (black), &1 (dark blue), &2 (green), &3 (dark aqua), # # &4 (red), &5 (purple), &6 (gold), &7 (silver), # # &8 (grey), &9 (blue), &a (light green), &b (aqua), # # &c (light red), &d (light purple), &e (yellow), &f (white), # # &k (magical) # # &l (bold), &m (underlined), &n (striked), &o (italic) # #==============================================================#
Just put the colour codes in where you want them and you're done!
Video
Video
Thanks to UltiByte for making this video
Questions?
Suggestions?
Problems?
Let us know about them!
Links
Recommended Build
Latest Stable Build
Source
IRC
We welcome pull and feature requests!
Metrics
Metrics
To determine popularity of this plugin, plugin installs are automatically tracked by the Metrics plugin tracking system. If you don't want to help or are paranoid, edit plugins/PluginMetrics/config.yml and set opt-out to true. But seeing more users makes me very happy.
DeathNotifier Statistics by Metrics
Please fix for 1.3
@Kartus
Is the NC-BukkitLib.jar present?
v2.2 doesn't work, error on startup:
52:25 [SEVERE] Could not load 'plugins/DeathNotifier.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: NC-BukkitLib at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
@TobyHDTV
Probably just you... And the guy below you? ._.
this doesn't work for bukkit 1.2.5R4 well at least for me ;/
2012-07-19 04:23:48 [SEVERE] Could not load 'plugins/DeathNotifier.jar' in folder 'plugins''
http://pastebin.com/vrjtex6K
@Brottweiler
I get same error and I have updated NC-BukkitLib.
@qwerty00011
Did you try update NC-BukkitLib?
I get an error every time I try to run DN, I used plugin reloader this time, and I do have NC_bukkit in the lib folder. :
13.07 11:32:01 [Server] INFO Error with DeathNotifier: NC-BukkitLib (check console for more details) 13.07 11:32:01 [Server] SEVERE at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 13.07 11:32:01 [Server] SEVERE at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) 13.07 11:32:01 [Server] SEVERE at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:581) 13.07 11:32:01 [Server] SEVERE at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:612) 13.07 11:32:01 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:475) 13.07 11:32:01 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) 13.07 11:32:01 [Server] SEVERE at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) 13.07 11:32:01 [Server] SEVERE at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) 13.07 11:32:01 [Server] SEVERE at net.diamondmine.reloader.PluginReloader.onCommand(PluginReloader.java:96) 13.07 11:32:01 [Server] SEVERE at net.diamondmine.reloader.PluginReloader.loadPlugin(PluginReloader.java:243) 13.07 11:32:01 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) 13.07 11:32:01 [Server] SEVERE at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:121) 13.07 11:32:01 [Server] SEVERE org.bukkit.plugin.UnknownDependencyException: NC-BukkitLib
@NodinChan
I'm guessing that having the delay will reduce lag immensely, but I really don't like a one-second wait to see one of the messages pop up. I'll try again, maybe something in 2.2 got fixed. One more thing, I love the waffle message from giant deaths, I use a plugin to make giants spawn naturally and sometimes I like to set their spawn rate to 95 and watch the messages of "<name> is now a waffle" flood the chat :D
@Fentaur47
Probably because it now runs a sync scheduler to reduce death spam, which might cause slight lag.
Since 2.2 I get an error when someone dies, and the default MC death message pops up.
[SEVERE] Could not pass event PlayerDeathEvent to DeathNotifier
Here's the error message: http://pastie.org/4212417
SOLVED! I needed to update NC-BukkitLib.jar
I have a problem. I edit the file config.yml. And when you restart the server returns to the default config.yml. I can do?
Sorry for my english.
@predawnia
It's in the config.
@Eriaror
I believe you need to save the file as UTF-8 to get this to work. I haven't tested extensively, but that seems to be a common problem between many message plugins.
Is it possible to make it so that death messages are limited to its own world and do not cross to another world?
Is this falling dmg working correctly? Every time someone dies on falling on my server, then previous death message is used, instead of Falling one :(
EDIT: Same with tnt explosion
EDIT #2: Okay, so it announces death based on last thing, that took down health
This is a really fun plugin, but for some reason, each time I install it, my server lags horribly and I can't do anything. It takes two minutes to open a chest, and when I finally do, it gives me "Read timed out." If I uninstall the plugin, the server runs smoothly. Is this a bug with both of my computers? No one else seems to have the problem. Whatever it is, I hope it gets fixed soon, I really want it back!
@predawnia
A little typo on my side, ignore the failing part. Nothing is wrong apart from checking for a version which has not been loaded, will not cause problems.
Hi any idea why..
28.06 19:20:07 [Server] INFO Downloading NC-Bukkit lib...
28.06 19:20:07 [Server] INFO Downloaded NC-Bukkit lib
28.06 19:20:07 [Server] WARNING [DeathNotifier v2.1] Failed to initialise Loader lib
Running on CB#2222