PetalDisconnect
A lightweight quick-disconnect mod that triggers instant disconnects via keybind or focus-loss detection.
介绍
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
.jarinto yourmods/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
常见问题
PetalDisconnect 支持哪些 Minecraft 版本?
PetalDisconnect 支持 Minecraft Java 版 1.21.10,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
PetalDisconnect 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分