Milestone Actions
Actions in milestones
Milestones can run any normal EventForge action.
milestones:
enabled: true
thresholds:
25:
display-name: "&e25 Points"
once-per-player: true
actions:
- type: MESSAGE
message: "&aYou reached &f{milestone_display}&a!"
- type: SOUND
sound: ENTITY_PLAYER_LEVELUP
volume: 1.0
pitch: 1.2
You can also use animated actions:
milestones:
enabled: true
thresholds:
50:
display-name: "<gradient:#22d3ed:#ffffff>50 Points</gradient>"
once-per-player: true
actions:
- type: ANIMATED_TITLE
frames:
- title: "<stack:rainbow,wobble>{milestone_display}</stack>"
subtitle: "&7Milestone reached!"
fade-in: 5
stay: 40
fade-out: 10
interval: 5
Actions in objective sections
Some objectives have their own action sections.
Examples:
capture zone capture actions
capture zone contested actions
visit region actions
interact block success actions
interact block cooldown actions
milestone actions
These actions use the same action system as triggers.
This keeps objective-specific behaviour consistent with normal event triggers.