NightbreakForceReinstallContentCommand
public final class NightbreakForceReinstallContentCommand<T extends NightbreakManagedContent> extends AdvancedCommand
Re-downloads Nightbreak-managed content through the normal authenticated import and reload pipeline, even when the installed version is current.
Constructors
Link copied to clipboard
public void NightbreakForceReinstallContentCommand(JavaPlugin plugin, NightbreakPluginSpec pluginSpec, Supplier<List<T>> packagesSupplier, Consumer<CommandSender> reloadAction)
public void NightbreakForceReinstallContentCommand(JavaPlugin plugin, NightbreakPluginSpec pluginSpec, Supplier<List<T>> packagesSupplier, AtomicBoolean guard, Consumer<CommandSender> reloadAction)
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.