Skip to content

Broadcast System

Strengthen recipes can use actions to broadcast important milestones such as reaching a specific star level for the first time. Broadcasts are usually implemented through CoreLib action lines.

Typical use cases

  • Announce the first time a player reaches a high star level.
  • Play sounds or send titles when a rare strengthen result is achieved.
  • Trigger external quest or achievement commands.

Milestone flags

Strengthen item state records milestone flags so one-time broadcasts do not repeat endlessly when an item is refreshed or rebuilt. Use this for first-reach rewards and announcements.

Example

yaml
stages:
  10:
    actions:
      success:
        - 'broadcastmessage text="<gold>%player% strengthened an item to +10!"'
        - 'sendtitle title="<gold>+10" subtitle="<yellow>Strengthen milestone"'

Best practices

  • Keep global broadcasts for rare milestones only.
  • Use player messages or action bars for common strengthen results.
  • If a broadcast should only happen once, make sure it is tied to the recipe milestone/first-reach flow rather than every refresh.