This is an article about how to have Styled Signs and Texts ingame!
These are based on html/bb code.
Code Snipits | Description |
---|---|
<b>Bold</b> | Bold Text |
<i>Italic</i> | Italic Text |
<u>Underlined</u> | Underlined Text |
<s>Strike through</s> | Strike Through Text |
<sub>Subscript</sub> | Small lower text |
<sup>Superscript</sup> | Small upper text |
<br> | Creates a new line, lots of them will push the text off the board to make floating text. |
<size=10>Font Size</size> | Text will automatically scales if not used |
<align=left>Alignment</align> | Can Use: “left”, “center”(standard),”right” |
And of course Colors! | |
<color=red>Colours</color> | Only some basic colour words work. |
<color=#fff>3 Digit Hex</color> | 3 digit Hex, 1 for each RGB level |
<color=#ffffff>6 Digit Hex</color> | 6 digit Hex, 2 for each RGB level |
<color=#ffffff00>Hex + Opacity</color> | 6 digit Hex, 2 for each RGB level & 2 numbers for opacity (00=invisible 99=solid) |
You can use a site like http://htmlcolorcodes.com/ to get the hex number.
These below DON’T work.
Code Snipits | Description |
---|---|
<table>, <th , <tr>, <td> | Tables are accepted but do not work |
<glow>,<bg>,<background>,<img>, <stroke>,<h1>,<h2>,<h3>,<url>,<link>,<href>,<div>,<li>,<span><xoffset><yoffset><zoffset> | These have all been tested and sadly do not work. |
Here is an example of the floating text and its code. Its sits at head height and the small sign is under 1 block of dirt, under the chest. Take note of the amount of “<br>” that are required to push it up.
<size=20><color=#ff0000>P</color><color=#ff2a00>u</color><color=#ff5500>b</color><color=#ff7f00>l</color><color=#ffbf00>i</color><color=#ffff00>c</color> <color=#55ff00>c</color><color=#00ff00>h</color><color=#00ff55>e</color><color=#00ffaa>s</color><color=#00ffff>t</color><color=#0080ff>!</color> <br><br><br> <br><br><br> <br><br><br> <br><br><br> <br><br><br></size>
The closing </b> are not required unless you want to change from one state to another.
All text within the <> should be lowercase only.
Once the 2nd bracket/carrot “>” is typed the code part will disappear but it is there and can be clicked on as if it was still there.
This can make it very hard to navigate your text in-game so I recommend you type it out in Notepad and Copy/Paste in to your Sign, Cart or in-game chat.
And here’s a rainbow text example and the standard sing for comparison.