This repository was archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
BBCode
mickare edited this page Jun 12, 2014
·
5 revisions
Additionally to the normal §[0-9a-fk-or] Color codes you can use BBCode.
Call .append( String message ). in BBCodeChatBuilder to add and parse BBCode.
BBCodes are case-insensitive.
Striked BBCodes are not tested, but should be included!
Available BBCodes are:
-
bold:
[b][/b] -
italic:
[i][/i] -
underlined:
[u][/u] -
strikethrough:
[s][/s] -
obfuscated:
[o][/o] -
resetted:
[r][/r] -
color:
[c=0][/c],[c=1][/c],[c=2][/c], ...,[c=f][/c], ...,[c=r][/c] - -> color uses the ChatColor code [0-9a-fk-or]
-
Open URL:
[click=OPEN_URL( "url" )]...[/click] -
Open File:
[click=OPEN_FILE( "file" )]...[/click] -
Run CMD:
[click=RUN_COMMAND( "command" )]...[/click] Twitch info:[click=TWITCH_USER_INFO( "user info" )]...[/click]-
Suggest CMD:
[click=SUGGEST_COMMAND( "command" )]...[/click]
-
Text:
[hover=SHOW_TEXT( "<text>" )]...[/hover] -
BBCode:
[hover=SHOW_TEXT( "<bbcode>" )]...[/hover] -
Achievement:
[hover=SHOW_ACHIEVEMENT( "<achievement>" )]...[/hover] Item:[hover=SHOW_ITEM( "{id:35,Damage:5,Count:2,tag:{display: {Name:Testing}}}" )]...[/hover]
-
To disable BBCode in an area:
[plain]...[/plain]
-
Translation:
[translate="<translation>"]...[/translate] -
Insertion:
[insert="<text>"]...[/insert] -
Selection:
[select="eg: @p, @a, @e, @r"]...[/select] -
Score:
[score=<playerName>:<objective>]...[/score]