⛔ ProtectionLib | Ensure your players can build icon

⛔ ProtectionLib | Ensure your players can build -----

A shaded library to unify WorldGuard, Towny, Factions and other protections API



This library provides two methods:
Code (Text):

ProtectionLib.canBuild(player, location)
ProtectionLib.canBreak(player,  location)
 
To use this lib:

1) Add the jitpack repo
Code (Text):

maven { url 'https://jitpack.io' }
 
2) Shade ProtectionLib to your plugin
Code (Text):

implementation 'com.github.oraxen:protectionlib:master-SNAPSHOT'
 
3) Init ProtectionLib in your plugin onEnable()
Code (Text):

ProtectionLib.init();
 
4) Add softdepend to plugin.yml
Code (Text):

   softdepend: [ WorldGuard, Towny, Factions, Clans ]
 
You can now use ProtectionLib#canBuild(player, location) and ProtectionLib#canBreak(player, location) in your plugin.
Resource Information
Author:
----------
Total Downloads: 465
First Release: Aug 6, 2021
Last Update: Aug 9, 2021
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings