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
I dont use plugins like CraftIRC and others, i wanted a death Notification plugin only. It doesnt work with newest craftbukkit 1810
PLEASE FIX IT QUICKLY
[SEVERE] Error occurred while enabling DeathNotifier v1.3 (Is it up to date?): com/ensifera/animosity/craftirc/EndPoint java.lang.NoClassDefFoundError: com/ensifera/animosity/craftirc/EndPoint at com.titankingdoms.dev.deathnotifier.DeathNotifier.onEnable(DeathNotifier.java:76) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1059) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:217) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:200) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:515) at org.bukkit.Bukkit.reload(Bukkit.java:188) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:457) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:453) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:573) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:550) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.ClassNotFoundException: com.ensifera.animosity.craftirc.EndPoint at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 16 more
@migsthegod
Is that CraftIRC 3.1?
here you go:
Someone test the newest one with CraftIRC 3.1
@HelloWorldCool
Please download from the link IN THE DESCRIPTION. The one you have is outdated.
@NodinChan
Hi reporting i got this error when loading for 1.1:
2012-01-24 17:57:54 [SEVERE] Error occurred while enabling DeathNotifier v1.2.1 (Is it up to date?): net/milkbowl/vault/permission/Permission java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission at com.gomysql.gwinans.DeathNotifier.DeathNotifier.setupPermissions(DeathNotifier.java:122) at com.gomysql.gwinans.DeathNotifier.DeathNotifier.onEnable(DeathNotifier.java:97) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1059) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.permission.Permission at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 12 more
Actually updated for 1.1 and uses CraftIRC 3.1 now. Report any errors.
@Brock_Blocking
Bukkit Dev Build for 1.1? Yeah, they changed some of their code. Let me test it and see.
Could you add a category for unknown deaths? I noticed they don't show up/work. edit: since 1.1 it appears enchanted bow kill aren't showing up as pvp kills (unknown causes) and some other similar events.
Okay, thanks anyway.
@Avooal
This is a bukkit bug, sadly.
Not sure if we can fix it.
There's a pull req to fix it, but it hasn't been accepted yet.
See: https://github.com/feildmaster/Bukkit/commit/b19083f9df04f98de369a6982228d3d6d67dddce
@Avooal
We're looking into this, Avooal.
At a bit of a loss since the plugin didn't fundamentally change how message output works.
@NodinChan:
Here is my config file: http://pastebin.com/ngZzCLQ8
And here is the error I get: http://pastebin.com/SXC7QZuh
I should have pasted that before, I'm sorry. ;)
@Avooal
Please paste the error with http://pastebin.com (Just to save some space).
And also the Config. Thank you.
DeathNotifier 0.94 worked like a charm with special characters (french messages). However I've got an error since the release 1.0.1 (I tried 1.2.1 and 1.2.3 as well).
My config file is still encoded in UTF-8. Could you fix that please or tell me what could be wrong in my file?
Thanks.
Thanks and well done on the config file. This looks like the new Heroic Death.
@ihasamoose
I'll clarify this a little further;
We will not spend the time or effort supporting a broken and poorly designed plugin such as Essentials. It is known to be bad and spending that time would be wasted effort and needless code in order to support said junk.
I would highly recommend that anyone who wants proper, not-broken features for their server look into ditching Essentials and replacing it with CommandBook, WorldGuard, WorldEdit and whatever other filler plugins to cover the few gaps that essentials does.
DeathNotifier 1.2.3 - Fixes for Wolves and Ghasts
@ihasamoose
3 Reasons on why I wouldn't do an Essentials-check:
1. That would require me to read through the whole Essentials source and find every error that might affect DeathNotifier.
2. Even though I want to help the users, there is only that much I could do. I am not Superman, and even Superman have limits.
3. There are alternatives to Essentials, while there are very few death notification plugins. Most death notification plugins get errors from Essentials. That is mostly Essentials' code errors. We can't develop these plugins to suit it unless we are actually developing something that actually support it.
Hope you understand, I try my best to fix what I can. But reading through Essentials is beyond me. :(
@NodinChan
Could you maybe do an if then check for essentials and implement as such? I'd be very appreciative, I love this plugin and your crafty death messages :)