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

Color in chat?

Comments in 'Plugin Development' started by warnematt, Nov 2, 2013.

  1. warnematt
    Offline

    warnematt New Member

    Joined:
    Nov 2, 2013
    Posts:
    30
    Minecraft User:
    Matt
    Im trying to figure out how to add some color to commands that I make, cause everything being in white depresses me, and is annoying as hell. Now, I tried using the <font> attribute, but it actually sent "<font color=ff0000>" Anyone know how to make it work?

    PHP:
    $this->api->chat->sendTo(false"/*color this!*/$username is now AFK"$username);
  2. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    392
    short answer: not possible.
    long answer: you could send a message with linebreaks, all the lines other then the first one will be grey
  3. warnematt
    Offline

    warnematt New Member

    Joined:
    Nov 2, 2013
    Posts:
    30
    Minecraft User:
    Matt
    wait...but why does the release for 1.3.9 say it supports colors?

  4. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    More colors for the console
    warnematt likes this.
  5. Rem1x
    Offline

    Rem1x New Member

    Joined:
    Oct 5, 2013
    Posts:
    1
    Minecraft User:
    Troll 80lv
    I think what now console support colors,but Minecraft PE doesn't support colors
    It isn't good :(

Share This Page

Advertisement