Skip to Content
MineDuels

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 clients
  • mode: text → always use fallback MiniMessage
  • mode: sprite → force atlas sprites (can show missing texture if sprite path is wrong)
  • Per-icon atlas, sprite, fallback
  • <icon:name> in kit display-name, GUI lore, messages

What it does not do

  • Change GUI item icons (icon: DIAMOND_SWORD in menus uses materials)
  • Fix missing textures when the sprite path does not exist for that MC version (use blocks atlas 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.

On this page