WorldGuard

WorldGuard

8M Downloads

Add flags for title and subtitles for greeting & farewell messages.

LadyCailinBot opened this issue · 12 comments

commented

WORLDGUARD-3333 - Reported by Jeremy.Cook

I'd like to be able to see region entry and exit displayed as titles and subtitles as opposed to having it just show up in the chat box.

Any chance of that, possibly?

Thanks.

commented

Comment by wizjany

I don't think there's even an API for this atm.

commented

Comment by Jeremy.Cook

@wizjany That's what I was told after posting this. Hopefully one is developed at some point, this would be a nice feature to have, IMO.

commented

Comment by PseudoKnight

If entry-cmd/exit-cmd flags were added, this could be done.

commented

Comment by wizjany

yea, that is a roundabout solution though. would be nice to be able to toggle it directly from the greeting/farewell text.

commented

Comment by PseudoKnight

https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/5ce44d45312122ecf210dbf614e125f72289f43f

Could use subtitle with chat as a fallback. Not sure about new lines. Can't control the timing yet.

commented

Comment by wizjany

yea not very hyped about building on spigot-exclusive, lazy/unfinished api.
this might just have to wait for sponge.

commented

Comment by PseudoKnight

I hear you on the "lazy/unfinished" API, though it is in Bukkit. (shoutout to Mojang for how awkward the titles/subtitles are)

commented

Comment by wizjany

it's spigot. there is no bukkit for 1.8

commented

Comment by PseudoKnight

I mean as opposed to the API that is in Spigot only (eg. particle API), as opposed to Craftbukkit, regardless of the team working on the fork.

commented

Comment by JohOply

An example : https://www.spigotmc.org/resources/factions.1900/
"1.8 Titles – Optionally used for territory info."

Another : https://www.spigotmc.org/resources/region-titles.3792/

commented

Comment by PseudoKnight

Examples were never necessary. As of right now there is only the most basic of API available, and it's not even finalized (subject to change). It's also only available in 1.8.8. This makes it very ugly to implement.

Region Titles depends on a Title Manager plugin for the API, which uses internal code subject to change every version. Factions uses internal code too.

commented

Comment by JohOply

Like it : http://i.imgur.com/eh21lDh.png
I like this idea !! :)