1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Minecraft font to Unicode font converter.

Discussion in 'Snippets' started by Dovias, Feb 13, 2020.

  1. Dovias

    Dovias New Member

    Dec 8, 2019
    Likes Received:


    Have you ever wondered how to get unique fonts in to your minecraft server?
    Well this is now possible! Here's minecraft font to unicode font converter, which converts minecraft mapped font letters to unicode ones without having a hassle to convert texts by yourself using an online text generator! Add this at the top of your .sk file or create a new one!

    1. Skript version that's compatible with skript-mirror.
    2. skript-mirror addon.

    Code (Text):
    1. import:
    2.     java.lang.String
    3.     java.lang.StringBuilder
    5. expression convert minecraft font %string% to unicode font:
    6.     get:
    7.         set {_unicodefont::*} to ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") split at ""
    8.         set {_minecraftfont::*} to ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") split at ""
    10.         set {_minecraftstring::*} to expression-1 split at ""
    11.         set {_minecraftstringsize} to size of {_minecraftstring::*}
    12.         remove {_minecraftstring::%{_minecraftstringsize}%} from {_minecraftstring::*}
    13.         loop {_minecraftstring::*}:
    14.             if {_minecraftfont::*} doesn't contain loop-value-1:
    15.                 add loop-value-1 to {_converted::*}
    16.                 continue
    17.             loop {_minecraftfont::*}:
    18.                 if loop-value-2.equals(loop-value-1):
    19.                     set {_order} to loop-index-2 parsed as number
    20.                     add {_unicodefont::%{_order}%} to {_converted::*}
    21.                     continue
    22.         set {_unicodestring} to new StringBuilder()
    23.         loop {_converted::*}:
    24.             {_unicodestring}.append(loop-value-1)
    25.         return {_unicodestring}
    To change the font, you need to map the unicode letters by yourselves! To do that, you need to:
    1. Add unicode mapped symbols to {_unicodefont::*} list variable, as it shown in the custom expression.
    2. Add minecraft font alternative symbols of unicode mapped symbols to {_minecraftfont::*} list variable , as it shown in the custom expression.
    Where can I use this?
    • Pretty much everywhere. You could use this as a special perk for donators. For example you could convert text in real time and send edited font message instead of normal font message. Or you could use this as some kind of Tab list, scoreboard customization.
  2. PuchiGFX

    PuchiGFX Member

    Jan 26, 2017
    Likes Received:
    skript: 2.2-dev25
    skript-mirror: 0.19.1
  3. ShaneBee

    Supporter + Addon Developer

    Sep 7, 2017
    Likes Received:
    Update your skript-mirror version.
    Most people are using 2.0.0 as 0.19.1 is very old and outdated.
  4. PuchiGFX

    PuchiGFX Member

    Jan 26, 2017
    Likes Received:
    ill try that
    --- Double Post Merged, Mar 4, 2020, Original Post Date: Mar 4, 2020 ---
    still having that error

Share This Page