PetalDisconnect
PetalDisconnect 是一款轻量级的客户端工具模组,让你完全掌控如何以及何时从 Minecraft 服务器断开连接。
无论你是需要一键紧急退出、在游戏失去焦点时自动断开,还是可选的智能自动重连功能,该模组都能确保你安全、快速且始终掌握主动权。
✨ 特性
? 快速断开快捷键
使用专用快捷键立即断开与服务器的连接。
非常适合紧急退出、保护隐私或快速切换任务。
注意: 快速断开快捷键的配置路径为:
选项 → 控制 → 键位绑定,而非模组的设置菜单。
? 失去焦点时自动断开
可选择在游戏窗口失去焦点的瞬间自动断开连接。
适合多任务处理者、频繁使用 Alt+Tab 的用户,或希望在不活跃时安全暂停游戏的任何人。
? 可选自动重连
如果启用,模组仅在 PetalDisconnect 自身导致断开连接 时才会自动重连。
正常的断开连接(如服务器踢出或手动离开)绝不会触发自动重连。
⚙️ 游戏内设置菜单
通过 Mod Menu 访问,提供清晰的开关选项:
提醒: 快速断开快捷键仍在 控制 → 键位绑定 中配置。
? 安装
- 安装 Fabric Loader
- 安装 Fabric API
- 下载最新版本的 PetalDisconnect
- 将
.jar 文件放入 mods/ 文件夹
本模组仅适用于客户端——无需安装在服务器上。
? 兼容性
- Minecraft 1.21.1
- Fabric Loader 0.16.7+
- 支持 Mod Menu
- 无需服务端安装
- 与大多数客户端模组兼容
? 工作原理
PetalDisconnect 监听以下事件:
- 窗口焦点变化
- 客户端断开连接事件
- 你的快速断开快捷键
然后基于以下因素智能判断是否断开或重连:
- 你的配置
- 是否由 PetalDisconnect 触发了断开连接
- 是否存在有效的服务器条目
? 配置
你可以通过以下方式配置选项:
- Mod Menu → PetalDisconnect → Configure
- 或直接编辑配置文件:
~/.minecraft/config/petaldisconnect.json
? 致谢
由 PetalCat ❤️ 制作
PetalDisconnect
PetalDisconnect is a lightweight client-side utility mod that gives you full control over how and when you disconnect from Minecraft servers.
Whether you need an instant panic key, automatic disconnects when the game loses focus, or optional smart auto-reconnect behavior, this mod keeps you safe, fast, and in control.
✨ Features
? Quick Disconnect Keybind
Instantly drop your server connection using a dedicated keybind.
Perfect for panic exits, privacy, or quickly switching tasks.
Note: The quick-disconnect keybind is configured under:
Options → Controls → Keybinds, not in the mod’s settings menu.
? Auto-Disconnect on Lost Focus
Optionally disconnects the moment your game window loses focus.
Ideal for multitaskers, frequent alt-tabbers, or anyone who wants the game to pause safely when not active.
? Optional Auto-Reconnect
If enabled, the mod can automatically reconnect only when PetalDisconnect itself caused the disconnect.
Normal disconnects (server kicks or manually leaving) will never trigger auto-reconnect.
⚙️ In-Game Settings Menu
Accessible through Mod Menu, offering clean toggles for:
- Enable Quick Disconnect
- Disconnect on Focus Loss
- Auto Reconnect
Reminder: The quick-disconnect keybind is still configured under Controls → Keybinds.
? Installation
- Install Fabric Loader
- Install Fabric API
- Download the latest version of PetalDisconnect
- Drop the
.jar into your mods/ folder
This mod is client-side only — it does not need to be installed on servers.
? Compatibility
- Minecraft 1.21.1
- Fabric Loader 0.16.7+
- Works with Mod Menu
- No server-side installation required
- Compatible with most client-side mods
? How It Works
PetalDisconnect listens for:
- Window focus changes
- Client disconnect events
- Your quick-disconnect keybind
It then intelligently decides whether to disconnect or reconnect based on:
- Your configuration
- Whether PetalDisconnect triggered the disconnect
- Whether a valid server entry is available
? Configuration
You can configure options through:
- Mod Menu → PetalDisconnect → Configure
- Or directly via:
~/.minecraft/config/petaldisconnect.json
? Credits
Made with ❤️ by PetalCat
评论 0
登录后参与评分
还没有评论,来抢沙发吧