Chat display name issue.

Discussion in 'Plugin Development' started by JTGaming2012, Jun 15, 2014.

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

    JTGaming2012

    So here is what I have in a chat event.

    Code:java
    1. ChatPlayer.setDisplayName(ChatColor.WHITE + "-" + ChatColor.GOLD + " Owner " + ChatColor.WHITE + ChatPlayer.getName() + " -"+ ChatColor.WHITE);


    And here is what it looks like in the chat... (The black text is actually white)
    <- Owner JTGaming2012 ->

    How do I remove the end tags (< and >) because I want to get rid of them.
    Thanks!
     
  2. Offline

    Onlineids

    JTGaming2012 That is because of another plugin you have (Im assuming essentials)
     
  3. Offline

    teej107

    JTGaming2012 Using a PlayerChatEvent, cancel the event and send a message to all players. The message sent including the player display name and what they were going to say.
     
  4. Offline

    Necrodoom

    teej107 likes this.
Thread Status:
Not open for further replies.

Share This Page