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
Fields inherited from class me.hsgamer.hscore.bukkit.command.sub.SubCommand
consoleAllowed, description, name, noPermissionMessageSender, permission, playerOnlyMessageSender, usage, usageSender
-
Constructor Summary
ModifierConstructorDescriptionprotected
HologramCommand
(UniHologramTest plugin, @NotNull String name, @NotNull String description, @NotNull String argsUsage, boolean consoleAllowed) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract int
boolean
isProperUsage
(@NotNull org.bukkit.command.CommandSender sender, @NotNull String label, @NotNull String... args) protected abstract void
onHologramCommand
(org.bukkit.command.CommandSender sender, Hologram<org.bukkit.Location> hologram, String[] args) void
onSubCommand
(@NotNull org.bukkit.command.CommandSender sender, @NotNull String label, @NotNull String... args) static HologramLine
Methods 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:
isProperUsage
in 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:
onSubCommand
in classme.hsgamer.hscore.bukkit.command.sub.SubCommand
-