
PetalDisconnect
A lightweight quick-disconnect mod that triggers instant disconnects via keybind or focus-loss detection.
About this Mod
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
Available Versions
How to Install PetalDisconnect on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.10).
Install Mod
Open the mod browser in the dashboard and search for "PetalDisconnect". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.10
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
PetalDisconnect server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.10). You can switch loaders with one click in the panel.
Is PetalDisconnect compatible with fabric?
PetalDisconnect officially supports fabric for Minecraft 1.21.10. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with PetalDisconnect – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if PetalDisconnect consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install PetalDisconnect with just one click on your server.