Class PlayerJoinListener

java.lang.Object
com.ultikits.ultitools.listeners.PlayerJoinListener
All Implemented Interfaces:
org.bukkit.event.Listener

@EventListener public class PlayerJoinListener extends Object implements org.bukkit.event.Listener
  • Field Details

    • placeholderList

      private final List<String> placeholderList
  • Constructor Details

    • PlayerJoinListener

      public PlayerJoinListener()
  • Method Details

    • toUpperCaseFirstOne

      public static String toUpperCaseFirstOne(String s)
    • executeDownloadCommand

      static void executeDownloadCommand(String placeholder)
      Execute a command to download a PlaceholderAPI expansion. This method is extracted from BukkitRunnable for testability.
      Parameters:
      placeholder - the placeholder expansion name to download
    • executeReloadCommand

      static void executeReloadCommand()
      Execute a command to reload PlaceholderAPI. This method is extracted from BukkitRunnable for testability.
    • onPlayerJoin

      public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event)