Developed for BTE Germany (GitHub).
Font "signletters" by Hugleton
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
- Create a JSON file with the format described below
- Place it in
/plugins/SignTextGeneratoror any subfolder of it - Restart your server and use the font name (without .json) in the command
- Fork this repository
- Add your font as FONT_NAME.json file to
/src/main/resources/fonts/ - Create a pull request to get your font added to the plugin
To add your font, the JSON file needs to have the following:
a) A number of letters that fit on one regular sign
b) A number of letters that fit on one hanging sign
c) Weather your letters have enough space on either side or the generator should put additional spaces between letters
d) A representation for every character in form of the four lines a sign has
{
"maxCharsPerSign" : 3,
"maxCharsPerHangingSign" : 2,
"ownLetterSeparation": false,
"charMap" : {
" ": [" "," "," "," "],
"A": ["◢▊█▊◣","█ ݀█","███","█ ݀█"],
"B": ["██▊◣","█▄▊◤","█▀▊◣","██▊◤"],
"C": ["◢▊█▊◣","█▏ ▀","█▏ ▄","◥▊█▊◤"],
"D": ["██▊◣","█ ▏█","█ ▏█","██▊◤"]
}
}