New Ideas for death mechanic
GameGold231 opened this issue ยท 1 comments
Hi, thank you so much for your readiness to help with the Totems of Undying issue I brought up earlier. I had some new ideas pertaining to allowing players to die instead of what is currently implemented.
I had this idea where on PlayerDeathEvent, you could set all players to invulnerable with setInvulnerable, then put them in spectator with setGameMode spectator. This would allow the one player to die while forcing the others out of survival. It might be a good idea to clear inventories now? Not sure. Then we could trigger the new world on PlayerRespawnEvent, then set them back to survival and vulnerable. Let me know what you think!