ObsidianBreaker
Obsidian Breaker
What is this?
This is a plugin that allows players to destroy obsidian, ender chests, enchanting tables or custom blocks with TNT and creepers among other things after a set amount of explosions. Really useful for faction servers.
It will also display cracks on the block depending on the remaining health of the block (optional).
How to use it?
You're ready to roll, just drop this in your plugin folder. You may however consider changing the default configuration.
How to configure it then?
Permissions
obsidianbreaker.test | Allow user to test the durability of a block using the specified tool |
obsidianbreaker.reload | Allow user to reload the config using /ob reload |
Configuration
BlastRadius | How large the blast radius should be. (Only applies to this plugin) | |
LiquidMultiplier | How many times harder it should be to damage the block if there's water there. | |
DurabilityChecker | Specify which item should be used to check the damage on the block. Stick (280) is default. | |
VoidProtector | Makes sure that blocks on y=0 don't explode, leaving holes into the void. | |
BedrockBlocking | Defines if blocks handled by this plugin shouldn't take damage if they're behind bedrock. | |
DisabledWorlds | List worlds that aren't affected by this plugin. | |
Drops | DropChance: How big chance (in percent) is there that a broken block will give drops. Default in Minecraft was 30 %. DontDrop: List of blocks that shouldn't be dropped by the plugin (such as bedrock) | |
Blocks | Specify which items this plugin applies to and the required amount of hits (item id): (required hits) | |
Regen | Frequency: How often blocks should regenerate in minutes. Set to -1 if you want to disable. Amount: How many hits the block should regenerate | |
BlockCracks | Enable: Set whether block cracks are enabled or not. Interval: How often the server should refresh the client (no more than 15 seconds is recommended!) | |
ExplosionSources | Specify how much damage a specific explosion source should make to blocks handled by this plugin (entity name): (damage) |
Anything else
If there's anything wrong, anything missing or another thing that didn't make you satisfied, please consider opening a ticket or leave a comment here below.
GitHub
Donate
@wilbree2
I need a little more information than that. Which server software (+version/build) are you using? Any host/panel? Is the config reset under any specific circumstances?
Every so often the config is reset! Please Fix This!
@thomas256
The plugin is, as it is right now, only intended to break blocks normally unbreakable. I'll see what I can do, and hopefully it can be added in the next update.
Plugin doesn't seem to like Enderstone (ID: 121).
I right-click with the durability checker and it states 5/5 One explosion later, it explodes.
Would be great if you could fix.
@oggehej
Thank you
@getout35
My fault, compiled it with Java 8, and you're running 7. The latest release (ObsidianBreaker v1.2) should work for you.
Can you help me with this: http://pastebin.com/wiYz67Wd Plugin does not loading. I am runnig Spigot 1.8.1
@CadeCEB
Will add so you can specify how much damage creepers will do.
Also, you don't wanna create a new hashmap every time an explosion occurs. This plugin uses a similar method. The difference is that it this plugin will do the math itself rather than relying on a list with possible locations. https://github.com/oggehej/ObsidianBreaker/blob/master/src/com/creeperevents/oggehej/BlockListener.java#L20
@oggehej
Could you add a few features that I went over in this thread? Already has most code laid out in pastie! http://bukkit.org/threads/basic-guide-on-obsidiandestroy-plugin.331858/#post-2973749 http://pastie.org/9823129
@N1ghtFire15
Durability checks and block regeneration have now been added (version 1.1) ;)
@N1ghtFire15
Agreed! :D
I really like this plugin! Maybe you could add a way to check the durability of the obsidian using a configurable item? Also, it would be cool if over time the obsidian regenerated. For example, if it took 5 blasts to break obsidian, and the obsidian was at 3/5 blasts. 10 minuets later the obsidian would be 2/5 and so on.
Please keep updating!