Inactive [EDIT] InstaBreak v2.0 - Break blocks instantly! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by R3ality, Apr 5, 2011.

  1. Offline


    InstaBreak - Break blocks instantly!
    Version: v2.0 (CraftBukkit build #1060)

    This plugin allows players to break blocks with just one strike using an universal InstaBreak tool. It was initially created as a simple, lightweight alternative to the superpickaxe included in the fantastic WorldEdit plugin.

    Current features include support for multi-world permissions (including nether) by the Permissions plugin (usage is optional) and a variety of customizable options and in-game commands (or option to disable any customization if you just want the plain-simple core functionality :)).


    • Save inventory slots! - No need to carry multiple tools, the InstaBreak tool works on all* blocks
    • Save time! - Break any* block or placed item with one strike!
    • Break blocks from far away (ranged breaking)!
    • Support for the Permissions plugin (tested with 3.1.5b and 2.7.4, usage is optional)
      • Multi-world permissions support (including nether)!
    • Support for protection plugins (tested with WorldGuard 5.0-dev and EssentialsProtect 2.3.3)
    • Allow breaking of bedrock (also known as Adminium) blocks*
    • In-game commands
      • Change the InstaBreak tool to ANY type of block or item!
      • Toggle InstaBreak mode for ANY player in the server!
      • Toggle block drops upon breaking!
    • Uses a configuration file to persistantly keep settings.
      • Option to turn off commands and permission usage completely (leaving just core functionality).
      • Option to toggle if block breaking is counted in the "Times Mined" of player Statistics.
    * - Except the bottom-most layer of bedrock (breaking that has been intentionally disabled)
    Note: This plugin doesn't affect actions against other entities in any way (players and NPC-s)

    Download: [​IMG] InstaBreak v2.0 (.jar only)


    • Download and place "InstaBreak.jar" file into the "plugin" directory of the server.
    • Start/restart the server to have the plugin loaded (or use a plugin manager)
    • (optional) Make changes in the configuration file
      Read the "Configuration File" section below for details..
    • (if using Permissions) Grant desired permission nodes to users or groups
      Read the "Permissions" section below for details..
    Permissions / Configuration file:
    Show permissions and configuration info (open)

    Permissions plugin usage is optional. If you are not using it the plugin will default to using the regular "ops.txt" (all commands will be enabled for all ops). If you are using permissions but you do not want it to apply to this plugin there is an option to make the plugin "static" via the configuration file (read below)

    The plugin utilizes the following permission nodes:

    instabreak.toggle - allow player to toggle InstaBreak mode for themselves
    Commands enabled: /ib + /ib info

    instabreak.force - allow player to toggle InstaBreak mode for other players
    Commands enabled: /ib list + /ib enable + /ib disable + (all of the above)

    instabreak.config - allow player to make InstaBreak configuration changes
    Commands enabled: /ib tool + /ib drop + (all of the above)

    Special additional permission:

    instabreak.bedrock - allow player to break bedrock blocks.
    instabreak.ranged - allow player to break blocks at a distance.
    Note: Player still needs to be in InstaBreak mode for these to apply.


    Configuration file:

    In case the configuration file doesn't exist it is created automatically with default values when the plugin is loaded. This means you probably don't need to worry about it at all!

    Configuration file uses the .yml format (no tabs and be careful with spaces!) and will be at "plugins/InstaBreak/config.yml". The default (with added comments) is as follows:
        dynamic: #These dynamic configuration settings can be changed with in-game commands aswell (read more in the commands section above).
            dropblocks: true #This controls if miniblocks are dropped when using the InstaBreak tool.
            toolid: 50 #This is the TypeId for the InstaBreak tool (Integer value). ID 0 (zero for AIR) = bare hand, ID 9999 = ANY block/tool.
            staticplugin: false #When set to "true" the plugin completely disables all in-game commands and omits any use of permissions. ALL players of the server will be in InstaBreak mode ALL the time, plain and simple :)
            respectprotection: true #When set to "true" the plugin tries to respect protection rules from other plugins. When set to "false" the InstaBreak tool will break protected blocks/items!
            workatrange: true #When set to "true" the InstaBreak tool will work at a distance.
            breakbedrock: true #When set to "true" the InstaBreak tool can be used to break bedrock blocks
            countstats: true #When set to "true" blocks broken with the InstaBreak tool will get added to the "Times Mined" counter in player Statistics.
    Show changelog (open)
    InstaBreak v2.0, released on July 22nd

    • Fixed ranged breaking
      Ranged breaking now works thorugh liquids (water and lava).
    • Added possibility to set the InstaBreak tool to ANY block/tool
      When tool ID is set to 9999 players can use anything as the InstaBreak tool
    InstaBreak v1.9.1, released on June 27th

    • Fixed issue with "/ib i" command
      While not having permissions to use ranged breaking it was still indicated as bein ENABLED. Details here..
    InstaBreak v1.9, released on June 17th

    • Support for protection plugins!
      InstaBreak now supports protection plugins (see the feature list for details on which plugins I tested this with). This feature is enabled by default but can be disabled in the configuration file.
    • Breaking blocks from a distance! (ranged breaking)
      InstaBreak tool can now breaks blocks at a distance of 200. This feature is enabled by default but can be disabled in the configuration file. It also adds a new permission node.
      Ranged breaking is slow when keeping the mouse button clicked to repeat the action (due to the arm swinging animation). This can be overcome by rapidly re-clicking the mouse button (*click*click*click*click*).
    • Improved the configuration file layout.
      An example can be found in the configuration file section above. In the new file, "config.static.*" nodes are for static settings (which can only be modified manually by editing the configuration file). "config.dynamic.*" nodes are for dynamic settings which can be changed with in-game commands in addition to the configuration file.
      NB! Delete the old configuration file when updating to this version!
    • Code cleanup and smaller improvements.
      Message coloring is now done a little more elegantly. Bedrock breaking feature can now also be toggled in the configuration file (making it usable in servers which do not use the Permissions plugin aswell)
      NB! Changed the bedrock breaking permission node name to "instabreak.bedrock"!
    InstaBreak v1.8, released on June 14th

    • Multi-world support!
      Support for multi-world permissions! Disables InstaBreak mode if player moves to a world where he/she does not have sufficient permissions. InstaBreak mode forced by the "/ib e" command is immune to these restrictions!
    InstaBreak v1.7, released on June 1th

    • Updated the plugin to the first recommended CraftBukkit build for Minecraft beta 1.6
      Due to this the plugin no longer works with older CraftBukkit builds!
    • Fixed the issue which didn't allow breaking bedrock blocks through water blocks
      Also removed the constraint which did not allow instabreaking bedrock blocks at map height > 127
    InstaBreak v1.6.1, released on May 11th

    • Fixed issue of the console being spammed with a "[SEVERE] Could not pass event PLAYER_ANIMATION to InstaBreak"
      However it is no longer possible to break bedrock blocks when standing at a height of 127 or higher
    InstaBreak v1.6, released on May 11th

    • Breaking blocks using the InstaBreak tool gets counted in your Statistics (Times Mined value)
      This does not apply to bedrock blocks and can be disabled in the plugin configuration file
    • Fixed isse with disabling the plugin using a plugin manager
      Players who are in InstaBreak mode no longer keep it after the plugin is disabled
    • Announcement about changed settings (InstaBreak tool and block drops) is no longer server-wide
      Instead it is only shown to players that currently are in InstaBreak mode or who have sufficient permissions to enable it
    InstaBreak v1.5, released on April 18th

    • Implemented bedrock breaking
      Bedrock can now be broken (except the bottom-most layer of the map). This is enabled through a special permission.
    • Changed display message..
      ..which is shown if "/ib enable" or "/ib disable" is attempted on players that have sufficient permissions to toggle it themselves
    • Enabled "/ib info" command..
      ..for players that have been granted the InstaBreak mode with "/ib enable"
    InstaBreak v1.4

    • Added configuration file usage
      Plugin now uses a configuration file to save the important stuff when server "stop"-s gracefully. Configuration file is generated automatically with default values if it doesn't exist.
    • Added Permissions plugin support!
      Using it is completely optional. If it is not loaded the plugin will default to "ops.txt". See abobe for a list of grantable permissions..
    • Changed the overall command structure and added more commands
    • Added option to change the universal InstaBreak tool.
      Either from the configuration file or with in-game command (if sufficient permissions)
    • Added option to disable miniblock dropping.
      Either from the configuration file or with in-game command (if sufficient permissions)
    • Added option to grant InstaBreak mode to ANY player (and list or remove them)
      Done with in-game commands (if sufficient permissions). The target player does not need ANY permissions or special rights.
    • Added option to load the plugin in "static" mode.
      This can be set in the configuration file. It disables all in-game commands and any permissions functionality. All players of the server will be in InstaBreak mode, plain and simple :)
    • Rewrote core logic and general code cleanup.
      Instead of listening to block damage events (as in prior versions) the plugin now listens for player interaction events. Results in improved speed and functionality
    • Fixed breaking of TNT blocks.
      The explosion is no longer triggered upon breaking..
    • Fixed issue with miniblocks not being dropped.
      All blocks (except bedrock :( but I'm working on that) and placed items should now drop miniblocks.
    • Fixed issue with using InstaBreak tool on large chests (2 connected chests).
      There still *might* be errors if the 2 chests are placed using MCEdit tool (and perhaps other map editors).
    InstaBreak v1.3

    • Fixed issue with breaking bedrock blocks
      It shouldn't be possible to break bedrock blocks using this plugin any more
    • Fixed issue with entering the commands from server console
    InstaBreak v1.2

    • Changed command syntax.
      Using just "/ib" displays current status. Enable/Disable is now done via "/ib on" and "/ib off"
    InstaBreak v1.1

    • InstaBreak mode now only applies if player is using a torch (item id 50)
      This is in case other players in the server do not wish to benefit from the InstaBreak functionality for whichever reason. They can keep using their tools the normal way.
    • When plugin gets enabled/disabled it is globally announced
    InstaBreak v1.0

    • Initial version
    Known issues / Future ideas:
    Show issues and ideas (open)
    Known issues:

    • Items which are not breakable by hand (see table here) currently DO get broken. But they WILL NOT drop a miniblock for you to pick up fixed in v1.4
    • Typing in the commands from server console results in errors fixed in v1.3
    • It is in some cases possible to break bedrock (when clicking on a non-bedrock block and then moving cursor onto a bedrock block) fixed in v1.3
    • Using InstaBreak tool on a large chest (2 connected chests) results in an error and client gets disconnected. fixed in v1.4
    • Trying to break bedrock blocks through water doesn't work fixed in v1.7
    • Breaking blocks with InstaBreak tool is not takin into account in Statistics (maybe even a good thing) fixed in v1.6, is configurable
    • Disabling the plugin with a plugin manager (for example PlugMan) disables commands but does not remove InstaBreak mode from any players currently in it fixed in v1.6
    • Ranged breaking does not work through water (or lava) fixed in v2.0
    Future ideas:

    • Add permission support added in v1.4
    • Add ability to choose/change the universal InstaBreak tool added in v1.4
    • Do something with damaging TNT. Currently instabreaks but still triggers explosion. done in v1.4
    • Do something with damaging monster spawners. Currently instabreaks but leaves flame animation.
    • Enable bedrock breaking via special permission and/or configuration setting done in v1.5
    • If "/ib tool" or "/ib drop" commands are used, the status announcement will be made server-wide. This should probably be made to only the players that can actually use the InstaBreak tool fixed in v1.6
    • InstaBreak mode granted with "/ib enable" command is lost upon player reconnecting. Maybe it should persist until disabled manually or server "stop" cancelled until highly requested
    • Add direct download link for only .jar file added since v1.5
    • Multiworld support.. added in v1.8
    • Breaking blocks from a distance added in v1.9
    • Allow players to use any block/tool as the InstaBreak tool added in v2.0
    • Make instabreak tool instakill entities
    • Add in-game commands to toggle ranged and bedrock breaking
    Like this plugin?
    In that case feel free to show your support by making a donation :)
  2. Offline


    Hello, could you make an option so that when a block is broken with this is drops the actual block, such as smoothstone, or glowstone blocks rather than dropping cobblestone and glowstone dust, Thanks
  3. Offline


    @Bluuray: There was no such feature in any version :D
    You don't need to switch to any different tools however. You need to assign 1 InstaBreak tool and then that tool you can have in your hand at all times without switching to anything else at all (or you can switch the tool for AIR which means you can use your bare hand)

    @dbizzzle: Probably not.
    Firstly I don't see a very convenient way of switching back and forth between this mode (as there are currently no player-based options and I wouldn't want to have something like this as a global option). Secondly this really sounds more like something which should be solved with "/give" command instead as there are a high number of cases where this would have bad results (breaking a door for example, or breaking any item instead of a block).
  4. Offline


    @Bluuray @R3ality: What he means is that can it be configured to work with all tools/blokc at the same time?
    Like on Classic(MC)
  5. Offline


    @ocwil: I'm still not sure what you mean but once again: InstaBreak mode works when player is holding the InstaBreak tool (one specific tool) - what block or item this tool is can be changed but the setting is global (server-wide and for all players).
  6. Offline

    Deleted user

    Looks good. Might try it out soon.
  7. Offline


    @R3ality what they're trying to say is once IB is enabled, anything they're holding becomes the tool to use. So if you've got 6 items on your quick bar, any one that you hold in your hand, lets IB work. Ultimately I think he's looking for no item requirements and that anything you use will IB stuff.

    I personally like a single tool (I left it as torches), that way I don't accidentally break stuff when I'm building. Plus when mining I just drop a torch when needed and then keep mining :D
  8. Offline


    Exactly the reasons I made it one certain tool and a torch by default :)
  9. Offline


    Tested with the recommended build for Minecraft 1.7.2 (CraftBukkit #953), seems to work fine!
  10. Offline


    Could you add a second command to activitate the instant break? For example: /superpick or /sp?
    Or can you make a funtion, so that I can choose what to write to activitate the instant break?

    Its not very important but would be nice! :D
  11. Offline


    just curious: now that leaves are obtainable normally, are you going to allow them to be obtained via IB or are you going to keep them out? either way you do I'll either use shears or a torch :D
  12. Offline


    so i believe its 1.7.3 now, it isnt working for me. commands work and it says its enabled for me. and i hit a block with the item it told me to *torch* didnt do anything :(
  13. Offline


    There is no recommended CraftBukkit build advertised for Minecraft 1.7.3 yet, but thanks for reporting..

    EDIT: Supposedly there is some stable build already, I will look into it when I get a chance..
  14. Offline


    hey i got a prob for bearking bedrock :S
    i got the settings on true and i am owner so i got the perm node to do everything '*'
    and the bedrock isnt the bottom layer that i try to break,its the placed bedrock by me i cant break
    i got one plugin related to bedrock and thats flatbedrock maybe it affects the plugin :S?
  15. Offline


    Is there a command to turn off bedrock breaking and ranged breaking? Otherwise I have to shut off the server to save the config... it keeps getting overwritten.
  16. Offline


    if you use permissions, don't give people:
    instabreak.bedrock - allow player to break bedrock blocks.
    instabreak.ranged - allow player to break blocks at a distance.

    they won't be able to break at range or break bedrock.

    if you use just an Op.txt file, you'd have to shut down the server, change the config & save it, then restart the server.
  17. Offline


    Yes, but I'd rather have an option to be able to turn it off and on instead of editing my permissions.
  18. Offline


    @sk17: What CraftBukkit build is the server using? So far I can only confirm the plugin to be working up to #953 as listed in the initial post. As for possibility of being affected by other plugins - yes it is possible. If any other plugin disables the breaking of those blocks then InstaBreak shouldn't break them aswell (due to recently added support for protection plugins)

    @KarnEdge: Currently there is no in-game command to toggle bedrock- or ranged breaking. If for some reason you needed to enable/disable this for a player while the server was running then the method pointed out by ACStache is the way to go.

    As for editing the configuration file - this should not be done for any pluing while the server is running. As for this particular plugin, yes, the current settings get written to the configuration file upon a successful server stop.

    If you still feel there should be a in-game command which toggles this (keep in mind that this setting is global for ALL players) then let me know and I might add it to my to-do list.
  19. Offline


    so it seems I'm unable to break at range while underwater, whether it be I'm underwater and so is the block I'm trying to range break, or when I'm flying above the water range breaking from above into the water. also since you can't really see what you're breaking from underwater to out of water I wasn't expecting that one to work.

    regular IB still works for all those cases however, just ranged being finicky lol
  20. Offline


    I believe it's killing all drops, not just those done by the InstaBreak tool.

    Edit: Actually, it's not anymore - may have been a rare glitch for the plugin, or a server glitch.
  21. Still get these sometimes:

    09:26:07 [SEVERE] Could not pass event PLAYER_INTERACT to InstaBreak
            at com.r3ality.mail.InstaBreak.InstaBreakPlayerListener.breakBlock(
            at com.r3ality.mail.InstaBreak.InstaBreakPlayerListener.onPlayerInteract(
            at org.bukkit.plugin.RegisteredListener.callEvent(
            at org.bukkit.plugin.SimplePluginManager.callEvent(
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(
            at net.minecraft.server.ItemInWorldManager.dig(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(
  22. Offline


    @Joy: What CraftBukkit build?
  23. Offline


    is this compatible with version 1.7.3? if not when will it be?
  24. Offline


    @mahari3 it's working for me on RB1000
  25. Offline


    is this compatible with bukkit 1000? if not when do you think it will be?
  26. Offline


  27. Offline


    Confirming (as mentioned above) that the plugin works fine with CB #1000 which is the recommended build for MC 1.7.3

    @ACStache: Ranged breaking through liquid should be fixed with the next version!

    @Bluuray and ocwil: Added option to use anything the player has in his/her hand as the InstaBreak tool. To use it, tool has to be set to ID 9999 (via in-game command OR config file). Look for the next version soon..

    New version:
    Enjoy! :)

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


    Download link is broken
  29. Offline


    Seems to be working fine. 156 downloads in the past 24 hours..

    The link on the first post still said v1.9 since I forgot to change it. But it still directed to the latest version (it always does)
  30. Offline


    even if it comes late: Thank you for including my bedrock breaking request :)
  31. Offline


    Can I block people from being able to break signs, doors, chests etc. because I'm using LWC to lock stuff, but they can break the locked stuff instantly?

Share This Page