Skip to main content

🎮 Repair Minigame

MMOItemsRepair introduces a rhythmic/timing-based minigame to make equipment maintenance more interactive.

⚙️ Core Parameters (config.yml)

Adjust the difficulty and feedback of the minigame in config.yml.

repair:
minigame:
enabled: true # Enable minigame
animation-speed: 3 # Cursor speed (higher is faster)
timeout-ticks: 200 # 10s timeout

# Repair Efficiency
strong-repair-amount: 50 # % durability restored on Perfect click
weak-repair-amount: 20 # % durability restored on Common click

# Interface Visuals
pattern-size: 12 # Length of the bar
strong-symbol-count: 2 # Number of green slots
weak-symbol-count: 2 # Number of gold slots

# Icons
cursor-symbol: "&e🔨" # Pointer icon
strong-symbol: "&a■" # Perfect area icon
weak-symbol: "&6■" # Common area icon

🎯 How to Play

  1. Trigger: After clicking "Confirm" in the GUI, a game bar appears in the center of the screen with a moving cursor.
  2. Action: Press the interact key (Left-click) when the cursor is in the Gold (&6) or Green (&a) zones.
  3. Outcomes:
    • Strong: Perfect timing. Highest repair result.
    • Weak: Common timing. Partial repair result.
    • Fail: Clicked in the empty zone. Materials consumed, repair fails.
    • Timeout: Failure due to zero response.

[!IMPORTANT] Enabling the minigame makes every repair a challenge! Recommended for high-level gear to add realism.