I've been looking for a while how can I change the color of the console at the time of send it.
I give you an example about what i want to do :
public String color_convert(String toConvert){
toConvert = toConvert replace -> &0 with black text
toConvert = toConvert replace -> &1 with dark blue text
return toConvert;
}
So the string should look like, for example
String colorConverted = color_convert("&0This is black&1 and this is blue");
And it should be displayed more or less like this: Image