Sueta

WGRegionTitles

1.3

Use titles, sounds, and commands when a player enters or exits a WorldGuard region

·Plugin

Utilising the great work done by der_mewin with WGRegionEvents, I have created a plugin which adds to the functionality of WorldGuard to allow players to add titles and sounds to regions simply using WorldGuard's built in commands.

Commands

/region flag [region_id] greeting-title [Title Content]
/region flag [region_id] greeting-subtitle [Subtitle Content]
/region flag [region_id] greeting-title-fade-in [Duration (in game ticks)]
/region flag [region_id] greeting-title-duration [Duration (in game ticks)]
/region flag [region_id] greeting-title-fade-out [Duration (in game ticks)]

/region flag [region_id] greeting-sound [Sound Name]
/region flag [region_id] greeting-command [Command]

/region flag [region_id] farewell-title [Title Content]
/region flag [region_id] farewell-subtitle [Subtitle Content]
/region flag [region_id] farewell-title-fade-in [Duration (in game ticks)]
/region flag [region_id] farewell-title-duration [Duration (in game ticks)]
/region flag [region_id] farewell-title-fade-out [Duration (in game ticks)]

/region flag [region_id] farewell-sound [Sound Name]
/region flag [region_id] farewell-command [Command]

Clearing a title, subtitle, sound, or command is done in the same fashion as other WorldGuard flags. Simply do the command above but don't add the content parameter.

For a sound name, use the org.bukkit.sound reference.

Standard Minecraft colours codes are supported.

This plugin requires WorldGuard 6.2+

As it's my first MC plugin, any feedback is appreciated.

Need Support?

Similar projects

Plugin →