String format

Almost every string loaded from config uses modified version of SpecialMessage by afistofirony. Basicly simple html is converted into cool 1.7 chat. Available html tags are:

  • <ref='value'>: This tag will make the enclosed text a link to the specified command.
  • <href='value'>: This tag will make the enclosed text a hyperlink to the specified URL.
  • <tip='value'>: This tag will create a tooltip that will hover next to the cursor when the cursor is hovered over the enclosed text.
  • <prompt='value'>: This tag will make the enclosed text a link to insert the specified text into the chat prompt.
  • <itemtip='json item'>: This tag will create a tooltip containing item data that will hover next to the cursor when the cursor is hovered over the enclosed text.
  • <achievementtip='value'>: This tag will create a tooltip containing achievement data that will hover next to the cursor when the cursor is hovered over the enclosed text. Value can be for example achievement.openInventory
  • <strong>: This tag will make the enclosed text bold.
  • <em>: This tag will make the enclosed text italic.
  • <u>: This tag will underline the enclosed text.
  • <s>: This tag will strike through the enclosed text.
  • <?>: This tag will obfuscate the enclosed text (magic / $k)
  • <r>: This tag will reset enclosed text. This overrides and can be overridden by other colour tags.
  • <color='pattern'>: Makes the enclosed text the specified pattern. If you provide only one hex colour code, it will follow the normal pattern. However, providing more than one colour will make it cycle through colours for every character. Note: the &<hex> colour-code format works too (and does not break on line-breaks).
  • <raw>: This tag will insert raw json data. This is only for advanced users!