Solved No leave message

Discussion in 'Plugin Development' started by InspectorFacepalm, May 5, 2013.

Thread Status:
Not open for further replies.
  1. So ugh I was trying to add this to my plugin (SimplePlugin) Where it doesn't give you a message when someone joins/leaves, here's my code, and apparently it doesn't work D:
    Code:
      @EventHandler
      public void onPlayerJoin(PlayerJoinEvent event) {
        event.setJoinMessage(null);
      }
     
      @EventHandler
      public void onPlayerQuit(PlayerQuitEvent event)
      {
        event.setQuitMessage(null);
     
  2. Offline

    chasechocolate

    Did you register your events?

    EDIT: If you did, then maybe other plugins are interfering with it?
     
    InspectorFacepalm likes this.
  3. Oh, I forgot, thanks!
     
Thread Status:
Not open for further replies.

Share This Page