Class PlayerJoinListener

java.lang.Object
io.github.toberocat.guiengine.listeners.PlayerJoinListener
All Implemented Interfaces:
org.bukkit.event.Listener

public class PlayerJoinListener extends Object implements org.bukkit.event.Listener
PlayerJoinListener is a Bukkit event listener that notifies players with operator (OP) status about newer versions of GuiEngine available on SpigotMC.

Created: 21.07.2023 Author: Tobias Madlberger (Tobias)

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    send(@NotNull org.bukkit.entity.Player player)
    Notifies the player with the latest version information if they are an operator (OP) and there is a newer version of GuiEngine available on SpigotMC.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlayerJoinListener

      public PlayerJoinListener()
  • Method Details

    • send

      public static void send(@NotNull @NotNull org.bukkit.entity.Player player)
      Notifies the player with the latest version information if they are an operator (OP) and there is a newer version of GuiEngine available on SpigotMC.
      Parameters:
      player - The player to notify.