Package com.ultikits.ultitools.listeners
Class PlayerJoinListener
java.lang.Object
com.ultikits.ultitools.listeners.PlayerJoinListener
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidexecuteDownloadCommand(String placeholder) Execute a command to download a PlaceholderAPI expansion.(package private) static voidExecute a command to reload PlaceholderAPI.voidonPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event) static String
-
Field Details
-
placeholderList
-
-
Constructor Details
-
PlayerJoinListener
public PlayerJoinListener()
-
-
Method Details
-
toUpperCaseFirstOne
-
executeDownloadCommand
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)
-