please add a global variable beds.respawn which is a table that contains indexes of playernames and boolean values. Beds should set the respawn to true on player join, but other mods can later set it to false. If false, beds does not teleport players to their bed when they die. This will allow minigames to function that do something else on player death while players are in a minigame. The minigame can set it back to true when the minighme is over. there are other things like quests that might want to temporarily change respawn behavior
please add a global variable
beds.respawn
which is a table that contains indexes of playernames and boolean values. Beds should set the respawn to true on player join, but other mods can later set it to false. If false, beds does not teleport players to their bed when they die. This will allow minigames to function that do something else on player death while players are in a minigame. The minigame can set it back to true when the minighme is over. there are other things like quests that might want to temporarily change respawn behaviorGood idea, it was added earlier and works fine :) documentation updated also to show feature.