Skip to content

realMorgon/SignTextGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Modrinth Version

A simple tool to generate big sign texts

Developed for BTE Germany (GitHub).

2025-09-02_21 42 56_edited
Font "signletters" by Hugleton

Usage:

You need to be in creative mode to use the command.
/givesign <material> <color> <font> <text>
You may need to adjust some characters by hand, depending on the combination

Adding your own font:

  1. Fork this repository
  2. Add your font as FONT_NAME.json file to /src/main/resources/fonts/
  3. Feel free to create a PR, so others can also use your font

Font file format

To add your font, the JSON file needs to have the following:
a) A number of letters that fit on one regular sign (this number is halved and rounded up for hanging signs)
b) A representation for every character in form of the four lines a sign has

Example:

{
  "maxCharsPerSign" : 3,
  "charMap" : {
	" ": ["      ","      ","      ","      "],
	"A": ["◢▊█▊◣","█  ݀█","███","█  ݀█"],
	"B": ["██▊◣","█▄▊◤","█▀▊◣","██▊◤"],
	"C": ["◢▊█▊◣","█▏  ▀","█▏  ▄","◥▊█▊◤"],
	"D": ["██▊◣","█  ▏█","█  ▏█","██▊◤"]
   }
}