reduce explosion radius of all TNT?

Discussion in 'Archived: Plugin Requests' started by shanko, Feb 26, 2012.

  1. Offline

    shanko

    Could this be possible :eek:
     
  2. Offline

    Giinger

    I can do this for you, would you like the radius to be configurable in a config.yml file? Or would you like it hard coded, and not configurable in the future?
     
  3. Offline

    shanko

    configurable would be good! :D
     
  4. Offline

    Giinger

    Name: NerfTNT
    Version: 1.0
    Author: Giinger

    Download:
    <Edit by Moderator: Redacted mediafire url>

    Upon the first time running this plugin, you will get a config that looks like this:

    ---
    # Change the value of radius to whatever you want the TNT radius to be!
    Plugin:
    Radius: 3
    EnableFire: false
    ---

    As you may know, 3 is the default radius of TNT, I did some testing and 2 does some damage and 1 does no damage at all and only hurts players and mobs, the EnableFire option makes it so there is fire where the TNT explodes, that can be enabled by changing the option false to true.
     
    Last edited by a moderator: Nov 11, 2016
  5. Offline

    Milkywayz

    [quote uid=49564 name="Giinger" post=986572]Name: NerfTNT
    Version: 1.0
    Author: Giinger

    Download:
    <Edit by Moderator: Redacted mediafire url>

    Upon the first time running this plugin, you will get a config that looks like this:

    ---
    # Change the value of radius to whatever you want the TNT radius to be!
    Plugin:
    Radius: 3
    EnableFire: false
    ---

    As you may know, 3 is the default radius of TNT, I did some testing and 2 does some damage and 1 does no damage at all and only hurts players and mobs, the EnableFire option makes it so there is fire where the TNT explodes, that can be enabled by changing the option false to true.[/quote]
    Wow you made that plugin fast :p haha
     
    Last edited by a moderator: Nov 11, 2016
  6. Offline

    Giinger

    Well, not really haha, I was at my grandma's house when I responded to it, I didn't get home until an hour later, I coded this in like 15 minutes.
     
  7. Offline

    Milkywayz

    Oh, i didn't notice thats its 7 something and that was 6 something. :p Still though id probably take 30 minutes to do it..
     
  8. Offline

    shanko

    Wow awesome!!! Gonna try this out right now lol :] im surprised I couldnt find this before

    this is working great, thanks a bunch! My anarchist class is finally balanced :p

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

    shanko

    the best part about this plugin is at setting 2, TNT makes small holes and it only blasts through soft material like sand or dirt, cobblestone remains undestroyed!! I absoloutly love this plugin you should publish it! :p
     
  10. Offline

    Giinger

    I'm glad to hear that you like it! I probably won't publish it for bukkit, but instead make it against the new Minecraft mod API when it comes out.
     

Share This Page