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
    class  OnlineListComponent.Commands  
  • Field Summary

    Fields inherited from class com.zachsthings.libcomponents.bukkit.BukkitComponent

    commands
  • Constructor Summary

    Constructors 
    Constructor Description
    OnlineListComponent()  
  • Method Summary

    Modifier and Type Method Description
    void enable()  
    void onPlayerJoin​(org.bukkit.event.player.PlayerJoinEvent event)  
    void reload()  
    void sendOnlineList​(java.util.Collection<? extends org.bukkit.entity.Player> online, org.bukkit.command.CommandSender sender)
    Send the online player list.
    void sendOnlineList​(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

    Methods inherited from class com.zachsthings.libcomponents.AbstractComponent

    configure, getComponentLoader, getInformation, getRawConfiguration, isEnabled, saveConfig, saveConfig, setUp

    Methods inherited from class java.lang.Object

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

  • Method Details

    • enable

      public void enable()
      Specified by:
      enable in class com.zachsthings.libcomponents.AbstractComponent
    • reload

      public void reload()
      Overrides:
      reload in class com.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)