Texts.of() and Colors?

I am trying to make a plugin that is easily translatable. But I am stuck with this.

Texts.of(String.format("Hello %s My Name is %s", "Villager", "Zombie"));

Lets say I want “Name” in Red and “My” in blue. I can’t do that from the config. Same count Villager and Zombie. Any idea how I could set the color using this aproach?

Texts.fromLegacy(String.format(String,Stuff),‘WhateverCharacterIsYourColorCodePrefix’)

I opened an issue a while ago:

1 Like