Use Minecraft color codes in my plugin config

What are you trying to do? If you want to parse an XML formatted string, you need to supply a valid one (valid as in parses against this XSD).

If you want to parse legacy color codes, you need to use Texts.legacy().of("This string has §bcolors!")).