Class OnlineSelector
java.lang.Object
xyz.srnyx.annoyingapi.command.selector.Selector<org.bukkit.entity.Player>
xyz.srnyx.annoyingapi.command.selector.selectors.OnlineSelector
Selector that selects all online players
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull List<org.bukkit.entity.Player> expandImplementation(@NotNull AnnoyingSender sender) @NotNull Class<org.bukkit.entity.Player> getType()Gets the type of object the selector expands toMethods inherited from class xyz.srnyx.annoyingapi.command.selector.Selector
expand, getAllowedSenders
-
Constructor Details
-
OnlineSelector
public OnlineSelector()Constructor for OnlineSelector
-
-
Method Details
-
getType
Description copied from class:SelectorGets the type of object the selector expands to -
expandImplementation
@NotNull public @NotNull List<org.bukkit.entity.Player> expandImplementation(@NotNull @NotNull AnnoyingSender sender) - Specified by:
expandImplementationin classSelector<org.bukkit.entity.Player>
-