rodeyseijkens / PersonalChest

Bukkit Plugin for Player bound chests
http://forums.bukkit.org/threads/24980/
4 stars 4 forks source link

Player creation of PersonalChests. #5

Open rodeyseijkens opened 12 years ago

rodeyseijkens commented 12 years ago

Make sure there is no dupe item issue here, so only admins could make theasure chests.

IBCodin commented 12 years ago

So this would be something like players being able to create personal chests, so each player could have their own inventory in the chest, but only if there was nothing in the chest when it was 'personalized'?

rodeyseijkens commented 12 years ago

Yes probably just a check if there are contents in the chest, if so you can't create the chest.

This a risky feature dough, because if the player decides to remove the PersonalChest all the contents of those players are removed too then.

So maybe we need to check if all the contents of all the players are empty before the player can remove it.

Maybe later on we can do it with signs so other players will know that they use an player created chest, not like an OP one.

IBCodin commented 12 years ago

Maybe this is just 'more permissions'. One for creating an empty personal chest, one for creating chests with items in them and one more for removing chests. (So you could allow players to create empty ones, but not delete them.)

Checking for 'all shared chests' empty sounds a little bit painful but if it wasn't then a 'remove empty' might make another good permission.

This allows the server owner/admin more control over who can do what in relation to personal chests.