Class PlayerJoinEvent


  • public class PlayerJoinEvent
    extends PlayerEvent
    Called when a player joins a server
    • Method Detail

      • getJoinMessage

        @Nullable
        public String getJoinMessage()
        Gets the join message to send to all online players
        Returns:
        string join message. Can be null
      • setJoinMessage

        public void setJoinMessage​(@Nullable
                                   String joinMessage)
        Sets the join message to send to all online players
        Parameters:
        joinMessage - join message. If null, no message will be sent