Fonts: glyph icons, custom PNG, aliases and chat
Definitions live in plugins/Obsidrel/resources/fonts/. Custom glyphs require a pack successfully loaded by the player.
Basic example without custom PNG
icons:
enabled: true
glyphs:
orb:
texture: 'minecraft:item/emerald.png'
codepoint: AUTO
aliases: [':orb:', ':gem:']
height: 8
ascent: 8
chat:
enabled: true
permission: ''
First test with a vanilla image.
Advanced: use your own PNG
- Save
orb.pngunderplugins/Obsidrel/pack/source/assets/obsidrel/textures/font/orb.png. - Set the glyph field to
texture: obsidrel:font/orb.png. - Run
/obsidrel pack build, distribute the pack and test:orb:. - Ordinary chat aliases additionally require the global aliases bridge and
chat.enabled.
| Field | Purpose |
|---|---|
enabled | Enable collection |
glyphs.<id>.texture | PNG path with extension |
codepoint | AUTO or selected codepoint |
aliases | Text shortcuts such as :orb: |
height, ascent | Glyph geometry and baseline |
chat.enabled, chat.permission | Optional chat exposure and permission |
Important: font textures include .png, unlike Blocks/Items model.texture resource keys.