
ProtectorAPI
I don't know my version or loader
ProtectorAPI
An API try to provide a standard protection API.
What can it do?
- Get the protection range that protected by protection plugin
- Check player can place/break/interact the block
- Register flags easily
- You don't need to worry about multiple protection plugins in the server, ProtectorAPI handles it perfectly.
Supported Plugins
- Residence
- Dominion
- HuskClaims (since v1.0.3)
- IridiumSkyblock (since v2.0.0)
- PlotSquared
- WorldGuard
- RedProtect
- BentoBox
- GriefDefender (since v2.2.1)
- BlockLocker
- Bolt
- ChestProtection
- ChestShop (since v1.0.2)
- ExcellentClaims (since v1.1.0)
- FactionsUUID (since v1.0.3)
- FunnyGuilds (since v1.0.3)
- GriefPrevention (since v1.0.6)
- HuskTowns (since v1.0.6)
- Lands
- LockettePro (since v1.0.1)
- LWC (LWCX)
- NoBuildPlus (since v1.0.7)
- QuickShop-Reremake
- QuickShop-Hikari
- ShopChest
- Towny
Usage
See https://lijinhong11.gitbook.io/protectorapi/start/readme
Develop
See https://lijinhong11.gitbook.io/protectorapi/develop/setup
Javadocs: https://javadoc.io/doc/io.github.lijinhong11/protectorapi-api/latest
Develop Examples
Check whether a player can place
Player player = ...;
boolean allow = ProtectorAPI.allowPlace(player);
If you need to check wehether a player can place a block at a location (safer than previous method):
Player player = ...;
Block block = ...;
boolean allow = ProtectorAPI.allowPlace(player, block);
Check whether a player can break
Player player = ...;
boolean allow = ProtectorAPI.allowBreak(player);
If you need to check whether a player can break a block at a location (safer than previous method):
Player player = ...;
Block block = ...;
boolean allow = ProtectorAPI.allowBreak(player, block);
Check whether a player can interact
NOTE: RedProtect didn't have a more general interaction flag, so we uses "redstone" flag to check instead.
Player player = ...;
boolean allow = ProtectorAPI.allowInteract(player);
If you need to whether a player can interact block at a location (safer than previous method):
Player player = ...;
Block block = ...;
boolean allow = ProtectorAPI.allowInteract(player, block);
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 26.1, 26.1.1, 26.1.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as ProtectorAPI-Plugin-2.3.0.jar — drop this file into the mods folder
- Download size: 143 KB
- Download link checked 6 Sept 2026 — working
These come from our own check of the pack file, not from the source page.