Disable Join MSG's

Discussion in 'Spigot Plugin Help' started by KriticalMC, May 16, 2015.

  1. Right now, when people join it puts a blank chat line?
    wtf

    is there a fix to this?

    This doesn't happen when people leave. ONLY on join.


    Thanks

    - Michael
     
  2. Well, to completely delete the join message you need to do that:

    Code (Text):
    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent event) {
        event.setJoinMessage(null);
    }
    NB: Don't forget to register the event in your onEnable();
     
  3. joshwenke

    Wiki Team

    Get the plugin Skript and make a script as follows:
    Code (Text):

    on join:
        set join message to ""
     
     
  4. I'm getting this msg in chat http://prntscr.com/768ozj
     
  5. joshwenke

    Wiki Team

    Skript may not be loaded properly, or you may have an incorrect version. Try doing /skript reload all in-game and see if any errors pop up.

    I'm assuming the picture is a blank line in chat?
     
  6. Yeah, a blank line