Bed Bugs
一款简单的模组,添加了若干工具(例如在睡眠 GUI 中增加一个按钮和一个命令),允许玩家将自己踢出服务器(从而离开床铺)。
解决了令人困扰的卡在床里的问题——这是一个Minecraft 原版漏洞,而无需完全重启游戏。
此外还增加了持久的聊天输入功能,让你从床铺醒来后能够继续不间断地打字(这也是另一个原版“特性”)。
踢出按钮
(需要在客户端安装 Bed Bugs)
当你通常按下“离开床铺”时,预期的效果就会发生。并且,假设情况确实如此(通常情况下是这样),那么这个模组将不会进行任何操作,保持安静且不显眼。
但是,如果你按下“离开床铺”按钮却没有离开床铺,将会弹出一个按钮,允许你将你自己踢出服务器。
- 如果你正在玩单人模式
- 您将被重定向回单人世界选择界面。
- 如果您正在服务器中游玩
- 您将被重定向回多人服务器选择界面。
该按钮还带有一个工具提示(tooltip),用于描述其在游戏内的操作,以说明点击时的具体功能。在鼠标悬停在“踢出我”按钮上片刻后,该提示将会显示。
这里有一个 [0:17] 的演示视频。请注意,玩家从卡在床里的状态恢复到可以正常游玩的游戏内状态仅用了不到 5 秒。
*“离开床”按钮无法正常工作,这只是我为了制作此视频而使用的临时代码。
踢出命令
(如果使用的是专用服务器或多人游戏,则需要在服务器上安装 Bed Bugs 模组)
Bed bugs 仅添加一个命令(支持 Tab 补全)。
/bedbugs kick [player]
此命令将踢出指定的玩家。如果未指定任何玩家,则尝试踢出执行命令的玩家。
Persistent Chat
(需要在客户端安装 Bed Bugs)
通常情况下,如果你在聊天框中开始输入消息,然后睡觉并醒来,你输入的消息就会永远消失。Bed Bugs 修复了这个问题,允许任何未完成的半截消息保留下来,这样你就不用重新输入任何内容。
仅客户端/服务端
你并不一定需要在客户端和服务端都安装 Bed Bugs。你可能只想在两端都安装,但以下是感兴趣者的详细说明:
- 客户端(有 Bed Bugs) -> 连接至 -> 服务端(有 Bed Bugs)
- 按钮、命令和聊天持久化功能均有效。
- 这可能是最佳且最简单的选项。
- 客户端(有 Bed Bugs) -> 连接至 -> 服务端(无 Bed Bugs)
- 只有按钮和聊天持久化功能有效。
- 由于任何客户端都可以连接并使用该按钮,而服务端无需添加任何模组,因此这一配置很有用。
- 客户端(无 Bed Bugs) -> 连接至 -> 服务端(有 Bed Bugs)
- 只有命令有效。
- 由于命令仍可用于从床上逃离,且不需要客户端安装任何额外模组,因此这一配置很有用。
错误报告
- 请在 问题追踪器 上报告。反馈和功能请求也应发送至此处。
开源
整合包
- 是的,请随意将其包含在任何正常的、非盈利的(即符合 EULA 的)整合包中。我只希望你能提供反馈(无论是好是坏)。谢谢,玩得开心!
联系我
- 对我来说,最方便的联系方式是通过 CurseForge 上的消息系统、esper.net IRC 的 #gr8pefish 频道,或者常见的模组化 Minecraft Discord 频道(例如 MMD)。
- 如果你喜欢我的作品并想要支持我,请考虑进行捐赠。我会非常感激,也非常需要您的支持!谢谢 :)

捐赠
查看我的其他模组!
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 :)

Check out my other mods!
下载 Bed Bugs
下载 Bed Bugs
下载 Bed Bugs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bed Bugs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bed Bugs
下载 Bed Bugs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Bed Bugs
下载 Bed Bugs
下载 Bed Bugs
下载 Bed Bugs
版本 1.12 - 1.0.1:
新增内容
- 无
更改
- 提升版本号以避免与 CurseForge 冲突
Bug 修复
- 无
查看所有 1.12 版本的更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧