Line breaks in event.setKickMessage()? (Bukkit)
Line breaks in event.setKickMessage()? (Bukkit)
I have my LoginListener set to fetch the reason a user has been banned from a file, but for someone who is temp banned and has not waited the duration of that ban, I want to display how long they have left, and the reason under that. Is it possible to insert line breaks into the event.setKickMessage() ? And on a side note, can you use the formatting such as underlines and bold in the setKickMessage? I would test this myself, but I doubt it would work until I tied up all the loose ends and make sure that it can indeed access the conditional statement where this is used. Thanks in advance! - OffLuffy
Re: Line breaks in event.setKickMessage()? (Bukkit)
I have seen colours before and the text pretty much everywhere uses the same code to render it so I would guess that you could.
As for line breaks, there is no such thing in Minecraft
As for line breaks, there is no such thing in Minecraft