NightbreakDownloadContentCommand
public class NightbreakDownloadContentCommand<T extends NightbreakManagedContent> extends AdvancedCommand
Constructors
Link copied to clipboard
public void NightbreakDownloadContentCommand(JavaPlugin plugin, NightbreakPluginSpec pluginSpec, Supplier<List<T>> packagesSupplier, Consumer<CommandSender> reloadAction, boolean updatesOnly)
public void NightbreakDownloadContentCommand(JavaPlugin plugin, NightbreakPluginSpec pluginSpec, Supplier<List<T>> packagesSupplier, Consumer<CommandSender> reloadAction, boolean updatesOnly, String permission)
public void NightbreakDownloadContentCommand(JavaPlugin plugin, NightbreakPluginSpec pluginSpec, Supplier<List<T>> packagesSupplier, AtomicBoolean guard, Consumer<CommandSender> reloadAction, boolean updatesOnly)
public void NightbreakDownloadContentCommand(JavaPlugin plugin, NightbreakPluginSpec pluginSpec, Supplier<List<T>> packagesSupplier, AtomicBoolean guard, Consumer<CommandSender> reloadAction, boolean updatesOnly, String permission)
Inherited properties
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Register an argument the user may omit.
Link copied to clipboard
Register an optional trailing argument which consumes zero or more input tokens.
Link copied to clipboard
Link copied to clipboard
Register a required trailing argument which consumes one or more input tokens.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Message used when Bukkit performs the permission check itself.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String getStringSequenceArgument(String key, CommandSender commandSender, Array<String> args)
Return the registered argument and every token following it as one space-separated value.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public static Command toBukkitCommand(JavaPlugin plugin, AdvancedCommand delegate, String name, List<String> aliases)
Create a Bukkit Command that delegates to the given AdvancedCommand.