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
So this does not work well when fighting the ender dragon. It causes the server to crash and its hard to get the server back up. Here is the error I found in logs...
http://pastebin.com/rZQQbj7E
@AntHadeZ
Are you right clicking? Do you have any other plugin using the potato? Do other items work?
yo @oggehej when i switch my thing to a potato it doesn't work
@x_Rayzer
So you simply can use block cracks for aesthetic purposes. That would certainly be possible ;)
Awesome plugin.
It could be very nice if you could add an option to disable the destruction of the block. For example, when there is just 1 durability point on a block, the cracks stay on the block ( and disapear when the options Regen ) but, if something explode and must destroy the block, if the new option is enabled or disabled, the block could not break.
Thank you in advance, and congratulation for your plugin.
@DiamondCraftia
Read the description.
You want to change the value under Blocks > '49' in the config
How do you change the durability of the obsidian?
@MasterMithrandir
Have you tried setting the LiquidMultiplier to -1?
I'm aware of the other problem and it seems to have something to do with stuff that's out of my control. I'll probably have to rewrite some of the code to run it asynchronously.
@oggehej
Obsidian is destroyable through water, but other materials aren't.
So now players will switch to water & any other material.
Any advice on how to balance this situation? Is there some ideal Factions defense-offence balance?
Also, an issue that concerns ObsidianBreaker: https://hub.spigotmc.org/jira/browse/SPIGOT-1462
Hi,
Our server has been crashing very frequently lately, obsidianbreaker is mentioned in the crash log however I cant make out what is actually going on
http://pastebin.com/raw/5VX4M3JE
@ChampMode @BerlingSwe
ObsidianBreaker v2.2 has just been released. It will add functions such as a list of blocks that shouldn't be dropped and void protection (so you can't explode the bedrock just above the void).
@PowerHustlers
From what I found it seems like the plugin was looping through block paths (for the liquid detection system) from an explosion taking place and the server decided that it had stopped responding.
My most probable guess would be that the explosion(s) in question involved a lot of blocks. The liquid detection system may potentially be a resource hog as it's basically drawing a line between the explosion source and every block in the block radius, checking every block if it is a liquid (water or lava).
Hey oggehej
I had a crash last night that may be because of the plugin. Maybe in your free time you can give me an opinion.
http://pastebin.com/NeC9iLHf
Sincerely, FactionHustlers
Works great!
Im With @BerlingSwe Because on my factions server bedrock is a donators perk and if natural generated bedrock can be broke then non donators on my server and even the donators can just break the bedrock with the tnt from the kits
Ok, So this is still and issue, however i think i have it pretty much figured out as an issue. Where the data for each block in a chunk has the number to tell what the health of the block is. It doesn't matter if you have block cracks enabled. After a while of raiding and many blocks with data that chunks will become over loaded. Mobs wont work and tnt wont blow.
If there is anyway to fix this please try. Its a wonderful plugin.
Let me know
Skype:PowerHustler
Server:FactionHustlers.US
@PowerHustlers
Yes, this happened to me, also this plugin seems to corrupt chunks also (not entirely they get fixed after restart) I cannot 100% confirm blame to this plugin but after I switched to (let's just say not latest version) obsidiandestroyer people had no more problems with corrupted chunks. Problem can be seen here: https://www.spigotmc.org/posts/997964/ When people have home inside such chunks, they can't teleport to it. Developer take a look at it, 99% your plugin is causing. It used to happen every day and now with new plugin it didn't happen once yet.
@BerlingSwe
In that case I'd recommend not to give your players bedrock, and use some other block instead.
Hi! Could you make a way so that natural generated blocks cant be blown up with tnt? for example you should not be able to blow up natural genned bedrock because it ruins factions. Thanks!
@PowerHustlers
The crack effect is broadcasted every 10th second by default (check BlockCracks.Interval), which means the clients will only be updated every 10th second. So just wait and see if it appears after a while, and lower the time it if you want (broadcast is running on a separate thread). I will do something about it soon. It's just that... Procrastination...