Don't know if you guys know this, but I may just be slow You can add color to the console text by doing this: PHP: console(FORMAT_RED."This will be red".FORMAT_RESET); the output would be: This will be red Don't know if you guys knew this. Just thought I'd share
Does that work with any color? I've been trying to get color and I've been having to use codes like xdh[3m ... Stuff I don't understand but this will be a lot better lol
Not sure, I have never really worked with Droidpocketmine... I don't think their consoles support color I think it probably works with colors like RED, BLUE, GREEN, AQUA, YELLOW, ETC. the main colors, not quite sure though
These are just shortcuts to the pocketmine color codes. And the pocketmine color codes are shortcuts to the ansi color codes. The pocketmine color codes work like the bukkit ones: http://i.imgur.com/yuA46.png but the & symbol is replaced by § (alt + 0167). The ansi color codes are for example \x1b[30m for black , you can find more information about the ansi escape codes here: http://en.wikipedia.org/wiki/ANSI_escape_code
You don't need the second §4, if you use a color code it will color the text after it until there is another color code. so for example: console("§4Red§2 Green§r Default (grey)§f White");
I never use it with coding, but I need the alt codes for writing french texts for school (some letters are missing on a qwerty keyboard)