Minecraft ProtectionsLib mod 2026 download
logo
minecraft mod ProtectionsLib

ProtectionsLib

Game Version: 1.7.4
Total Downloads: 410
Updated: Apr 12, 2014
Created: Apr 12, 2014
Download ProtectionsLibDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
ProtectionsLib-1.0.0 beta 7.46 KB Apr 12, 2014 1.7.4 410 download ProtectionsLib ProtectionsLib-1.0.0 betaDownload

Description

Share this:

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.

  • These builds are not approved by the BukkitDev staff. Use at your own risk.
  • These builds are not offered by Curse.com and they take no responsibility when using these links

    Continuous Integration: http://ci.minezrc.net/job/ProtectionsLib/
    Github Source Code: https://github.com/minnymin3/ProtectionsLib

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);

Comments

Add a comment