Icon examples
icons.yml entries that work on Minecraft 1.21.11 for text sprites.
Path: plugins/MineDuels/icons.yml. Used by <icon:name> in display-name, messages, tab, scoreboard.
mode: autoWeapons and pots (items atlas)
icons:
sword:
atlas: items
sprite: item/iron_sword
fallback: "<gray>🗡</gray>"
ranked:
atlas: items
sprite: item/diamond_sword
fallback: "<aqua>⚔</aqua>"
uhc:
atlas: items
sprite: item/lava_bucket
fallback: "<white>⚔</white>"
diamondpot:
atlas: items
sprite: item/splash_potion
fallback: "<white>⚔</white>"Block items (blocks atlas)
Crafting table, hay bale, and TNT use block faces, not item/...:
tnt:
atlas: blocks
sprite: block/tnt_side
fallback: "<red>💣</red>"
moneysmp:
atlas: blocks
sprite: block/crafting_table_top
fallback: "<gold>⛏</gold>"
manhunt:
atlas: blocks
sprite: block/hay_block_top
fallback: "<gold>⛃</gold>"Kit display-name link
kits/money-smp.yml:
display-name: "<white><icon:moneysmp> Money SMP"
icon: CRAFTING_TABLEicon: CRAFTING_TABLE is only the GUI slot. <icon:moneysmp> comes from icons.yml.
Shield and SMP
Shield has no flat item/shield texture. Options:
smp:
atlas: items
sprite: item/iron_chestplate
fallback: "<gray>🛡</gray>"Or text-only (no sprite keys):
smp:
fallback: "<gray>🛡</gray>"With only fallback, mode: auto still shows the emoji on all clients.
GUI heart (gui atlas)
heart:
atlas: gui
sprite: hud/heart/full
fallback: "<red>❤</red>"