-
Bug
-
Resolution: Unresolved
-
None
-
1.15.2, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16.1, 20w27a, 20w29a, 20w30a, 1.16.2 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w48a, 20w51a, 21w11a, 21w15a, 21w17a, 1.17, 1.17.1, 21w39a, 1.18, 1.19.1 Pre-release 4, 1.19.1 Release Candidate 2, 1.19.1, 1.19.3, 1.19.4 Release Candidate 2, 1.19.4, 1.20 Release Candidate 1, 1.20, 1.20.2 Release Candidate 1, 1.20.2 Release Candidate 2
-
None
-
Confirmed
-
Player
-
Normal
-
Gameplay
What is a "bed ban"?
A "bed ban" is when a griefer on a server locates the bed of another player and traps it so that the next time the player dies, the player will repeatedly die immediately after respawning. The victim is unable to continue playing (unless rescued by another player) because he/she is trapped in an infinite death cycle. Often bed bans will have the victim respawn inside an obsidian box and then be killed before he/she has time to break any blocks.
The bug
Recently, MC-176640 was fixed to try to solve this issue, but it did not completely eliminate bed bans. The "Possible Solutions" section of this report compares different ways that this issue could be solved and includes a solution that would be effective against all bed ban designs (except if the doImmediateRespawn game rule is set to true).
To reproduce
I've attached a world to this report that contains 3 designs for bed bans that still work despite the fix of MC-176640. The designs are:
- Drowning bed ban (see MC-187495)
- Piston & lava bed ban
- Pufferfish bed ban
Download the attached world, unzip it, and put it into your saves folder. Open the world in the latest version of Minecraft. Set your gamemode to survival. For each design, right-click on the bed to set your spawn point and then press the button on the command block to die. You will respawn inside the trap. Observe that you repeatedly die before you are able to break any blocks and that it is impossible to escape. When you are ready to test the next design, change your gamemode to spectator to exit the trap and then change your gamemode back to survival.
Possible Solutions
Name |
Description |
Considerations |
---|---|---|
Make Dangerous Blocks Obstruct Beds | Blocks that harm players could be added to the list of blocks that players are not able to respawn on. If all of the blocks near a bed are obstructions, then the player will respawn at world spawn. This is the solution that was chosen to fix |
|
Detect Frequent Respawning | The game could detect when a player dies multiple times in a short amount of time and then automatically respawn the player at world spawn instead of at his/her bed. | This would likely have many false positives, where the player was not actually trapped in an infinite death cycle. For example, a player might die repeatedly while playing a minigame, and the player would be annoyed to suddenly respawn at world spawn instead of at the bed in the minigame. |
Add "Respawn at World Spawn" Button | A new button called "Respawn at World Spawn" could be added to the death screen. After dying, the player would have the choice between clicking "Respawn" to respawn at his/her bed (if a spawn point has been set) or "Respawn at World Spawn" to respawn at world spawn. |
|
Add "Reset Spawn Point & Respawn" Button | A new button called "Reset Spawn Point & Respawn" could be added to the death screen. After dying, the player would have the choice between clicking "Respawn" to respawn at his/her bed (if a spawn point has been set) or "Reset Spawn Point & Respawn" to permanently change his/her spawn point to world spawn before respawning. The player would need to right-click his/her bed again if he/she wants to start spawning there again. |
|
Credit
I first heard of the concept of a "bed ban" by reading MC-174361, which was created by Nieke.