Inactive [MECH] MiningTNT v0.4 - Choose what TNT destroys [1.2.4]

Discussion in 'Inactive/Unsupported Plugins' started by Taco, Feb 6, 2011.

  1. Offline

    Taco

    Mining TNT v 0.4

    What this plugin does:
    This plugin simply changes TNT to affect only what you want it to. This is so that people can use TNT to mine without the worry of greifing.

    Features:
    - Causes TNT to destroy only stone by default
    - Other blocks can be added to what can be destroyed by TNT.
    - Allows height restrictions for TNT.
    - All settings can be found in MiningTNT.properties.
    - Creeper nerf can now be toggled on and off.
    - Adjustable block yield.
    - TNT can either set off other TNT or destroy it.


    Download:
    Download MiningTNT (.jar)

    Changelog:
    Show Spoiler

    2/6/11:
    - Initial release.
    2/8/11:
    - Added ability to select blocks dropped.
    - Added height restrictions.
    2/18/11:
    - Fixed creepers acting like TNT.
    - Fixed block destruction system.
    - Indestructible blocks such as Adminium can no longer be destroyed with TNT.
    - Creepers can act like TNT.
    2/23/11:
    - Updated for beta 1.3
    2/26/11:
    - No more stupidly long constructor message.
    3/20/11:
    - Fixed all ore/mineral drops.
    4/8/11:
    - Fixed a conflict with HigherExplosives.
    6/7/11:
    - Fixed TNT chaining
    - Added more options to the config
    - Moved config file to plugins/MiningTNT

     
    MuttsNuts likes this.
  2. Offline

    Taco

    Are they running the same version of Craftbukkit? Also, post any errors you're getting if any. This works just fine for me on ubuntu 10.10 64-bit.
     
  3. Offline

    min

    both test and real server
    nothing error.. start..
    but test server has problems.
    don't changing map when use tnt.

    my linux debian 64bit. and java 1.7
    bukkit 1046

    bukkit is same with test server.
    plugins is same with test server.
    only difference OS.
    window test server is very normally running...

    T.T ... can you help me?
     
  4. Offline

    Taco

    What does "don't changing map when use tnt." mean? I'm sorry for not being able to understand.
     
  5. Offline

    min

    i see your plugin code.
    but im not find that problem....T.T
    im korean. so no good write skill english.

    when use tnt.
    block is not break.
    same before use tnt.
     
  6. Offline

    Taco

    Oh, I understand. Make sure you're setting it off below the max altitude that's listed in MiningTNT.properties.
     
  7. Offline

    min

    MaxAltitude=70
    .... ........ ... sorry... -_- im stupid.........................................................

    .......................... hu.............. -_-a

    oh... and.. i thank you very kindly for me.
    thanks...^^
    you know. i using your plugin at south korea. not north. -0-;;

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  8. Offline

    Taco

    I'm glad the issue is resolved at least :p
     
  9. Offline

    oglop

    hello NICE plugin! .. do you think it is possible to write function that declares "number of TNT" which can 1 user place ..

    I mean
    1 player can set "amout" TNTs at one time

    player1 ...
    placed TNT 1
    placed TNT 2
    placed TNT 3


    player1 want to place TNT 4

    message to player1 => you have placed 3 TNTs you can't place more than 3 at one time
     
  10. Offline

    NazzyDragon

    Hey uh, know what plugins may conflict with this one? For some odd reason, the TNT just expands like it's about to explode, then waits like 10-15 sec, then disappears and does nothing whatsoever. I can make a video if you'd like.

    Changed config to make it so it blows nothing at all up, just damages players. Works fine alone, but when I add in our list of ten bagillion plugins (which have nothing to do with TNT, oddly. Except WG, but WG works fine along with this) it stops working.

    This is weiiiiiiiird! Either way, nice plugin. I wish to fix this issue. =3
     
  11. Offline

    chelben9

    could u please make it configurable that it only works in certain worlds but love the mod stops greifers and can you also make it so it only destroys blocks that are natural and not someone placed

    one more thing if you could make it so you cant place it in certain areas that would be great

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  12. Offline

    Raspberry

    I agree... I really miss the hsssssssssssh BOOOOOOOOOOOOOOOOOOOM too
     
  13. Offline

    oglop

    does it work well with 1060? thx
     
  14. Offline

    Taco

    It should and due to some issues irl, development on all of plugins is going to be delayed. I had planned quite a bit of updates for today, but I couldn't scrape up enough time.
     
  15. Offline

    oglop

    Thank you for reply :) I hope you will think about my ideas :)
     
  16. Offline

    Nick22

    Can you try to add multiworld support for tnt will destroy blocks in one world and not in another? Thank you.
     
  17. Offline

    AtomosomotA

    I see others have the same problem as I do. When the tnt explodes, there is no sound. A small detail I suppose but, if not fixed it will lead to the removal of your plugin. Great plugin, though the lack of hearing the explosion really kills the immersion of the game.
     
  18. Offline

    oglop

    yes you are right, but try it on server with 60+ online "kids" boom boom boomboom boom boomboom
    I like that it muted sound :) bcz TNT traps are more effective
     
  19. Offline

    genshi

    it's a nice plugin
    but somehow it isnt working on my server.

    how come if anybody know

    this is how i have put it all.

    #MiningTNT configuration
    #Add item ID's sparated by spaces for them to be affected by TNT.
    #Example:
    #DestroyTheseBlocks=1 2 3 4 17
    DestroyTheseBlocks= 1 2 3 4 17 46
    MaxAltitude=70
    #CreeperNerf MUST be enabled if CreepersActLikeTNT is enabled.CreeperNerf=true
    CreepersActLikeTNT=false
    #Allow TNT to activate other TNT within the blast radius, otherwise the TNT will be destroyed.
    #TNT (ID 46) must be added to list of blocks to be destroyed for TNT to chain.
    AllowTNTChaining=true
    #Yield is the percentage that the block is dropped rather than destroyed when in blast radius. Anything above 1 will be assumed to be 1.
    Yield=0.4
    CreeperNerf=true

    and non of the block's get destoyed.

    plz help me thank's =D
     
  20. Offline

    diannetea

    Whenever TNT is used this happens (though it still appears to work):

    Show Spoiler

    [SEVERE] Could not pass event ENTITY_EXPLODE to MiningTNT
    java.lang.NullPointerException
    at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.mine(MiningTNTEntityListener.java:89)
    at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.onEntityExplode(MiningTNTEntityListener.java:136)
    at org.bukkit.plugin.java.JavaPluginLoader$64.execute(JavaPluginLoader.java:691)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.Explosion.a(Explosion.java:196)
    at net.minecraft.server.World.createExplosion(World.java:1462)
    at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145)
    at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:420)
    at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:428)
    at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:424)
    at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.mine(MiningTNTEntityListener.java:89)
    at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.onEntityExplode(MiningTNTEntityListener.java:136)
    at org.bukkit.plugin.java.JavaPluginLoader$64.execute(JavaPluginLoader.java:691)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at net.minecraft.server.Explosion.a(Explosion.java:196)
    at net.minecraft.server.World.createExplosion(World.java:1462)
    at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145)
    at net.minecraft.server.EntityTNTPrimed.explode(EntityTNTPrimed.java:88)
    at net.minecraft.server.EntityTNTPrimed.s_(EntityTNTPrimed.java:66)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1193)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1175)
    at net.minecraft.server.World.cleanUp(World.java:1090)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:460)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  21. Offline

    GLR457

    oddy enough this is one of thos plugins thats lasts forever..
    ive had a older ver of this (2/23/11: - Updated for beta 1.3) and it was still running fine with no erros on 1.8 so ive finaly came back here to check on a updated ver (not like i needed too) and is now up to current ver..
    meny meny [diamond]'s for you dude.. just as long you keep updating this threw all the 1.9's and 10.'s and ill be happy :D
     
  22. Offline

    erdrickk

    This still working? I would love to use this.
     
  23. Offline

    Taco

    I don't see why it wouldn't work. There weren't any changes that would break it. Let me know if you encounter any issues should you use it though
     
  24. Offline

    erdrickk

    I am getting this error with MiningTNT 0.4 and Bukkit 1337

    Code:
    2011-11-11 18:32:26 [SEVERE] Could not pass event ENTITY_EXPLODE to MiningTNT
    java.lang.NullPointerException
        at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.mine(MiningTNTEntityListener.java:89)
        at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.onEntityExplode(MiningTNTEntityListener.java:136)
        at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:721)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.Explosion.a(Explosion.java:195)
        at net.minecraft.server.World.createExplosion(World.java:1462)
        at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:201)
        at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:422)
        at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:430)
        at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:426)
        at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.mine(MiningTNTEntityListener.java:89)
        at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.onEntityExplode(MiningTNTEntityListener.java:136)
        at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:721)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.Explosion.a(Explosion.java:195)
        at net.minecraft.server.World.createExplosion(World.java:1462)
        at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:201)
        at com.garbagemule.MobArena.Arena$2.run(Arena.java:497)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  25. Offline

    LinkDude80

    Nice plugin. Do you think it would be possible to implement multiple levels of TNT privilege? Say new players can't place TNT at all, trusted players can place below x block, and admins are unrestricted?
     
  26. Offline

    erdrickk


    Any ideas?
     
  27. Offline

    Taco

    I'll look into that. It seems there were some changes since the last recommended build.
     
  28. Offline

    lastern

    Can you add Y coordinate config please?
     
  29. Offline

    erdrickk

    I can't wait for this to be fixed..... I set off a TNT sphere with 3500+ TNT in it and this plugin freaked out so bad that my host shut my logging / console off. they said it was pushing out 5000 error lines per second....
     
  30. Offline

    megaluigi3424

    Im trying to make tnt destroy grass, but neither the 2 or 02 values will do it, it just wont destroy grass. Help?
     
  31. Offline

    Mercury

    @Taco can you add please permissions or sort of whitelist :( ?

    So far works and doesn't work on bukkit #1550 (MC 1.9/1.0)

    DestroyTheseBlocks=1 46 Works!
    MaxAltitude=70 Works!
    CreepersActLikeTNT=true Doesn't Work!
    AllowTNTChaining=true Works!
    CreeperNerf=false Works!

    TNT works but with error in console:
    Show Spoiler
    2011-12-02 17:23:15 [SEVERE] Could not pass event ENTITY_EXPLODE to MiningTNT
    java.lang.NullPointerException
    at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.mine(MiningTNTEntityListener.java:89)
    at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.onEntityExplode(MiningTNTEntityListener.java:136)
    at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:721)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at net.minecraft.server.Explosion.a(Explosion.java:189)
    at net.minecraft.server.World.createExplosion(World.java:1522)
    at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:226)
    at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:417)
    at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:425)
    at org.bukkit.craftbukkit.CraftWorld.createExplosion(CraftWorld.java:421)
    at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.mine(MiningTNTEntityListener.java:89)
    at com.FriedTaco.taco.MiningTNT.MiningTNTEntityListener.onEntityExplode(MiningTNTEntityListener.java:136)
    at org.bukkit.plugin.java.JavaPluginLoader$66.execute(JavaPluginLoader.java:721)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at net.minecraft.server.Explosion.a(Explosion.java:189)
    at net.minecraft.server.World.createExplosion(World.java:1522)
    at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:226)
    at net.minecraft.server.EntityTNTPrimed.explode(EntityTNTPrimed.java:88)
    at net.minecraft.server.EntityTNTPrimed.w_(EntityTNTPrimed.java:66)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1251)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1233)
    at net.minecraft.server.World.tickEntities(World.java:1140)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:507)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    Please don't give up doing this plugin ;)
    whitelist/permissions (Y)
     

Share This Page