Skip to main content

đŸ“ĸ Announcements & Feedback

MMOItemsUpgrade includes a system for server-wide feedback to enhancement the player's sense of achievement.

🌍 Server-wide Broadcasts​

Triggered upon reaching milestone levels (e.g., +10).

  • Item Hover Preview: The {item} variable allows other players to hover over the chat message to see the item's new attributes.

🏆 Achievement Toasts (1.12+)​

Uses the native Minecraft toast notification system in the top-right corner.

  • frame: Supports TASK, GOAL, CHALLENGE.
  • icon: Customizable icon (e.g., NETHER_STAR).

🎭 Personal Feedback​

  • Titles/Subtitles: Success/failure messages centered on screen.
  • Sounds: Supports vanilla sounds (e.g., ENTITY_PLAYER_LEVELUP) or custom keys from resource packs.

📄 Multi-level Announcement Case​

# In contents/notify.yml
notifications:
# +3: Only personal Title
level-3:
level: 3
title:
enabled: true
title: "&aBasic Upgrade"
subtitle: "&7Keep it up..."
# +10: Holy Broadcast + Preview + Toast
level-10:
level: 10
broadcast:
enabled: true
messages:
- "&6&l[Legend] &f{player} forged the max-level weapon: &f{item} &6&l!"
preview:
enabled: true
hover: "&dClick to preview the server's strongest weapon"
toast:
enabled: true
icon: "NETHER_STAR"
frame: "CHALLENGE"