Jump to content

MC Formatting Code API

  • You cannot reply to this topic
No replies to this topic

#1 LDDestroier

  • Members
  • 1,094 posts
  • LocationACDC Town

Posted 10 January 2017 - 05:37 PM

The very same API used in Fakechat, this takes an input string like "&4No &3sir&6ee" and converts it into a JSON table usable with commands.tellraw(). This also has functions writef() and printf(), for printing and writing with these formatted strings.

The colors API can't work one-to-one with the minecraft colors, because there aren't enough shades of blue in 'colors'. But it's close enough.

pastebin get z9i36a06 mcol

Put it in your chat programs! I'll try to put it in Enchat!

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users