Give his deadchest to another player
apavarino opened this issue ยท 3 comments
Problem :
Sometime player want to give his deadchest to another player.
Solution :
Give own deadchest to someone else by command (with a new permission node)
Shall it be considered that their might be different options on the command? I can see at least 2 cases that players might use:
- I died, and I want another specific player to get my deadchest that one time only
- I have a friend I trust on a server, and I want them to be able to get my deadchest everytime I die
For a bit more context, let's assume that the player that died is Crylonz and the player that might open the chest is Pandeul
For (1) -> Intuitively it seems like Pandeul should have access only to the last deadchest of Crylonz that was created at the time the command was issued. Meaning that if Crylonz dies between the time he issues the command and the time Pandeul picks up the chest, Pandeul can still open the chest Crylonz authorised him to, without having him be able to open any other chests on the map.
Alternatively, it could also be that Pandeul has the right to open ANY of Crylonz's chests, but only once.
For (2) -> Also need to have the reverse command, shouldn't it? Like if Crylonz sets Pandeul as having the right to get his deadchests but it was a mistake, he might want to remove Pandeul from the list.
Hop this helps the thought process :)