[INACTIVE][SEC] BlastControl v1.0.6 - Flexible TNT and Creeper restrictions/modifications [818]

Discussion in 'Inactive/Unsupported Plugins' started by happo2000, Mar 11, 2011.

  1. Offline

    happo2000

    BlastControl - Flexible TNT and Creeper restrictions and modification plug-in
    Version: v1.0.6
    (Optional) Permissions Version: v2.5.x

    Lets face it, TNT is fun. This plug-in is not to take away TNT from Minecraft, but restrict it's use to certain users. This plug-in provides the administrator the ability to restrict TNT use through different permissions. There are currently three levels of TNT usage restrictions that the administrator can apply to their users.

    Permissions:
    Code:
    bc.tnt.allowed - This permission will grant the user the ability to place and activate TNT freely under the indicated blast limit
    bc.tnt.abovelimit.place - Allows the user to place TNT above the specified blast limit
    bc.tnt.abovelimit.activate - Allows the user to activate TNT above the specified blast limit
    bc.tnt.abovelimit.link - Allows the user unrestricted linking of TNT blasts
    bc.tnt.immune - Gives player immunity to damage from TNT blast
    
    How it works:
    The basic idea of this plugin is that when a user activates TNT, the chunk itself is tagged with that users permission level for the next few seconds. So any linked explosions are also covered under that specific permission and the timer is extended. As an example, if the user has the bc.tnt.abovelimit.place but not the bc.tnt.abovelimit.activate permission and attempts to chain explosions that link above the blast limit, the TNT above the limit will not explode.

    What is the blast limit or blast height limit?

    They are the same thing. This is the limit setting to deny TNT or Creeper explosions from happening above ( this just translates into the y-axis range ). You can get the current y-axis of your character by reading the value that F3 puts onscreen within Minecraft. 0 being bedrock level and 128 being the highest point in the sky.

    Why 'bc.tnt.abovelimit.place' permission?
    On the server that I play on, TNT is used allot for leveling out large strips of land or abandoned buildings in SMP. This allows a regular/VIP user to place the TNT and call an Admin/Mod to detonate it.

    Features:
    • Restricts Creepers to exploding over the blast limit
    • Grants Creepers the ability to attack with fangs if their explosions are inactive
    • Linking TNT explosions work properly, even across adjacent chunks
    • Allows specific groups of users to use TNT in different ways
    • Gives the ability to reclaim placed TNT
    • Allows admin to change TNT properties
    Command Permissions:
    Code:
    bc.set.limit - Allows the use of the '/bc limit', '/bc triggerlimit' and '/bc linklimit'
    bc.set.enable - Allows the use of '/bc enable' and '/bc disable'
    bc.set.creeper - Allows the use of '/bc creeper'
    bc.tnt.reclaim - Allows the use of '/bc reclaim'
    bc.set.yield - Allows the use of '/bc yield'
    bc.set.radius - Allows the use of '/bc radius'
    
    Commands:
    Code:
    '/bc help' - Displays help
    '/bc status' - Shows the current blast limit and the current users restrictions
    '/bc reclaim' - Toggles TNT Reclaim mode on and off
    '/bc [enable/disable]' - Enables/disables BlastControl
    '/bc limit [x]' - Sets the new blast level to x
    '/bc triggerlimit [x]' - Sets the new trigger time limit to x ( in milliseconds )
    '/bc yield [x]' - Changes the blast item yield of explosions ( percentage )
    '/bc radius [x]' - Changes the blast radius of TNT ( in blocks )
    '/bc linklimit [x]' - Changes the maximum amount of linked TNT explosions
    '/bc creeper [x]' - Changes creeper behavior ( see creeper behavior table below )
    '/bc reload' - Reloads user configuration ( only available when Permissions Plug-in is not present )
    
    Creeper Behaviours:
    Code:
    'enable' - Does not limit creeper explosions in any way
    'disable' - Disables creeper explosions completely
    'disable-fangs' - Disables creeper explosions completely but gives them fangs to attack with
    'disable-entity' - Disables creeper explosions from doing any block damage, will still damage entities (Players, other mobs)
    'disable-despawn' - Disables creeper explosions completely but, despawns them on destruct
    'limit' - Restricts creepers to only exploding under the blast limit
    'limit-fangs' - Restricts creepers to only exploding under the blast limit, but gives them fangs above the limit
    'limit-entity' - Restricts creeper exploding normally under the blast limit, above the limit they will only do entity damage (no block damage)
    'limit-despawn' - Restricts creepers to only exploding under the blast limit, but despawns them when they attempt to explode above the blast limit
    
    Future Development: (opinions needed, these are not set in stone)
    • Adding TNT chain limits for different user permission levels
    • Giving different TNT strengths for different user permission levels
    • Allow control over Ghast explosions (low priority)
    • Throwing primed TNT (opinion needed)
    • Allow arrows to prime TNT (opinion needed)
    Restrictions:
    • This plug-in will disable the ability to activate TNT through redstone and fire
    Download the latest version of the BlastControl Plug-in

    Download Older Version of the BlastControl Plug-in

    Download BlastControl Source

    Changelog:
    Version 1.0.6
    • Fixed a typo in creeper setting, was 'limit-depawn' changed to 'limit-despawn'
    • Added new permission 'bc.tnt.abovelimit.link'
    • Added command '/bc linklimit <#>'
    • Fixed an issue with 'limit-despawn' where it was letting the creeper attack
    Version 1.0.4
    • Added 'bc.tnt.immune' permission
    • Allow players to be immune to damage from TNT (other sources act normally)
    Version 1.0.3
    • Removed Compatibility code for CB 599 and below for efficiency
    Version 1.0.2
    • Added compatibility with major revisions to CB 558+ (tested on CB592)
    • Removed Right-Click to reclaim TNT until CB API changes calm down
    Version 1.0.1
    • Removed a debug message that accidentally got left in for v1.0 release
    Show Spoiler

    Version 1.0
    • Added explosion sound effect to creepers explosions while only doing entity damage
    • Shortened creeper attack range by 1 block
    Version 0.9.3
    • Added new creeper settings 'disable-entity' and 'limit-entity'
    Version 0.9.2
    • Fixed an incompatibility with changing Yield and CB 556-
    Version 0.9.1
    • Made Permissions plug-in optional, capable of using user.properties file
    • Moved configuration files to plugins/BlastControl
    • Renamed blastcontrol.cfg to settings.properties
    • Will automatically convert your existing settings
    • Added '/bc reload' which is only available when Permissions plug-in is not present
    • Cleaned up settings and configuration code
    Version 0.9
    • Added ability to set TNT Blast radius using '/bc radius'
    • Added new permission 'bc.set.radius'
    • Added ability to set TNT Blast item yield using '/bc yield'
    • Added new permission 'bc.set.yield'
    Version 0.8
    • Fixed a bug that could cause an infinite loop
    • Also moved project to GitHub
    Version 0.7
    • Fixed a bug where when a creeper was attacking with fangs, damage would come from player instead of creeper
    Version 0.6
    • Right-click of TNT with nothing in hand will reclaim, relies on 'bc.tnt.reclaim'
    Version 0.5
    • Added command '/bc reclaim' to allow users to toggle TNT pickup mode
    • Added new permission 'bc.tnt.reclaim'
    Version 0.4
    • Fixed a bug that could cause an infinite loop
    Version 0.3
    • Allowed commands to be accessed via console
    • Added a new status item showing the time-to-link timeout
    • Changed status to not show player restrictions if plug-in is disabled
    • Plug-in will disable gracefully if Permissions plug-in is not loaded
    • Changed Plug-in Hooks from Lowest to High - ( I misinterpreted originally )
    Version 0.2
    • Changed permission 'bc.tntallowed' to 'bc.tnt.allowed'
    • Changed permission 'bc.abovelimit.place' to 'bc.tnt.abovelimit.place'
    • Changed permission 'bc.abovelimit.activate' to 'bc.tnt.abovelimit.activate'
    • Changed permission 'bc.enabledisable' to 'bc.set.enable'
    • Changed permission 'bc.setcreeper' to 'bc.set.creeper'
    • Changed permission 'bc.setlimit' to 'bc.set.limit'
    • Removed permission 'bc.status'
    • Added new creeper settings 'disable-despawn' and 'limit-despawn'
    • Slightly increased the range on creeper fang attacks
    • Changed command '/bc setlimit' to '/bc limit'
    • Added command '/bc triggerlimit'
    Version 0.1
    • Initial Release
     
    nendi, Thomasice and Aaron_Merric like this.
  2. Offline

    king_life

    As of 1.7 TNT can only be triggered by Redstone... so maybe make an option to allow hit to ignite it again?
     
  3. Offline

    Ratchet

    can this restrict people from detonating more than X amount of TNT at a time?
     
  4. Offline

    Bahamutho

    I am currently having the same issue. It flashed and then has no explosion. The only mod I am currently using is this one and I am wondering: is this a bug or did I do something wrong with the settings?

    I really like this mod and would love to be able to use it again. I am currently using bukkit 953 and these are my settings:
    Code:
    # BlastControl Configuation
    #Sun Jul 17 14:11:37 CEST 2011
    Enabled=true
    BlastRadius=4
    BlastYield=1
    BlastTriggerLimit=10000
    BlastLimit=128
    CreeperSetting=limit-fangs
    BlastLinkLimit=64
    
    Code:
    # BlastControl Permissions - true means ops are required.
    #Sun Jul 17 14:10:10 CEST 2011
    bc.tnt.abovelimit.activate=true
    bc.tnt.abovelimit.link=true
    bc.set.creeper=true
    bc.tnt.abovelimit.place=true
    bc.tnt.immune=true
    bc.set.yield=true
    bc.set.enable=true
    bc.set.limit=true
    bc.set.radius=true
    bc.tnt.allowed=true
    bc.tnt.reclaim=true
     
  5. Offline

    Woopass123

    have you stoped updating it?
     
  6. Offline

    Kaydie

    we cant detonate tnt by breaking anymore.. so its physically impossible to use tnt, regardless of permisisions..

    Though possible with flint left clicking, i still prefer being able to do it with redstone X:
     
  7. Offline

    Stephen304

    I get this error in console, ill check if it still actually works in a minute:

    EDIT: It still prevents creeper explosions, and probably still prevents tnt, though it is an ugly error to look at in the console.

    Code:
    16:35:14 [SEVERE] Could not pass event ENTITY_EXPLODE to Regios
    java.lang.NullPointerException
            at me.Adamki11s.Regios.RegiosEntityListener.onEntityExplode(RegiosEntity
    Listener.java:63)
            at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.j
    ava:670)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.Explosion.a(Explosion.java:195)
            at net.minecraft.server.World.createExplosion(World.java:1467)
            at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145
    )
            at net.minecraft.server.World.a(World.java:1459)
            at com.bukkit.happo2000.BlastControl.BlastControlEntityListener.onEntity
    Explode(BlastControlEntityListener.java:155)
            at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.j
    ava:670)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.Explosion.a(Explosion.java:195)
            at net.minecraft.server.World.createExplosion(World.java:1467)
            at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145
    )
            at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:118)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityMonster.v(EntityMonster.java:26)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityMonster.m_(EntityMonster.java:30)
            at net.minecraft.server.EntityCreeper.m_(EntityCreeper.java:68)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
            at net.minecraft.server.World.cleanUp(World.java:1104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  8. Offline

    tha d0ctor

    any chance this will be updated to the RB?
     
  9. Offline

    xybre

    Same here unfortunately.
     
  10. Offline

    GLaDOS_9000

    this doesnt work...they still explode...
     
  11. Offline

    darknesschaos

    who are "they"?
     
  12. Offline

    Valiant

    Message to mods/developer.

    Please list inactive until it is updated. RB has been out for a while and there has been no news posted by plugin dev.

    OR

    I'd ask that the dev please shed some light on the situation as my server used this plugin heavily. If he wishes to trade off the source and the development of this plugin to another user, he should do so please. Thank you.
     
  13. Offline

    Nikademus

    I agree. This plugin is great, but my players want TNT to function properly. I'm starting to look for a replacement plugin for this, since we only want creepers nerfed.
     
  14. Offline

    happo2000

    Sorry guys, I don't have time for this anymore. So it will not be updated. CB and Minecraft in general have changed too much at this point that this plugin would need to be reworked.
     
  15. Offline

    Valiant

    Can you please hand off the code for it? I would be more than happy to take up the project and work on it with another user if they would so wish?
     
  16. Offline

    Nikademus

    Sorry to hear that Happo. Check out AntiCreeper. It replaced what I needed BlastControl for perfectly.
     
  17. Offline

    Halalbert..

    Just started to use the Blastcontrol plugin, and I got a problem. I can't get the TNT to explode when Blastcontrol is enabled. Noticed just now that it says "This plug-in will disable the ability to activate TNT through redstone and fire", Will that with the new update make it impossible to make TNT explode while useing Blastcontrol, or am I missing something?
     
  18. Offline

    Don Redhorse

    @happo2000
    I would welcome if Valiant would take over the plugin, I really like it as it limits TNT misuse above a limit and still allows TNT mining.
     
  19. Offline

    Valiant

    This plugin is inactive. So thats why your problems are happening. It is jst because it hasnt been updated yet.
     
  20. Offline

    Don Redhorse

  21. Offline

    StrangeOne101

    Nice Plugin. I have upgraded to 1.2.3 but sadly this plugin does want to work anymore :(

    If this was updated, it would be 5 [diamond][diamond][diamond][diamond]. For now, just [diamond][diamond][diamond][diamond]. Nice work :)
     
  22. Offline

    Tyrrano

    I wonder if anyone could take up this torch? This is exactly what my server is looking for so we can enable TnT. It's very frustrating that there are so few TnT control mods out there.
     

Share This Page