Skip to content

presentkim-pm/UnicodeFontLoader-WDPE

Repository files navigation

Version Stars License


Logo

UnicodeFontLoader

An waterdog plugin that automatically load unicode font images and pack them into resourcepack!

Contact to me · Report a bug · Request a feature

About The Project

THIS PLUGIN IS PORT OF UnicodeFontLoader pmmp plugin

Ever felt bothered managing emoji fonts for the server? Or struggled finding emoji Unicode? Try this plugin!

This plugin automatically bundles font files located in the resource_packs/font directory into a resourcepack.

For detailed information about image fonts, please visit bedrock.dev/concepts/emojis

✔️ Automatically generates font resource pack based on character images ( like packs/fonts/glyph_XX/YY.png).
✔️ Registers the generated resource pack on the server
✔️ Separates and applies existing font glyph files (glyph_**.png) on packs/fonts directory.
✔️ All results are cached to optimize repetitive tasks


Usage

  1. When you apply the plugin and start the server, the default unicode font images are generated as examples in the waterdog/packs/fonts directory.
  2. If a file named .../fonts/glyph_XX/YY.png exists, it will automatically be applied as the font corresponding to Unicode U+XXYY.
  3. If you want to convert existing font files to fit the plugin, simply place the 'glyph_XX.png' file in the 'font' directory, and it will be automatically converted.

The automatic conversion and build feature runs once when the server starts up. Restart is required for the changes to take effect after modification.

When using this image font on the server, simply input the corresponding character for 'U+XXYY' as usual.
The Unicode converter can be conveniently accessed via bedrock.dev or unicodeconverter.net.

exmaple) When server directory is configured as below,

. # waterdog directory
├── packs
│   └── fonts
|       ├── glyph_E0
|       |   ├──── 01.png
|       |   ├──── 0A.png
|       |   └──── ...
|       |
│       └──── glyph_E3.png
│
└── ...

In that case, the 'glyph_E3.png' file will automatically be split into 'glyph_E3/YY.png' and applied to the server.
Additionally, the existing 'glyph_E3.png' file will be removed.

. # waterdog directory
├── packs
│   └── fonts
|       ├── glyph_E0
|       |   ├──── 01.png
|       |   ├──── 0A.png
|       |   └──── ...
|       |
│       └─── glyph_E3
|       |   ├──── 0A.png
|       |   ├──── 0B.png
|       |   └──── ...
│
└── ...

Target software:

This plugin officially only works with WaterDog.


Downloads

Download from Github Releases

Github Downloads


License

Distributed under the LGPL 3.0. See LICENSE for more information


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages