This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Safe Creeper interferes with obsidian destroyer plugin2. With safe creeper installed obsidian will never break from creeper explosions (I have destroy world enabled)
What version of the product are you using?1.3.6.9
Do you have an error log of what happened?no
Please provide any additional information below.Without safe creeper installed obsidian will break using obsidian destroyer plugin, with safe creeper installed it overrides obsidian destroyer and obsidian will never break.
Can you post which version of OD you are using along with the config please :) I would like to help with this ticket as well.
Version: '2.9' autoupdate: true Radius: 3 FluidsProtect: true CheckItemId: 38 EnabledFor: TNT: false Cannons: false Creepers: true Ghasts: false Withers: false Durability: Enabled: true Obsidian: 3 EnchantmentTable: 3 EnderChest: 0 Anvil: 3 ResetEnabled: true ResetAfter: 600000 Blocks: ChanceToDrop: 0.7
here's a pastebin of it, easier to read: http://pastebin.com/z2wxtE4r
@drtshock: Go
Hello,
It's great to see you as Obsidian Destroyer developer taking a look at the issue too.
About the problem. It might be a problem with Safe Creeper, Safe Creeper fully recreates the explosions, also known as 'Unknown explosions' or 'Custom explosions' and not regular creeper explosions. If there's a feature in the OD plugin to enable these 'other' or 'unknown explosions' from destroying blocks, that might solve the issue.
Also, I've added you as ticket manager to Safe Creeper, so you can manage this ticket if you'd like to.
Tim Visée
@timvisee: Go
Always happy to help :)
My plugin looks for the ExplosionPrimeEvent and the EntityExplodeEvent which isn't caused when you do the world.createExplosion method. I believe that is the reason that OD doesn't listen to the explosions here.
I'm just curious if this is something that is fixed now or will be fixed soon?
@goflish: Go
No, the issue has not been fixed yet. I'm sorry.
I know that the issue was caused by this. Although, there is no possible way to make bukkit think the explosion was caused by the Creeper. I'm thinking, maybe a little API feature could be added to OD that allows Safe Creeper to hook into it. Once an explosion occurs Safe Creeper can send a message to OD through an API function with the required information like the blocklist, radius, location, cause and so on. @drtshock What do you think about it? @drtshock If you like the idea but you don't like to create a little API in OD I can add an 'Event' to the Safe Creeper API that will give OD the possibility to hook into Safe Creeper and listen to that event. Then, when any explosion will be created by Safe Creeper that event will be called. Using this way you don't have to create any API functions, but then you do have to hook into Safe Creeper. @drtshock If you like any of these above features, please tell me, that would be great :)
I think this is the only way to solve the issue. Of course a listener could be added for any explosion to OD, but the point is that there will be no way to detect what the cause was of the explosion.
I can add a similar thing to Safe Creeper too that 'clones' OD but then build-in inside Safe Creeper, that could fix it of course too. But since it's you're plugin and idea I don't like to clone your plugin and idea's.
I can implement an API into the plugin that would allow you to do this. It would probably take about a week though considering the 1.5 release has kept me busy with other things. Sounds like a good suggestion and I will look into it.
In the meanwhile, you should join my irc channel so we can collaborate on this more. Much easier to talk in irc than over a ticket ;)
Hi, I'm currently at school, I'll try to join the channel when I'm back home. Although I see you posted this 12 hours ago you probably live in a different time zone. I live in GMT +1, but I will give it a try anyway. I expect to be back home again in a few hours.
To post a comment, please login or register a new account.