Skip to content
nixie123 edited this page Apr 10, 2024 · 17 revisions

ability to use multiple custom fonts.

see the layouts documentation for instructions on how to use it.

how to add fonts

  1. put files with extensions like ttf and otf in the fonts folder.

  1. create a yml file in the texts folder with a name of your choice.

  1. enter the following
example_font:
  file: example.ttf
  scale: 16

use minecraft font

Note: this mimics the Minecraft default font and does not use the default font, so you cannot use image fonts such as glyphs.

default_font:
  scale: 16
  merge-default-bitmap: true

how to add a glyph

example_font:
  file: example.ttf
  scale: 16
  images:
    star:
      name: "text/star.png"
      x: 0
      y: 0
      scale: 2.0

can add an image with this feel and then use it in the same way as <image:star> in a text layout pattern.

how to change the first bossbar font

  1. font.yml merge-default-bitmap: false

  2. place the font file in the betterhud plugin folder and modify the font name in config.yml.

Clone this wiki locally