Vertusix Posted February 13, 2013 Posted February 13, 2013 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.
Teraku Posted February 13, 2013 Posted February 13, 2013 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.
Vertusix Posted February 13, 2013 Author Posted February 13, 2013 Can you tell me a name of this plugin?
Teraku Posted February 13, 2013 Posted February 13, 2013 I think either WorldGuard or one of the plugins bundled with PermissionsEX can do that.
FanaticNinja Posted February 13, 2013 Posted February 13, 2013 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.
Cakestory Posted February 13, 2013 Posted February 13, 2013 @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)?
FanaticNinja Posted February 13, 2013 Posted February 13, 2013 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.
Cakestory Posted February 13, 2013 Posted February 13, 2013 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. :(
FanaticNinja Posted February 13, 2013 Posted February 13, 2013 I am not opposed to releasing it, currently its in its infancy and requires a lot more work.
Cakestory Posted February 13, 2013 Posted February 13, 2013 Ok. Take your time. If you ever release it please pm me on this forum :)
FanaticNinja Posted February 14, 2013 Posted February 14, 2013 Ill just create a page for the plugin now, expect a very basic release by the end of the week. http://dev.bukkit.org/server-mods/hexrestrict/
FanaticNinja Posted February 14, 2013 Posted February 14, 2013 The latest version of MCPC+ adds BlockPlaceEvent for items that bypass onItemUse. Which fixes microblocks, and a few other custom tekkit stuff in claim plugins.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now