I have successfully hooked into LWC. I'm creating a plugin, that allows you to unlock all your chests at once, and also only lets you lock a chest if you are a specific race on the server. So I need two things: Listen to when a successfully locks a chest Unlock all chests with LWC Anyone have any experience with listening to LWC, or know any smart shortcuts to solve this?
Wituz https://github.com/Hidendra/LWC/blo...ripting/event/LWCProtectionRegisterEvent.java For your first, as for your second, I don't believe that you can get all the known protections of a Player without iterating through its entire storage (may be wrong).
xTigerRebornx I thought of listening to when a chest have been made, then keep a list of the chests like LWC does and then clean the chest and unlock them when the player wants to Thanks for the quick answer I'm not able to register my events: They don't fire. See the screenshots below It does not say "hallaw" Hidendra ? :| EDIT by Moderator: merged posts, please use the edit button instead of double posting.