Jump to content

Recommended Posts

Posted

Hello! I have a small problem with microblocks. It wasn't working with world guard. Players can place microblocks anywhere, on cuboids too. If anyone have a plugin, who are repairing microblocks, please post it in this topic. Thanks for help.

Posted

Microblocks work differently from other blocks because different events are passed when Microblocks are placed. I suggest you either disable microblocks, or disable not only placing, but also using microblocks in protected areas. There's plugins to prevent using certain items in protected areas, should work for Microblocks too.

Posted

I had this issue as well, where people could place microblocks all over protected spawn. No plugins worked with this.

Microblocks are passed on an ItemUse event in bukkit, you need to create an EventHandler to listen for that event, and match the id/meta with the mircoblocks.

Currently I achieved this with custom bukkit plugins for my server. Where players can't place microblocks inside other peoples claims.

Posted

@FanaticNinja

Could you explain a bit more how you protect them from placing microblocks?

Do you need to manually add the ids in griefprevention?

If so, did you put them in the mod section of the config (accesstrust or containertrust)?

Posted

I had to create a custom bukkit plugin in Java (im using mcpc+ build to allow bukkit for tekkit lite).

It is a custom plugin that works with greifprevention for the claims, and i allow or disallow certain blocks in or out of claims.

As said before the microblocks are not a BlockPlaceEvent, it is a ItemUse event.

I am also playing with the Mining Laser, it might (doubtful) be possible to disallow use on claimed areas.. that is a separate can of worms though.

Posted

Are you going to publish this plugin?

If i had an idea of bukkit programming or java i would create my own plugins for such things to but i only know Pascal and a bit Lua. :(

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...