Closed Joo200 closed 1 year ago
This will add a new TagResolver for boolean values.
Instead of passing number values or timestamps you want to display some text when a condition is met.
E.g. the text The issuer is a player for players and The issuer is a console for consoles. Currently that's not easily possible.
The issuer is a player
The issuer is a console
With the new tag you can use:
MiniMessage.miniMessage().deserialize("The issuer is a <isplayer:player:console>.", Formatter.booleanChoice("isPlayer", isPlayer) );
This will add a new TagResolver for boolean values.
Instead of passing number values or timestamps you want to display some text when a condition is met.
E.g. the text
The issuer is a player
for players andThe issuer is a console
for consoles. Currently that's not easily possible.With the new tag you can use: