Repository navigation
Anti‐Exploit‐Protection
LederProtections is designed with anti-exploit protection as a core priority.
The plugin does not trust the client and validates critical operations server-side.
LederProtections protects against many common bypass methods:
- fake protection stones
- GUI item stealing
- GUI item duplication
- pistons crossing protection borders
- fluids crossing protection borders
- explosions from outside
- dispensers affecting protected areas
- hoppers interacting across borders
- redstone interaction
- ender pearls
- chorus fruit
- armor stands
- item frames
- boats
- minecarts
- spawn eggs
- entity interaction
- container access
- external interaction attempts
Protection stones are validated using PersistentDataContainer.
Players cannot create valid protection stones by:
- renaming an item
- copying lore
- using an anvil
- using fake NBT without server validation
GUIs are protected against:
- dragging items into GUI menus
- stealing GUI items
- shift-click abuse
- invalid inventory actions
- client-side manipulation
Pistons are blocked when they try to:
- push blocks into a protection
- pull blocks out of a protection
- move blocks between different protections
- move blocks across protection borders
Mechanisms fully inside the same protection can still work when allowed.
Water and lava are blocked when they try to flow:
- from outside into a protection
- from inside out of a protection
- from one protection into another
Explosions are filtered so protected blocks are not destroyed by external explosions.
This includes:
- TNT
- creepers
- beds
- respawn anchors
- end crystals
- block explosions
- entity explosions
The plugin prevents bypass entry using:
- ender pearls
- chorus fruit
when the target location is protected and the player does not have access.
Protected entities include:
- armor stands
- item frames
- glow item frames
- paintings
- boats
- minecarts
- end crystals
Dispensers are checked when they try to affect protected areas.
This helps prevent external machines from bypassing protection rules.
The economy system prevents:
- negative costs
- invalid costs
- NaN values
- infinite values
- charging when an action cannot continue
- losing money after critical failures
Refunds are attempted when needed.
Protection data uses safe saving and backups to reduce corruption risks.
Admins can bypass protections using:
lederprotections.admin
Only give this permission to trusted staff.