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
@ihasamoose
Found all the causes. Error in code of Essentials.
/suicide does that because it does not have a DamageCause and it is not a EntityDamageByEntityEvent. Results in a NPE.
/lightning does not actually strike lightning, at least, not to my knowledge.
Essentials has also been causing the same problems for DeathTpPlus. So I think it's not the error within DeathNotifier. It is error in the code of Essentials.
I rarely say this to people but, yes, replace Essentials with somthing like CommandBook.
I cannot fix this Essentials problem in DeathNotifier. /suicide does not give an NPE now. It will be "Unknown" death cause, in case some other plugin does this too.
Hope you would understand. Thank you in advance.
It will be available for download when I get home.
@NodinChan
But if the wolf is not owned and is a random wolf that someone just whacks, it gives the default reason.
Giants do not kill anyone.
I smited myself 3 times to test the lightning and I used /lightning to test lightning. It always says I burn to death even if I set lightning damage to 20 hearts.
/suicide does not involve wolves, that is what produced the error log I posted.
I'm not sure how to enter to separate phrases on BUkkitDev, sorry.
@ihasamoose
Line 186 is "opponent = ((Player) ((Wolf) killer).getOwner()).getName();" and it is only accessable if a wolf killed him/her.
I don't think /suicide involves Wolves? :S
@ihasamoose
I guess I have wolves to fix!
Ah, line 186, thank you.
I'll have to test ghasts again...
If the player is DIRECTLY killed by lightning, it will log as Lightning. But the player probably burned to death by the fire caused by the lightning.
Giants don't kill anymore?
On some servers, you do starve to death.
Thank you for reporting. :)
@NodinChan
I'll test it out for you and let you know as soon as I find out.
Wolf deaths = default death reason (Epics was killed by a wolf.) ~ tested this 3 times, always that. Suicide =
Ghasts~ No log at all when killed by a ghast Lightning~ Doesn't log as lightning, same reasons as fire. Giants~ They're neutral. They will never kill a player. Hunger~ Players don't starve.
@94miner
&a-f or &1-9
What are the different codes for the colors? Also, i edited the text....but it's not working. Would me having GroupManager or my perms not functioning well have anything to do with this?
Okay, DeathNotifier 1.2 should be ready. Let's see if anything goes wrong.
@ihasamoose
When is that sent? The "/suicide" command of Essentials? I'll see if I can find what happened in there.
Seems to randomly have a lot of console errors.
@col1107
This plugin is like HeroicDeath but even more configurable.
So this plugin is like heroic death?
Yup, DeathNotifier FTW!
@spydercanopus
DeathNotifier is now updated for 1.0.1 and even has new features!
Now that HeroicDeath is inactive, it would be really cool if you picked it up.
I'll work on getting this updated. Getting back into the swing of java is rough when you have minimal interest as-is.
When will this plugin be upated to Minecraft 1.0.0?
Update? Does it work for 1.0.0?