IridiumColorAPI 1.0.4

Easily add RGB support into your plugins

  1. Peaches_MLG
    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:

    Code (Text):
    <repository>
        <id>iridiumdevelopment</id>
        <url>https://nexus.iridiumdevelopment.net/</url>
    </repository>
    Code (Text):
    <dependency>
        <groupId>com.iridium</groupId>
        <artifactId>IridiumColorAPI</artifactId>
        <version>LATEST</version>
    </dependency>
    To process a string simply call
    Code (Text):
    IridiumColorAPI.process(string)
    To add a gradient to your string use the following Syntax:
    Code (Text):
    <GRADIENT:2C08BA>Cool string with a gradient</GRADIENT:028A97>
    [​IMG]

    To make a rainbow do

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

    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
    Code (Text):
    <SOLID:FF0080>Cool RGB SUPPORT
    As show above, it will replace it with the old &5 color
    [​IMG]

    Resources Using this API:
    IridiumSkyblock
    RealScoreBoard
    brzezinsky, Tenorinho15 and rmellis like this.

Recent Reviews

  1. Isilence
    Isilence
    4/5,
    Version: 1.0.4
    Hello, nice but how do i use it :) Zuzu#6969 if someone can explain it to me please
  2. xMaikiYT
    xMaikiYT
    5/5,
    Version: 1.0.4
    Thanks, I use this API in all of my plugins, developer very friendly and helpfull!
  3. beccar_mt
    beccar_mt
    5/5,
    Version: 1.0.4
    Great API, saved me a lot of time. Shame to see bad reviews of people who have no idea what it actually does
  4. JangJoRim_2068
    JangJoRim_2068
    2/5,
    Version: 1.0.4
    I can't use this plugin because I'm using minecraft 1.17.1 bukkit. Could you update this plugin..?
    1. Peaches_MLG
      Author's Response
      uh... its not a plugin and has no requirement for any spigot version
  5. Sioul
    Sioul
    4/5,
    Version: 1.0.3
    Cool API to make gradients. The only missing featuring is the formatting.
    For example: <SOLID:FF0080>&lCool RGB SUPPORT
    Using formating codes doesn't work.
    1. Peaches_MLG
      Author's Response
      Im busy atm its opensourced feel free to fix this yourself

      Update: I just fixed this