Skip to main content
Version: Next

WorldGuard Integration

Start shows by entering or exiting areas? You can do that with WorldGuard!


✅ Requirements

To use WorldGuard support, you'll need the following plugins installed:

EffectMaster will automatically hook into WorldGuard if it’s available.


🚩 Available Flags

EffectMaster adds the following custom WorldGuard flags:

Flag NameTriggerDescription
em-enterOn region enterInstantly plays the defined show.
em-exitOn region exitInstantly plays the defined show.
em-first-enterFirst player enters regionPlays only when a region becomes occupied.
em-last-exitLast player leaves regionPlays only when the region becomes empty.
em-delay-enterOn region enter (delayed)Plays a show after a delay in milliseconds. When the player leaves the area before the show starts, it will get cancelled.
em-delay-exitOn region exit (delayed)Plays a show after a delay in milliseconds. When the player re-enters the area before the show starts, it will get cancelled.
em-delay-first-enterFirst player enters (delayed)Plays only when region becomes occupied, after a delay. When the player leaves the area before the show starts, it will get cancelled.
em-delay-last-exitLast player leaves (delayed)Plays only when region becomes empty, after a delay. When the player re-enters the area before the show starts, it will get cancelled.

📝 Flag Syntax

🎯 Instant Flags

For instant show flags like effectmaster-enter, use:

<show_category> <show_name>

Example:

mainhub welcome

This will play the show located in the mainhub category with the name welcome.


⏱️ Delayed Flags

For delayed flags like effectmaster-delay-enter, use:


<show_category> <show_name> <delay_ticks>

Example:


mainhub welcome 20

This plays the mainhub:welcome show after 20 ticks (1 second).


🗂️ Region Setup Example

  1. Select a region using WorldEdit:
//wand
[select area]
  1. Define a region:
/rg define magic_room
  1. Add a flag:
/rg flag magic_room em-enter mainhub welcome
  1. (Optional) Add a delayed version:
/rg flag magic_room em-delay-exit mainhub goodbye 2000

⚠️ Notes

  • Flags are case-sensitive — make sure your category and show names match exactly.
  • Multiple regions with overlapping flags will each trigger.

Need help or have ideas for more triggers? Join our Discord!