Class OnlineListComponent
java.lang.Object
com.zachsthings.libcomponents.AbstractComponent
com.zachsthings.libcomponents.bukkit.BukkitComponent
com.sk89q.commandbook.component.onlinelist.OnlineListComponent
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.event.Listener
public class OnlineListComponent
extends com.zachsthings.libcomponents.bukkit.BukkitComponent
implements org.bukkit.event.Listener
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classOnlineListComponent.Commands -
Field Summary
-
Constructor Summary
Constructors Constructor Description OnlineListComponent() -
Method Summary
Modifier and Type Method Description voidenable()voidonPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event)voidreload()voidsendOnlineList(java.util.Collection<? extends org.bukkit.entity.Player> online, org.bukkit.command.CommandSender sender)Send the online player list.voidsendOnlineList(org.bukkit.entity.Player[] online, org.bukkit.command.CommandSender sender)Deprecated.Methods inherited from class com.zachsthings.libcomponents.bukkit.BukkitComponent
disable, getCommands, onCommand, registerCommands, setUp, unregisterCommands
-
Constructor Details
-
OnlineListComponent
public OnlineListComponent()
-
-
Method Details
-
enable
public void enable()- Specified by:
enablein classcom.zachsthings.libcomponents.AbstractComponent
-
reload
public void reload()- Overrides:
reloadin classcom.zachsthings.libcomponents.AbstractComponent
-
sendOnlineList
@Deprecated public void sendOnlineList(org.bukkit.entity.Player[] online, org.bukkit.command.CommandSender sender)Deprecated.Send the online player list.- Parameters:
online-sender-
-
sendOnlineList
public void sendOnlineList(java.util.Collection<? extends org.bukkit.entity.Player> online, org.bukkit.command.CommandSender sender)Send the online player list.- Parameters:
online-sender-
-
onPlayerJoin
public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event)
-