-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting With New Lines #34
Comments
This is why you should use the .color() method. |
Or you can get the last color of the letter before adding the \n and append that to the new line. Also .color won't always work, for example if you want to make it dynamic and you do not know the color. |
What do you mean with dynamic? |
Say you want to send this with a chat message, you don't know the color and you want to use the formatting which is provided by the chat event. |
Scann the message and convert the code to a ChatColor |
Closing this as out of scope, unless anyone wants to discuss special handling of |
I like to format my chat messages using the legal section symbol "§" as I can just write it in-line without concatenating and ChatColor.Color or using the .color(ChatColor) method. However, whenever I use it, the formatting always goes blank when the line skips down to a new line.
The text was updated successfully, but these errors were encountered: