DeathCannon
About
I've been reading the Hunger Games series and I found the way that they announced the deaths in the arena with the cannon and the announcement at night was really cool, so I decided to replicate the same thing in plugin form (Panem anthem not included).This plugin won't really change any game mechanics, it simply replicates how death is dealt with in the Hunger Games arenas.
Features
- Thunder sounds every time a player is killed.
- Death messages and causes will not be displayed as they happen, only the thunder indicates a player has died.
- Death messages and causes are saved and displayed only once a day after sunset, just like in the series.
Configuration
When using this plugin for the first time, a config.yml will generate for you in the plugin directory. There are two options.
- World: [world name] This indicates the world that the plugin will keep track of the time in. Deaths will only be displayed after sunset in that world.
- AllWorlds: [true/false] This is whether or not you would like to have thunder and the death displays in all of your worlds or just the world listed in the first config option.
Installation
Just drag the DeathCannon.jar file into your plugins folder and restart your server (reloading not recommended). An editable config.yml (for settings) file and database.yml (for storage) file should automatically generate for you.
NOTE: You must be using Java JRE7 on your server to use this plugin! If you are getting an "UnsupportedClassVersionError", then you are using JRE6 and that is the reason why the plugin isn't working!
To-Do
- Requested features that someone may suggest.
- Fix any bugs that may occur. I greatly encourage and appreciate bug reports!
Source
Here is a link to the git if anyone wants it:
Announcement
I am also going to be working on a full Hunger Games plugin. Planned features include thirst, energy, map rollback, automatic chest filling, repeating rounds, and many more! We will be releasing Beta versions soon! Check out the plugin on it's bukkitdev page:
-
View User Profile
-
Send Message
Posted Apr 25, 2012Would it be possible to make sure that the lightning and death messages only appear in the world that is set in the config? For my Server, i'm hoping to include the districts in a seperate world, yet the Cannon still sounds upon death...
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Iv_Ollieee
Oh! That's a good idea, I could set that as the default world. Or at least try to. Thanks for the suggestion.
-
View User Profile
-
Send Message
Posted Apr 24, 2012@Iv_Ollieee
I changed my config file: world: TheHungerGames and the errors stopped. Might be useful if you could grab the world for the config from server.properties :)
Otherwise, awesome plugin!
-
View User Profile
-
Send Message
Posted Apr 24, 201210:14 PM [SEVERE] java.lang.NullPointerException 10:14 PM [SEVERE] at me.tomjw64.DeathCannon.DeathCannon$1.run(DeathCannon.java:52) 10:14 PM [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 10:14 PM [SEVERE] at java.lang.Thread.run(Unknown Source)
java 7 64bit. Seems to be causing lag to run high. This message is generating every 20 seconds or so.
-
View User Profile
-
Send Message
Posted Apr 22, 2012Can one of you JRE6 users tell me if this file works?
Link Removed: http://www.mediafire.com/?11ui1hzzabm5ie7/DeathCannon.jar
-
View User Profile
-
Send Message
Posted Apr 21, 2012It is nearly impossible to get Java 7 for the Mac and I don't have time to try and figure it out. Will you please reconsider redoing this in Java 6?
-
View User Profile
-
Send Message
Posted Apr 17, 2012@Darrennick
Because 7 is the latest version. I am sorry of course that JRE6 users can't run this, but this isn't the only plugin that requires this. Upgrading to JRE7 is quite painless.
-
View User Profile
-
Send Message
Posted Apr 17, 2012@tomjw64
Grrrrr. Why not 6?
-
View User Profile
-
Send Message
Posted Apr 16, 2012@Darrennick
Read the note under installation.
-
View User Profile
-
Send Message
Posted Apr 16, 2012I get,
2012-04-16 10:01:39 [SEVERE] Could not load 'plugins\DeathCannon(1).jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/tomjw64/DeathCannon/DeathCannon : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: me/tomjw64/DeathCannon/DeathCannon : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(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) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139) ... 8 more
-
View User Profile
-
Send Message
Posted Apr 10, 2012@rexou97
I would suspect that most decent hosts would allow you to run JRE7. I'm pretty sure mine does at least.
-
View User Profile
-
Send Message
Posted Apr 9, 2012Why it is using JRE7 ! I have a server but not in my computer , and i cant update Java ;( I hope on day you will make a JRE6 version , i would perfect!!
-
View User Profile
-
Send Message
Posted Apr 4, 2012It's really cool! hoping to increase support for foreign language,like chinese(just support no use to type) and custom dialog
-
View User Profile
-
Send Message
Posted Apr 4, 2012@Whitewulf164
Thanks a ton! I'm glad someone else is enjoying it as much as I have been!
-
View User Profile
-
Send Message
Posted Apr 4, 2012Very nice!. I just lurk in the background and leach the info and files, but this plugin made me register.
Works with out fault, once again thanks for a cool plugin that does not spoil the game and adds some fun.
-
View User Profile
-
Send Message
Posted Apr 3, 2012I get an "Internal Server Error" NVM found a fix it was Pex
-
View User Profile
-
Send Message
Posted Apr 3, 2012Awesome! Testing it out right now. Hunger Games is the best series I've ever read and best movie I've ever seen. Thanks again!