Class PlayerJoinListener
java.lang.Object
io.github.toberocat.guiengine.listeners.PlayerJoinListener
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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.
-