promotional bannermobile promotional banner

ProtectionsLib

Allows developers to depend on multiple plugins easily

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


The ProtectionsLib Team

profile avatar
  • 3
    Followers
  • 9
    Projects
  • 46.4K
    Downloads

More from minnymin3View all

  • MineCalculator project image

    MineCalculator

    • 993
    • Mods

    A simple calculator GUI for Minecraft

    • 993
    • September 4, 2015
    • Mods
  • Zephyrus project image

    Zephyrus

    • 27.9K
    • Bukkit Plugins

    Brings magic into the world of Minecraft with spells and items

    • 27.9K
    • August 27, 2014
    • Bukkit Plugins
    • +4
  • Spell-Bound Book project image

    Spell-Bound Book

    • 5.0K
    • Bukkit Plugins

    Add-on for Zephyrus adding a spellbook that you can cycle through the spells you know and bind them to the book!

    • 5.0K
    • March 7, 2014
    • Bukkit Plugins
    • +1
  • Killer Void project image

    Killer Void

    • 3.1K
    • Bukkit Plugins

    Will kill you the instant you touch nothing!

    • 3.1K
    • November 30, 2013
    • Bukkit Plugins
    • +2
  • MineCalculator project image

    MineCalculator

    • 993
    • Mods

    A simple calculator GUI for Minecraft

    • 993
    • September 4, 2015
    • Mods
  • Zephyrus project image

    Zephyrus

    • 27.9K
    • Bukkit Plugins

    Brings magic into the world of Minecraft with spells and items

    • 27.9K
    • August 27, 2014
    • Bukkit Plugins
    • +4
  • Spell-Bound Book project image

    Spell-Bound Book

    • 5.0K
    • Bukkit Plugins

    Add-on for Zephyrus adding a spellbook that you can cycle through the spells you know and bind them to the book!

    • 5.0K
    • March 7, 2014
    • Bukkit Plugins
    • +1
  • Killer Void project image

    Killer Void

    • 3.1K
    • Bukkit Plugins

    Will kill you the instant you touch nothing!

    • 3.1K
    • November 30, 2013
    • Bukkit Plugins
    • +2