Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Help' started by iMedia, Jul 28, 2018.
How do I make chatcolor.red to like &c I forgot
Are you a developer or are you looking for a plugin?
if youre a dev do:
String chatColor = ChatColor.translateAlternateColorCodes('&', "&cThis will be same as ChatColor.RED!");
Develoer I just forgot how to use chatcolor.alternate or something like that
Just do what he says (Thank you btw)
2nd argument obviously being the string you want to convert
For code-related questions, please ask here next time
Your question isn't too clear. Are you trying to covert to the color code or from of the color code?
What's wrong with that??
Whats wrong with that? "string" is invalid...
There's no String called string.
How do I fix it then?
Use an existing string or just put the text you want to change between double quotes: "text"
This is seriously as basic as Java gets
.... I haven't done it in a long time