Mineuniverse
Log in Register
Mods

Bed Bugs

Adds some tools to kick the player when sleeping, fixing the vanilla bug of being stuck in a bed. Also adds chat persistence upon awakening.
by gr8pefish
Download Claim this project
14,927,025 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Miscellaneous

Bed Bugs


A simple mod that adds some tools (such as a button to the sleeping GUI and a command), allowing a player to kick themselves from the server (and therefore their bed).

 

This fixes the annoying issue of being stuck in a bed, a vanilla Minecraft bug, without having to completely restart the game.

 

Also adds persistent chat, allowing you to continue typing, uninterrupted, after waking up from a bed (another vanilla "bug").

 


 

Kick Button 

(Requires Bed Bugs to be installed on the client)

When you typically press 'Leave Bed', that is exactly what you expect to happen. And, assuming that is the case (as it usually is), then this mod won't do a thing, staying nice and unobtrusive.

If however, you press the 'Leave Bed' button and you don't leave the bed, a button will pop up, allowing you to kick yourself from the server. 

  • If you were playing Singleplayer
    • You will be redirected back to the Singleplayer world selection screen.
  • If you were playing on a server
    • You will be redirected back to the Multiplayer server selection screen.

The button also has a tooltip describing its actions in-game, to explain what it does when clicked. It will appear after hovering your mouse over the 'Kick Me' button for a short while.

 

 

Here's a quick [0:17] video demonstration. Note that the player goes from being stuck in a bed to back in-game ready to play in only 5 seconds.

*The 'Leave Bed' button not working as it normally does is just some temporary code I used  to make this video possible.


Kick Command

(Requires Bed Bugs to be installed on the server if using a dedicated server/playing Multiplayer)

Bed bugs just adds one command (with tab completion).

/bedbugs kick [player]

This kicks the player specified. If no one is specified, it will attempt to kick the command sender.


Persistent Chat

(Requires Bed Bugs to be installed on the client)

Typically, if you start typing a message in chat, and then finish sleeping and wake up, your message disappears forever. Bed Bugs fixes that, allowing any half completed messages to stay so that you don't have to retype anything.

 

 


 

Client/Server Side Only

You don't necessarily have to install Bed Bugs on both the client and the server. You will probably just want to install it on both, but here are the details for those interested:

  • Client (with Bed Bugs) -> connecting to -> Server (with Bed Bugs)
    • The button, command, and chat persistence work.
    • Probably the best and simplest option.
  • Client (with Bed Bugs) -> connecting to -> Server (without Bed Bugs)
    • Only the button and chat persistence work.
    • Useful as any client can connect and still use the button without the server needing to add any mods.
  • Client (without Bed Bugs) -> connecting to -> Server (with Bed Bugs)
    • Only the command works.
    • Useful as the command can still be used to escape from beds, and it doesn't require the client to install any more mods.

Bug Reports

  • Please report them on the issue tracker. Feedback and feature requests should also be directed there. 

Open Source


Modpacks

  • Yes please, feel free to include this in any normal, non-monetary (i.e. EULA-compliant) modpack. All I ask is that you provide me feedback if you have any (both good and bad). Thanks, and enjoy!

Contact Me

  • What works best for me is either through the messaging system here on CurseForge, or on esper.net IRC on channel #gr8pefish, or on the typical modded MC Discord channels (e.g. MMD).

Donation

  • If you like my work and want to help out, please consider donating. I would sincerely appreciate it and could definitely use the support! Thanks :)

Image result for support me on patreon image

  

Check out my other mods!

BedBugs-1.12-1.0.1.jar
MC 1.12, 1.12.2
Release 2017-06-29 Get
BedBugBuster-1.10.2-1.0.0.jar
MC 1.10.2
Beta 2016-12-03 Get

More from gr8pefish

Open Glider
8,997,760
Portable Crafting
5,905,276
Iron Backpacks
58,711,892

You Might Also Like

LoadingTips
A mod that adds custom tips to the loading screen
999,218
Sampler
Performance oriented debugging/administration tools
998,926
VulkanMod
Vulkan renderer mod for Minecraft.
997,115
Charm Fixer
Disables some modules on charm to fix incompatbility issues with owo
996,251
Trading station
Basic items to item trading machines
99,755
NarrateBookForMe [FABRIC]
Adds a narration keybind, and two GUI buttons to the book screen. Text-to-speech (tts) / narration on the go! Client sided.
99,734