Auto Leave

Quick rating

Auto Leave

No reviews yet

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

Economy & Trade Systems
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
Latest Version
1.1.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

📌 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

Screenshots

Gallery

  • Chat
    Chat after auto disconnect
  • Count
    Count

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works