IridiumColorAPI Is a simple API I made to include RGB into your plugins. If your server version doesn't support RGB yet, it will do its best to map the RGB values to the ones available.
Maven:
<repository>
<id>iridiumdevelopment</id>
<url>https://nexus.iridiumdevelopment.net/</url>
</repository>
<dependency>
<groupId>com.iridium</groupId>
<artifactId>IridiumColorAPI</artifactId>
<version>LATEST</version>
</dependency>
To process a string simply call
IridiumColorAPI.process(string)
To add a gradient to your string use the following Syntax:
<GRADIENT:2C08BA>Cool string with a gradient</GRADIENT:028A97>

To make a rainbow do
IridiumColorAPI.process("<RAINBOW1>THIS IS A REALLY COOL Rainbow</RAINBOW>");
The number after RAINBOW represents the saturation
IridiumColorAPI.process("<RAINBOW100>THIS IS A REALLY COOL Rainbow</RAINBOW>");
To add a solid RGB Color do:
<SOLID:FF0080>Cool RGB SUPPORT

The API will also work in versions where RGB isnt supported yet. In this case it will try to find the color thats the closest match to the one you want. For example with the
<SOLID:FF0080>Cool RGB SUPPORT
As show above, it will replace it with the old &5 color

Resources Using this API:
IridiumSkyblock
RealScoreBoard
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta