Перейти к содержимому
Mineforgian

Auto Leave

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

Загрузки
89
Подписчики
0
Обновлён
4 июля 2026 г.
Лицензия
MIT

Опубликован 3 июля 2026 г.

📌 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

Ченджлог

1.1.0Релиз1.21.11 · 4 июля 2026 г.

[1.1.0] - 2026-07-04

Added

  • Container Scanning: The mod now scans picked-up Shulker Boxes and Bundles for valuable items.
  • Escape Reports: A chat message summarizing the found items will be printed upon auto-escaping (or queued until you log back in, if using the disconnect action).

Changed

  • Exact Item Counting: Improved accuracy of pickup tracking. The mod now counts actual item amounts divided by their max stack size instead of generic pickup events.
  • UI Cleanup: Removed the redundant enable/disable button from the settings screen (use the G hotkey instead).

Комментарии

Загружаем…