ExplosiveMining
Features
ExplosiveMining is a plugin which simulates gas pockets. When mining stone players will have 1% per stone to encounter a dangerous explosion dealing 3 hearts of damage to them. This explosion is so powerful it penetrates armor, not doing damage to it but instead damaging the "explodee" directly.
Similarly, when mining coal players will have a 3% chance of encountering this explosion. ExplosiveMining is a fun plugin intended to scare the crap out of your users and that's exactly what it does! It adds more more danger to mining and doesn't let your users get away with that strip mining! It's for babies!
Added a config file!
you can set the damage in it with damage: damageinhalfhearts
To set a block and a percentage do
blockid: percentage
to have a 50% chance with stone do
1: 50
Commands
/emreload reload the config file which is EMconfig.yml
Permissions
EM.false - Turns off the possibility of an explosion. EM.reload - Grants permission to use the /emreload command.
Other
Here is a github link if you would like to browse the source.
@JohOply
Wait nevermind! I forgot how I implemented the permissions.
Everybody including ops will get exploded except if they have the EM.false permission.
Ok, so can you add a line in config to allow op permission or not please ? :)
@JohOply
Ops automatically have all permissions I believe.
Thank you very much :)
Just a question : i'm op, but if i disable the permission in my admin group, there is explosions or not ?
@JohOply
FInnneeeeee.
All my plugins are going to be java 6'ed
Just wait an hour or so until bukkit approves the files.
I rent my Minecraft server, i can't update Java.
Is there no solution ? :(
(Sorry for my bad english)
@JohOply
You need java 7. You have java 6.
Read the memo.
[SEVERE] Could not load 'plugins/ExplosiveMining.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: src/ExplosiveMining : 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: src/ExplosiveMining : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 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(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139) ... 8 more
@MrFIji
Actually something I forgot to mention all of my plugins require Java 7.
Update!
@xtyro
Which build are you using.
I'm using the dev build 2110. If you able tu use that one try it. I am working on the latest dev builds.
@MrFIji
I'm using the dev build 2110. If you able tu use that one try it. I am working on the latest dev builds.
Which one are you using.
same error
Got an error With Dev Build 1.2.4
[INFO] 182 recipes 2012-03-23 02:48:04 [SEVERE] Could not load 'plugins\ExplosiveMining.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: src/ExplosiveMining : 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.reload(CraftServer.java:541) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:599) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:568) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.UnsupportedClassVersionError: src/ExplosiveMining : 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) ... 13 more
Please help
@bobbysmithyy
TYVM
@Dayshade90926
Nice idea. I will work on it but beware. I have chronic laziness.
Yeah the possiblibity would be so cool!
I will use it
Btw. Want me to translate this to French? I could
Looks interesting. I would recommend making the chances of explosion and the damage configurable next update.
Love it