Mineuniverse
Log in Register
Plugins

ProtectionsLib

Allows developers to depend on multiple plugins easily
by minnymin3
Download Claim this project
798 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Developer Tools

ProtectionsLib

ProtectionsLib is a WIP plugin that will provide developers with a vault-like interface allowing them to depend on multiple protections plugins (WorldGuard, Towny, Factions, etc.). The library can be downloaded on the left. Version 1.0.0 currently contains protections for WorldGuard, Towny and Factions.

Development

Development builds of this project can be found at this continuous integration server.

Usage

ProtectionsLib's API exists in the main plugin class file.

Fetching ProtectionsLib:

ProtectionsLib protections = null;
Plugin plugin = Bukkit.getPlugin("ProtectionsLib");
if (plugin instanceof ProtectionsLib) {
    protections = (ProtectionsLib) plugin;
}


Currently, there are three checks you can do. Block checking, location checking and pvp checking.

protections.canBuild(player, block);
protections.canBuild(player, location);
protections.canPvp(player, target);


ProtectionsLib-1.0.0
MC 1.7.4
Beta 2014-04-12 Get

More from minnymin3

Simple Health
4,474
Killer Void
3,140
Zephyrus
28,088
Benches
2,507

You Might Also Like

WorldGuard Custom Flags
WorldGuard Custom Flags
97,851
HoloAPI
Advanced and powerful holographic displays
93,959
Minequery
Minequery
91,099
SQLibrary
SQLibrary aims to streamline driver wrappers in Java for every database engine
85,675
WolfyUtilities
Utils and APIs: Config, Language and Inventory API, Protection Utils: WorldGuard, LWC, PlotSquared
84,728
DisguiseTester
Experiment with disguises!
9,677