Create new colors - AlonsoAliaga/AlonsoPlus GitHub Wiki
How to create new colors? (1.16+ example)
Example of solid color.
Colors: #Don't copy this line
#You can create colors here. Make sure color identifiers are UNIQUE.
#If none is selected as default. First one will be selected.
#Remember to copy the same folder in all servers in order to keep the same color.
red:
Color: "&c"
#Should this color be default? Remember only one color can have "Default" option enabled.
Default: true
#Permission required for default color is always the same as "Permissions.Ranked" in config.yml
Permission: "none"
#Slot in GUI?
Slot: 10
#This is the example that will be used in Lore. THERE IS NO PLACEHOLDERAPI SUPORT.
#If not gradient, {COLOR} is replaced. If gradient, colors are removed and whole string is colorized.
Example: "&b[MVP{COLOR}+&b]"
#The word {DEFAULT_EXAMPLE} will be replaced with the example using default color.
#The word {EXAMPLE} will be replaced with the example using the current color.
Items:
Locked:
#Support CUSTOM_HEAD (Texture must be specified)
#Support durability for legacy versions "INK_SAC:1" for red dye.
Material: "RED_DYE"
#Only if material is CUSTOM_HEAD
Texture: "ewogICJ0aW1lc3RhbXAiIDogMTU5NDQ0NjkyMDI5NiwKICAicHJvZmlsZUlkIiA6ICJlMWMxYTE5NDdlODY0MTRmODZiYjQyZDgyYTIxY2ZiOCIsCiAgInByb2ZpbGVOYW1lIiA6ICJBbG9uc29BbGlhZ2EiLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTY4YWE3NGNjODg1NzgwNjBkMGZlM2JkOTA4YjM0ZjY5ZjEyZTA3ZjFmODljNWRkYzE1ZTZiZjYwZjA0Y2NjNiIKICAgIH0KICB9Cn0="
#Supported only on 1.14+
Custom-model-data: 0
Displayname: "&cRed Rank Color"
Lore:
- "&7The default color for &7{EXAMPLE}&7."
- ""
- "&cRequires &bMVP{DEFAULT}+"
Unlocked:
Material: "RED_DYE"
Texture: "ewogICJ0aW1lc3RhbXAiIDogMTU5NDQ0NjkyMDI5NiwKICAicHJvZmlsZUlkIiA6ICJlMWMxYTE5NDdlODY0MTRmODZiYjQyZDgyYTIxY2ZiOCIsCiAgInByb2ZpbGVOYW1lIiA6ICJBbG9uc29BbGlhZ2EiLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTY4YWE3NGNjODg1NzgwNjBkMGZlM2JkOTA4YjM0ZjY5ZjEyZTA3ZjFmODljNWRkYzE1ZTZiZjYwZjA0Y2NjNiIKICAgIH0KICB9Cn0="
Custom-model-data: 0
Displayname: "&aRed Rank Color"
Lore:
- "&7The default color for &7{EXAMPLE}&7."
- ""
- "&eClick to select!"
Selected:
Material: "RED_DYE"
Texture: "ewogICJ0aW1lc3RhbXAiIDogMTU5NDQ0NjkyMDI5NiwKICAicHJvZmlsZUlkIiA6ICJlMWMxYTE5NDdlODY0MTRmODZiYjQyZDgyYTIxY2ZiOCIsCiAgInByb2ZpbGVOYW1lIiA6ICJBbG9uc29BbGlhZ2EiLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTY4YWE3NGNjODg1NzgwNjBkMGZlM2JkOTA4YjM0ZjY5ZjEyZTA3ZjFmODljNWRkYzE1ZTZiZjYwZjA0Y2NjNiIKICAgIH0KICB9Cn0="
Custom-model-data: 0
Glow: true
Displayname: "&aRed Rank Color"
Lore:
- "&7The default color for &7{EXAMPLE}&7."
- ""
- "&aCurrently selected!"
Messages:
Locked: "&cYou haven't unlocked (or claimed) that yet!"
Selected: "&aSelected! Your rank looks like this now: &f{RANK}&a!"
Already-selected: "&cYou already have that selected!"
Example of gradient color.
Colors: #Don't copy this line
rainbow:
#Colors separated with dash to enable Gradient mode.
Color: "&#ff0000-&#ff7f00-&#ffff00-�ff00-�ff-b0082-Ⓒd3"
#What to add after each color? Example: &l, &n, &m
Additional: "&l"
Default: false
Permission: "alonsoplus.color.rainbow"
Slot: 31
#This is the example for the item lores. There is NOT support for PlaceholderAPI. Don't insist.
#If not gradient, {COLOR} is replaced. If gradient, colors are removed and whole string is colorized.
Example: "&6[MVP{COLOR}++&6]"
#The word {DEFAULT_EXAMPLE} will be replaced with the example using default color.
#The word {EXAMPLE} will be replaced with the example using the current color.
Items:
Locked:
Material: "TOTEM_OF_UNDYING"
Texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2E3ZDZjMGFjY2QyZTljY2FlZmE5NmI5NDM4ZDZlMjAyZmVjNzk1YWNmNzA3MmJjZmQ5Y2Q5ZDRiNWEzMmIwZSJ9fX0="
Custom-model-data: 0
Displayname: "&c&lRainbow Color"
Lore:
- "&7Dyes your rank color from &f{DEFAULT_EXAMPLE}"
- "&7with colors like &f{EXAMPLE}"
- ""
- "&7Shown in tab list also when chatting"
- "&7and joining lobbies."
- ""
- "&3Unlocked at YourNetwork Level 999"
Unlocked:
Material: "TOTEM_OF_UNDYING"
Texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2E3ZDZjMGFjY2QyZTljY2FlZmE5NmI5NDM4ZDZlMjAyZmVjNzk1YWNmNzA3MmJjZmQ5Y2Q5ZDRiNWEzMmIwZSJ9fX0="
Custom-model-data: 0
Displayname: "&#ff0000&lR&#ff4500&la&#ff8b00&li&#ffd000&ln&#d1ff00&lb.ff00&lo�b946&lw ed1&lCb00d2&loꯨd&llc00a7&loⒸd3&lr"
Lore:
- "&7Dyes your rank color from &f{DEFAULT_EXAMPLE}"
- "&7with colors like &f{EXAMPLE}"
- ""
- "&7Shown in tab list also when chatting"
- "&7and joining lobbies."
- ""
- "&eClick to select!"
Selected:
Material: "TOTEM_OF_UNDYING"
Texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2E3ZDZjMGFjY2QyZTljY2FlZmE5NmI5NDM4ZDZlMjAyZmVjNzk1YWNmNzA3MmJjZmQ5Y2Q5ZDRiNWEzMmIwZSJ9fX0="
Custom-model-data: 0
Glow: true
Displayname: "&#ff0000&lR&#ff4500&la&#ff8b00&li&#ffd000&ln&#d1ff00&lb.ff00&lo�b946&lw ed1&lCb00d2&loꯨd&llc00a7&loⒸd3&lr"
Lore:
- "&7Dyes your rank color from &f{DEFAULT_EXAMPLE}"
- "&7with colors like &f{EXAMPLE}"
- ""
- "&7Shown in tab list also when chatting"
- "&7and joining lobbies."
- ""
- "&aCurrently selected!"
Messages:
Locked: "&cYou haven't unlocked (or claimed) that yet!"
Selected: "&aSelected! Your rank looks like this now: &f{RANK}&a!"
Already-selected: "&cYou already have that selected!"