Brianetta / StickyLocks

New locking plugin for Bukkit. Database/UUID/tool/command driven (default tool is a stick).
GNU General Public License v3.0
4 stars 3 forks source link

Locked items can be broken by other players #18

Closed andrewamidei closed 3 years ago

andrewamidei commented 3 years ago

other players have been able to break locked chests to get items and break and replace items to unlock them.

Brianetta commented 3 years ago

StickyLocks prevents unauthorised players from opening locked items, but does not prevent them from breaking them. This is by design, to allow server administrators to separate locks from physical protection.

For example, a Factions PVP server might have areas where a faction's blocks cannot be broken, but where these areas can change as PVP battles take place. In this case, allowing the attackers to break open doors and chests as they become vulnerable is desirable.

If you want the locks on your doors and chests to also protect those doors and chests from an axe, you will need to install an additional plugin to accomplish this. I have published a companion plugin that can do this, but it's very simplistic. Ordinarily I would recommend that you protect blocks from destruction using plugins such as WorldGuard, GriefPrevention, Towny, Factions, UltimateClaims, etc.

andrewamidei commented 3 years ago

Ok, Thank you!