icons.yml
Object sprites and fallbacks for <icon:name> in text.
Path: plugins/MineDuels/icons.yml
Reload: yes
What it supports
mode: auto→ object sprites on 1.21.9+ clients, text fallback on older clientsmode: text→ always usefallbackMiniMessagemode: sprite→ force atlas sprites (can show missing texture if sprite path is wrong)- Per-icon
atlas,sprite,fallback <icon:name>in kitdisplay-name, GUI lore, messages
What it does not do
- Change GUI item icons (
icon: DIAMOND_SWORDin menus uses materials) - Fix missing textures when the sprite path does not exist for that MC version (use
blocksatlas or emoji fallback) <mdhead:Player>(built-in head tag, not icons.yml)
Example
mode: auto
icons:
uhc:
atlas: items
sprite: item/golden_apple
fallback: "<gold>⚔</gold>"
smp:
atlas: items
sprite: item/iron_chestplate
fallback: "<gray>SMP</gray>"Use in kit display name:
display-name: "<gold><icon:uhc> UHC"Shield and some block icons often need blocks atlas paths on 1.21.11+.
See Icons example and Icons UI.