I want a plugin that allows me to set up specific chests so their insides may be viewed but nothing can be placed inside them and nothing can be removed from them (The owner still can). Either have it set up through signs or just straight commands. Having both options would be nice too. is this impossible to do? I hate it when nobody answers my requests... :/ EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Like if you had items in your chest and wanted people to be able to see it but not take it? If this is what you mean that is actually a pretty good idea for a plugin!
well right now. But if there was a plugin like i mentioned then it wouldnt be empty. But at the same time the items wouldnt be stealable
If anyone wants to do this, try listening for the InventoryClickEvent, and if a view-only chest is open, deny the click with setCancelled(true) and setResult(Event.Result.DENY). This would prevent players from taking items from the chest, should be easy. The part which I'm not quite sure how to best implement is determining which chest is protected. Anyone want to give this request a shot?
Vanishnopacket has a any chest permission which allows access to any chest but you can't edit the stuff may e implement this into allowing own chests
You could do the good ol' sign underneath technique. Or /command then click (onBlockBreak removes). Either one would work fine. I'd take this up, but I'm fearful of the feature requests that would follow maintaining it.
just checked and yes it does! though everyone would need to have the lwc.mod perm node for this to word :/ this sucks if u dont want to use permission plugin on the server (just default to the OP system)
I have a permission plugin and everything but the problem is I use Lockette and the fact I have many players on at different times would be complete havoc to switch over. It would be easier just to have a plugin that links into other locking plugins that does this.