Avatars and backgrounds
Automatic NPC avatar link
Yes, avatar linking is automatic if your avatar filename matches the NPC npc_id.
Mapping rule:
- Plugin reads NPC name.
- Keeps first token before space/comma.
- Removes accents and non-ASCII chars.
- Lowercases result.
Example:
Andre, le Forgeron->npc_id = andre- expected file:
plugins/KGInfoServs-BQBetterHud/avatars/andre.png
If no match is found, fallback is nameless.png.
Avatar folder
Path:
plugins/KGInfoServs-BQBetterHud/avatars/
Rules:
pngformat- filename must match
npc_id
Examples:
andre.pngmerchant.pngguard_captain.png
Backgrounds (UI textures)
Backgrounds are not auto-linked per NPC.
They are global UI textures.
Path:
plugins/KGInfoServs-BQBetterHud/backgrounds/
Supported files:
dialogue.pnganswer.pnghand.pngname_start.pngname_mid.pngname_end.png
Move and scale avatar/backgrounds
You can tune positions and sizes in config.yml:
standalone:
layout:
avatar:
x: -20
y: 0
scale: 0.75
dialogue-bg:
x: 0
y: 20
scale: 1.0
answer-bg:
x: 180
y: -30
scale: 1.0
x/y: movementscale: size (only on keys that expose it)
Apply changes
- Add/replace PNG files in
avatars/orbackgrounds/. - Run
/bqhud reload. - Check in game.
Depending on standalone.resource-pack.output-mode:
self-host: players get the refreshed pack automatically.folder: regenerate and republish your server pack.