ImageMaps

ImageMaps

131k Downloads

Cancellable map spawning event

GiraffeCubed opened this issue ยท 2 comments

commented

Hello!

I've been using this plugin as my go-to image map tool for a while now, however, I use it as a donator perk on my server. I've created my own things like per-player map lists etc. but a common problem I have is that players can place the maps in any location, even if they don't have build permission there (via worldguard, griefprevention, etc.). It would be fantastic if there was a cancellable event fired in ImageMaps when someone tries to place an image map, this way I could check mysef if they have permission to build in this location, and if not - cancel the map from being placed.

Thanks!

commented

Thanks so much for this addtion, it's exactly what was needed, thank you!

commented

Done 0fc7586

I haven't put it in a release yet, but I assume you're able to build the latest snapshot yourself. :)