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

Double name tag?

Comments in 'Plugin Development' started by Jaydenb1321, Oct 31, 2015.

Thread Status:
Not open for further replies.
  1. Jaydenb1321
    Offline

    Jaydenb1321 New Member

    Joined:
    Aug 16, 2014
    Posts:
    45
    Minecraft User:
    ItzBulkDev
    Can I give someone a double nametag with this:

    PHP:
    $player $event->getPlayer()
    $name $player->getName()
    $player->setNameTag(TextFormat::RED."[RED]\n" TextFormat::GREEN $name "");
  2. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    Yes. Why didnt you test it?
    CrazedMiner and CraftYourBukkit like this.
Thread Status:
Not open for further replies.

Share This Page

Advertisement