DeadlyDisasters
  • ⚙️Custom Disasters
    • How To Make A Custom Disaster
    • Skeleton Body
    • Core Body
    • Actions
      • Disaster Action
        • Disaster Modifiers
      • Broadcast Action
      • Fill Action
      • Summon Action
      • Particle Action
      • Sound Action
    • Custom Items
    • Custom Entities
    • Catalog Body
    • Publishing Your Disaster!
    • Resources
  • 👋Community
    • Discord
    • Challenge Packs (Coming Soon)
  • 🔌Developers
    • API
      • Creating Disasters
      • Listening For Disasters
      • Custom Items
      • Custom Entities (Coming Soon)
      • Extra Features
    • Source
Powered by GitBook
On this page
  1. Custom Disasters
  2. Actions

Broadcast Action

Broadcast actions send messages to targets in the world, they are pretty self-explanatory here is an example:

# This is placed inside an event just like any other action is
broadcast:
    message: '&cSkies begin to darken..'
    # Remember there are 3 types of targeting you can use for the broadcast action ('all' or 'player' or 'random')
    target: 'all'

This will send the message to every player in the world.

PreviousDisaster ModifiersNextFill Action

Last updated 2 years ago

⚙️