Open Aaron1011 opened 6 years ago
The same is true with other things in the game:
I was thinking this was near useless honestly and that plugins could handle it themselves.
But then I realized it may be needed for cross plugin queuing.
@kashike: I don't see how scoreboard data fits here - nothing that's displayed on a scoreboard is ephemeral the way that titles and action bar messages are.
At least we can check, if scoreboard exists, but we can't do this with titles+action bar.
Currently, the API allows plugins to send individual
Title
s to plugins. However, sending a title while another title is in progress will cause one of the titles to be immediately overwritten.Sponge should provide a utility class to allow a plugin to schedule a sequence of titles to be displayed to the client. This class would take care of scheduling titles to be sent as soon as possible, while ensuring that none of them overwrite each other.