Having an issue with italics.

Discussion in 'Plugin Development' started by Twisted_Panda, Oct 14, 2013.

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

    Twisted_Panda

    So, im currently having this issue with my essentials plugin.

    It sets the PlayerListName(testing with viggie3089)
    [​IMG]

    But it doesen't set the DislayName in italics only purple.

    Code:
    ChatColor colorl = ChatColor.DARK_PURPLE;
    String DisplayName3 = colorl + ""  + ChatColor.ITALIC  + p.getName() + ChatColor.WHITE;
    Code:
    p.setPlayerListName(DisplayName3);
    p.setDisplayName(DisplayName3);
    This might not make sense since I haven't slept for a couple of days.
     
  2. Offline

    mrCookieSlime Retired Staff

    Am i understanding you right? You wanna set the Name above the Player's Head? Then you should take a look into TagAPI.
     
    Skyost likes this.
Thread Status:
Not open for further replies.

Share This Page