πEmotes & Glyphs
Last updated
Nexo glyphs and emotes convert automatically, so they show up in chat, names and menus for Bedrock players just like on Java. In most cases there is nothing to configure.
The one thing worth knowing is that Bedrock sizes glyphs differently, which can make some icons look blurry. This page explains why and how to fix it.
On Java, the size a glyph shows at and the size of its image file are two separate things. You can take a large, detailed image and tell Java to display it small, and it stays sharp.
Bedrock cannot separate the two. It shows a glyph at whatever size its image is displayed, and that display size is also what decides how sharp it looks:
Bigger means larger and sharper.
Smaller means smaller and blockier.
So on Bedrock a detailed image that is meant to show as a small icon can end up looking blurry, because shrinking it also softens it. When that happens, you adjust the glyph's display size in glyphs.yml.
plugins/Scaffolding/glyphs.yml lets you set the display size of a glyph, either for a single glyph or for a whole font. The file is created for you with commented examples on first run, and most servers never need to touch it.
You set the size using whichever of these is easiest:
scale
Resize the glyph by a factor. 2.0 makes it twice as big (larger and sharper), 0.5 makes it half.
height
Set an exact display height in pixels. This overrides scale.
supersample
Use the glyph's full-resolution image instead of its small Java size. This is the sharpest option, but it also makes the glyph render larger. Good for big logos or menu icons.
There are two sections in the file: fonts: (keyed by font name) and glyphs: (keyed by glyph id). A setting under glyphs: takes priority over a setting under fonts: for the same glyph.
fonts:
emojis:discord_emojis:
scale: 1.0
glyphs:
pink_heart:
height: 16
some_big_logo:
supersample: trueAn icon looks blurry: it is rendering too small for its detail. Raise scale, set a larger height, or turn on supersample.
An icon is too big: lower scale or set a smaller height. Keep in mind it will also get a little softer as it shrinks.
A whole emote font is off: set a single scale under fonts: for that font instead of editing each glyph.
Saving glyphs.yml reconverts on its own, so your changes apply on the next pack build without any extra command.
Last updated