You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would really enjoy it, if you could add a command, you can use to enable/disable that you can only /lock chest, shulker,… when you placed them. I would enjoy, if you could set a Limit that very player could only lock 3 chests, shulker,… using a command like /lock setmax 3
Thank you!
The text was updated successfully, but these errors were encountered:
I mean that would probably necessitate having a configuration file to save whether locking containers that you don't own is enabled or not.
I would also have to save in the container's NBT data who placed the chest. Shouldn't be too hard.
For the other feature you would probably need a database to save how many chests a player has locked. Both features would make the plugin a lot more complex than it currently is. All this plugin adds at the moment is proper event handling for the vanilla lock nbt tag and a way to add the tag with commands so that you can actually use the vanilla lock feature in the game.
I'm a bit hesitant to add the second feature as this is supposed to be a very light-weight and vanilla-like plugin for very small communities that trust each other. If a player locks a chest, it is logged in the console, so if there's a player who is going around locking a lot of chests that he isnt supposed to, an admin can see that in the console and ban the player.
First feature seems like a good idea tho, im definitely considering it :)
And btw sorry for the late answer, i've been a bad dev 😅
earomc
changed the title
Add features
Make a container only be lockable for a player if they placed it + limit to how many containers can be locked.
Aug 13, 2023
I really like the Plugin!
I would really enjoy it, if you could add a command, you can use to enable/disable that you can only /lock chest, shulker,… when you placed them. I would enjoy, if you could set a Limit that very player could only lock 3 chests, shulker,… using a command like /lock setmax 3
Thank you!
The text was updated successfully, but these errors were encountered: