Skip to content

Auto Leave

Automatically runs a command or disconnects to save your loot the moment you pick up specified valuable items.

Fabric
Loaders
Fabric
Downloads on Modrinth
209
Followers on Modrinth
0
versions
3
Updated
July 4, 2026Jul 4
Published
in 2026
Count · swipe

At a glance

Runs on Fabric
For Minecraft 1.21.4, 1.21.11
Client only — no need to install it on the server
Latest version — 1.1.0 from July 4, 2026
License MIT — free
Where it's needed
In gamerequiredOn servernot needed

Install in the game only; not needed on the server

Game versions1.21.4, 1.21.11

📌 LeaveGuard (Auto Leave)

A smart, automated safeguard for your valuable loot. Instantly escapes to the hub or disconnects from the server the moment you collect your targeted rare items!


✨ Features

  • 🎯 Target Collection — Specify exactly which valuable items (and how many of them) you want to trigger the escape sequence.
  • ⚡ Instant Escape — Automatically runs a command (e.g., /hub, /spawn) or forcefully disconnects from the server as soon as the target item is safely in your inventory.
  • ⏱️ Custom Delays — Add a customizable extra delay (in milliseconds) before escaping to ensure the server has fully registered the item pickup and avoid rollbacks.
  • 🖥️ Interactive Settings — A clean, easy-to-use in-game configuration menu to quickly select your valuable items from a list of everything in the game.
  • 🛡️ Safe Grinding — Perfect for anarchy servers or high-risk areas. Grab the loot and vanish before anyone can stop you!

⚙️ How it works

The mod constantly monitors your inventory. You simply select a list of "valuable" items in the settings and set a required quantity. The moment you pick up those items and reach the required amount, the mod waits for your specified delay (to guarantee server sync) and then immediately triggers the escape action, pulling you out of danger.

🛠️ Configuration & Commands

  • Config: Fully integrated with ModMenu for easy in-game setup. You can also edit config/leaveguard.json directly.

    • Choose your valuableItemIds (e.g., minecraft:nether_star, minecraft:diamond).
    • Set pickupTarget (how many items you need to trigger the escape).
    • Adjust extraDelayMs (delay before escaping, useful for ping compensation).
    • Change action (COMMAND or DISCONNECT).
    • Set your custom command (like /hub or /home).

🚀 Installation

  1. Install Fabric Loader for Minecraft 1.21.4 or 1.21.11.
  2. Install the necessary dependencies:

    • Fabric API
    • ModMenu (optional, but highly recommended for the config screen)

📩 For questions and bug reports: Telegram / Discord — @b1nt1n

FAQ

How to install Auto Leave?

Install Fabric for your Minecraft version, download Auto Leave for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Auto Leave support?

Auto Leave has builds for Minecraft 1.21.4, 1.21.11.

Is Auto Leave needed on the server?

Client only — no need to install it on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More