Class OfflineSelector
java.lang.Object
xyz.srnyx.annoyingapi.command.selector.selectors.OfflineSelector
- All Implemented Interfaces:
Selector<org.bukkit.OfflinePlayer>
Selector that selects all offline players
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull List<org.bukkit.OfflinePlayer> expand(@NotNull AnnoyingSender sender) Expands the selector to a list of objects@NotNull Class<org.bukkit.OfflinePlayer> getType()Gets the type of object the selector expands to
-
Constructor Details
-
OfflineSelector
public OfflineSelector()Constructor for OfflineSelector
-
-
Method Details
-
getType
Description copied from interface:SelectorGets the type of object the selector expands to -
expand
@NotNull public @NotNull List<org.bukkit.OfflinePlayer> expand(@NotNull @NotNull AnnoyingSender sender) Description copied from interface:SelectorExpands the selector to a list of objects- Specified by:
expandin interfaceSelector<org.bukkit.OfflinePlayer>- Parameters:
sender- theAnnoyingSenderwho executed the command- Returns:
- the list of objects the selector expands to, or null if none
-