Adding New Color Scheme

This page was last updated for version v1.2.0

Description

To create a new color scheme, add a new section with unique key to colors section in colors.yml. Then, copy the hex codes of the desired colors and paste them into the list. The larger the size value, the slower/softer the transition between colors will be. You can also set a display name for color schemes.

color-scheme-key:
    name: "<NAME>"
    values: [ '<HEX>', '<HEX>', .. ]
    size: <INTEGER>

You can pull a color name from the translations file. Putting the color name key between %, like %key% will be replaced with the translation. You can repeat this as many times as you want.

Examples

  1. name: "<gold>%color%: <gradient:red:blue>%red-to-blue%" # <gradient:red:blue> can be done with MiniMessage format 
  2. name: "<gold>%color%: <rainbow>%rainbow%" 

Example Translation File

File: translations_en.yml

colors:
     color: "Renk"
     red-to-blue: "Kırmızı > Mavi"
     rainbow: "Rengarenk"

Examples

colors:
  gradient-red-to-blue:
    name: "%gradient-red-to-blue%"
    values: [ '#FC5C7D', '#6A82FB' ]
    size: 50
  heart:
    name: "%heart%"
    values: [ '#f54242', '#fc9090' ]
    size: 7
  rocket:
    name: "<aqua>Rocket!"
    values: [ '#5bf5c7', '#42ff75', "#0eb33b", "#0eb381" ]
    size: 10
  christmas:
    name: "<gold>%color%: %christmas%"
    values: [ '#ef233c', '#d5f2e3', '#73ba9b', '#003e1f', '#d90429', '#823a14' ]
    size: 30

Last updated