This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi.
First of all, great plugin, it is extremely helpful. Would you be willing to integrate WorldGuard protections? It should be pretty simple, something like this:
... // signLocation - the location of the sign to be edited // player - the player who issues the command Plugin plugin = getServer().getPluginManager().getPlugin("WorldGuard"); if (plugin != null && plugin instanceof WorldGuardPlugin) { WorldGuardPlugin worldGuardPlugin = (WorldGuardPlugin) plugin; if (!worldGuardPlugin.canBuild(player, signLocation)) { // player is not allowed to edit the sign! } } ...
Thanks, hellboyPS
Sorry for the delay.
3.3.4 adds an option to fire Block Break/Place events, this should allow WorldGuard to catch the event and cancel it if the player doesn't have access to break/place blocks there.
Great. Gonna give it a shot right now. Our community will love this :)
To post a comment, please login or register a new account.