Class HologramCommand
java.lang.Object
me.hsgamer.hscore.bukkit.command.sub.SubCommand
io.github.projectunified.unihologram.spigot.test.command.subcommand.HologramCommand
- Direct Known Subclasses:
AddLineCommand,CountLineCommand,DeleteCommand,DeleteLineCommand,DisplayHologramCommand,InsertLineCommand,MoveCommand,SetLineCommand
public abstract class HologramCommand
extends me.hsgamer.hscore.bukkit.command.sub.SubCommand
-
Field Summary
FieldsFields inherited from class me.hsgamer.hscore.bukkit.command.sub.SubCommand
consoleAllowed, description, name, noPermissionMessageSender, permission, playerOnlyMessageSender, usage, usageSender -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHologramCommand(UniHologramTest plugin, @NotNull String name, @NotNull String description, @NotNull String argsUsage, boolean consoleAllowed) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract intbooleanisProperUsage(@NotNull org.bukkit.command.CommandSender sender, @NotNull String label, @NotNull String... args) protected abstract voidonHologramCommand(org.bukkit.command.CommandSender sender, Hologram<org.bukkit.Location> hologram, String[] args) voidonSubCommand(@NotNull org.bukkit.command.CommandSender sender, @NotNull String label, @NotNull String... args) static HologramLineMethods inherited from class me.hsgamer.hscore.bukkit.command.sub.SubCommand
getDescription, getName, getPermission, getUsage, isConsoleAllowed, isExecutable, onCommand, onTabComplete, setConsoleAllowed, setDescription, setPermission, setPermission, setUsage
-
Field Details
-
plugin
-
-
Constructor Details
-
HologramCommand
protected HologramCommand(UniHologramTest plugin, @NotNull @NotNull String name, @NotNull @NotNull String description, @NotNull @NotNull String argsUsage, boolean consoleAllowed)
-
-
Method Details
-
toLine
-
onHologramCommand
-
getMinimumArgumentLength
protected abstract int getMinimumArgumentLength() -
isProperUsage
public boolean isProperUsage(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String label, @NotNull @NotNull String... args) - Overrides:
isProperUsagein classme.hsgamer.hscore.bukkit.command.sub.SubCommand
-
onSubCommand
public void onSubCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String label, @NotNull @NotNull String... args) - Specified by:
onSubCommandin classme.hsgamer.hscore.bukkit.command.sub.SubCommand
-