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
@fjutte
Because you're using 1.4.6. Use 1.4.7. Metrics files have been moved out of the NC-LoaderLib and into DeathNotifier itself.
@nhoclesnar
And the above reason applies to your question. And some things I was testing that does not affect usage. Hence, needs a rewrite.
Woa why is the new build 17 kb larger? It's like the size is doubled.
@Nickchens
I don't know what the problem is, but I'm sure that it's not DeathNotifier's fault. I pasted your config file onto this page and I got error at line 21 and 105. My config has no error so it runs fine. I tried to fix yours but I failed. Maybe letting it generate a new config then rewriting it step by step will fix this problem. Good luck.
@fjutte
I cannot manipulate your problem. Maybe it's because you disabled Metrics, or the Metrics server was down?
why?
latest bukkit release
deathnotifier 1.4.6
04:14:37 [INFO] [DeathNotifier v1.4.6] Hooking Metrics
04:14:37 [SEVERE] Error occurred while enabling DeathNotifier v1.4.6 Build #266
(Is it up to date?)
java.lang.NoClassDefFoundError: com/nodinchan/ncloader/metrics/Metrics
at com.titankingdoms.dev.deathnotifier.DeathNotifier.initMetrics(DeathNo
tifier.java:138)
at com.titankingdoms.dev.deathnotifier.DeathNotifier.onEnable(DeathNotif
ier.java:184)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:337)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238
)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.ClassNotFoundException: com.nodinchan.ncloader.metrics.Metr
ics
at java.net.URLClassLoader$1.run(Unknown Source)
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
Thanks for the 4.0 update
@nhoclesnar
I use the newst Build. I tried DN as the only plugin, the problem is there also.
And i done the way from SLiPCoR.
It doesnt work.
Here is the config:
http://www.dateiupload.com/get2.php?file=files/CNnjpNUCW5.yml
@Mayhem777
Obviously...You need to overwrite the jar file on update...
@NodinChan
Is it possible to set the message if someone is killed by snowball (yes a plugin allows that...)?
Need to delete previous versions on update?
Here is the last update before I completely rewrite the plugin. Still accepting suggestions!
@Nickchens
Try using the latest R-build of CB and DeathNotifier as the ONLY plugin. Then do what SLiPCoR said. If it still doesn't work, post your file here. If it does work, it's another plugin's fault.
Crazy.
I done it in THIS WAY!
But it doesnt work :(
@Nickchens
Yes, do it this way:
done. It just worked with latest dev build for me :)
Ideas?
No, the Server was stopped.
It doesnt work -.-
@Nickchens
Were you editting while the server is running? If so, that's the reason.
It doesn't work really.
The standard messages from the config are displayed, but if i edit the config there are still the standard messages from Death Notifier.
Why?
@NodinChan
It have tested it and i was like 50/100 blocks away so defiantly not be able to punch.
@Dinastya
Did they shoot them or punch them? I'll check it out.
Found a bug.
When players kill others with a bow it say killed with fist if the use any item is set to false.
When it's to true it seem to work fine though.
@hawkfalcon
Why don't you just add them by yourself.
More custom is much better if there are hundreds default messages all servers would have the same messages.
I have like 200 messages added and wouldn't be fun if all servers had exact same messages.
That's the purpose of custom death messages so it's not always the same as other servers and always the same on each death.
You should incorporate more messages into the default:D