HyRepair

Allows players to repair the item they are currently holding using a simple command, with configurable limits and permission-based access.

File Details

HyRepair-1.1.2.jar

  • R
  • Feb 14, 2026
  • 40.35 KB
  • 83
  • Early Access

File Name

HyRepair-1.1.2.jar

Supported Versions

  • Early Access

Added

  • /autorepair toggle: automatically repairs the held item when it reaches the configured threshold.
  • /autorepairall toggle: automatically repairs all items in inventory when they reach the configured threshold.
  • Toast notifications (Hytale notifications guide):
    • Repair success toast (with item icon)
    • Repair fail toast (RPG mode)
    • AutoRepair performed toast
    • Repair All summary toast: "Repaired X, failed Y" (single toast only)
    • Optional toggle toasts for AutoRepair / AutoRepairAll (enabled/disabled)
  • RepairMenu UI buttons:
    • Repair Held Item
    • Repair All
    • AutoRepair (On/Off)
    • AutoRepair All (On/Off)
    • Close
  • Percent-based AutoRepair threshold:
    • AutoRepairThreshold: 10 now means 10% of max durability remaining (not "durability = 10").
  • Optional feature: AutoRepair can use RPG repair rules (success chance + durability loss on fail) via config.

Fixed

  • RepairMenu UI import path fixed (relative Common.ui import), improving UI reliability.
  • Reduced UI "stuck/loading" behavior by using non-locking event bindings.
  • Prevented potential inventory-change event loops during auto-repair using an internal mutation guard.
  • Fixed build-breaking Java typos/stray code in HyRepairPlugin.java (the "toastWit" / stray "hItemName(…)" issue).

Remade / Changed

  • Removed chat success/fail messages for:
    • /repair (success & RPG fail)
    • /repair all summary -> these now use toasts instead.
  • Improved repair toasts to include the held item name (better for custom items).
  • Standardized /repair all toasts to one final summary instead of per-item spam.
  • Updated config defaults and expanded config keys to support new toasts, toggles, and percent threshold behavior.