Solved Chat name...

Discussion in 'Plugin Development' started by Oo-Zakk-oO, Sep 30, 2013.

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

    Oo-Zakk-oO

    So this might be a dumb question but whenever a player says something it does it like this "<PlayerName>" How can i get rid/change the "<>" in the name?
     
  2. Offline

    etaxi341

    Oo-Zakk-oO Here: :)
    Code:java
    1. @EventHandler
    2. public void onChat (AsyncPlayerChatEvent event)
    3. {
    4. event.setFormat(event.getPlayer().getName() + ": " + event.getMessage());
    5. }
     
    Oo-Zakk-oO likes this.
  3. Offline

    Oo-Zakk-oO

  4. Offline

    etaxi341

    Oo-Zakk-oO I would be happy if you could leave me a like :)
     
  5. Offline

    Oo-Zakk-oO

    etaxi341 no problem! First person i ever left a like to
     
Thread Status:
Not open for further replies.

Share This Page