Add TITLE and SUBTITLE warmup display options, stop parsing simple inline MineDown formatting, close #210

This commit is contained in:
William committed 2022-09-17 13:38:11 +01:00
1 parent f80261d919
commit 41ce426480
5 files changed
+31 -6

No files matched your search

@@ -57,6 +57,14 @@ public abstract class OnlineUser extends User {
@NotNull
public abstract Map<String, Boolean> getPermissions();
/**
* Dispatch a MineDown-formatted title or subtitle to the player
*
* @param mineDown the parsed {@link MineDown} to send
* @param subTitle whether to send the title as a subtitle ({@code true} for a subtitle, {@code false} for a title)
*/
public abstract void sendTitle(@NotNull MineDown mineDown, boolean subTitle);
/**
* Dispatch a MineDown-formatted action bar message to this player
*