SetJoinMessage won't work

Discussion in 'Plugin Development' started by da_Do, May 25, 2017.

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

    da_Do

    Hello , under this topic u can see screen of my plugin . But when player joined to the server , it didn't write anything . Can someone help me ? Thank you
     

    Attached Files:

  2. Offline

    yPedx

    @da_Do
    Do not log your own plugins, Bukkit does this automatically.
    Try simply saving the player's name in a config and then check if the config contains the player's name onJoin.
     
    Last edited: May 25, 2017
  3. Offline

    Zombie_Striker

    @yPedx
    That won't exactly help with the issue. That just moves around some variables.

    @da_Do
    PlayerJoinEvent is called before the player joins, that is why you can cancel it. Wait one tick (using a delayed task) before sending the message
     
    yPedx likes this.
Thread Status:
Not open for further replies.

Share This Page