Clear chat?

Discussion in 'Plugin Development' started by Go Hard, Feb 16, 2013.

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

    Go Hard

    When a player does a command is there a way to clear the chat just for that player not the whole server?
     
  2. Offline

    CubixCoders

    You can make it send them a bunch of blank messages
     
  3. Offline

    LaxWasHere

    p.sendMessge(\n\n\n\n\n\\n\n\n\n\n\n\n\n\n\n\n\n\n\n\\n

    You get the point
     
    jflory7 likes this.
  4. Offline

    Tirelessly

  5. Offline

    sensus12

    how to clear chat:
    Code:
    for(int i=0; i < 100; i ++)
    {
    sender.sendMessage("");
    }
    
    hmm
    if player does command you can chceck by playercommandpre..... event
    and e.getmessage().startWith("/cmd");
    clear chat
     
Thread Status:
Not open for further replies.

Share This Page