Suggestion Closed · Implemented

[Feature Request] Drop on death

#3330 opened by Unknown 4 years ago

Unknownreported this suggestion

I suggest to add option to turn on and off drop players item on death in config of dungeon.

I suggest to add two options. The first would allow to turn on and off the drop from the player after each loss of lives inside the dungeon. The second would allow to turn on the drop only after the player loses all their lives.

I suggest adding these features, since players will not be able to complete the dungeon if a player with the items necessary to complete it dies and exits the game.

Unknowncommented

The first suggestion can be achieved just with the classic "KeepInventory" gamerule.

However, you present a really good point with the second suggestion. If a player holding a necessary key dies, the key should be dropped at the very least... I'll also implement the "drop items if you lose all lives" option since that'd just be nice to have.

Unknowncommented

FINALLY got this implemented, ended up taking a bit more work than I'd hoped. When a player leaves or loses all lives, their keys are given to one of the remaining players. (Or dropped to the ground of their inventory is full.)

Sign in to join the discussion.