Package org.kingdoms.commands
Class KingdomsParentCommand
java.lang.Object
org.kingdoms.commands.KingdomsCommand
org.kingdoms.commands.KingdomsParentCommand
- Direct Known Subclasses:
CommandAdmin,CommandAdminDebug,CommandAdminItem,CommandAdminNation,CommandAdminNexus,CommandAdminUnclaim,CommandBook,CommandClaim,CommandElection,CommandMail,CommandMap,CommandNation,CommandNationElection,CommandNationNexus,CommandNexus,CommandResourcePoints,CommandResourcePointsTransfer,CommandUnclaim,CommandVisualize
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<org.kingdoms.locale.Language, Map<String, KingdomsCommand>> Fields inherited from class org.kingdoms.commands.KingdomsCommand
aliases, bypassCooldownPermission, bypassDisabledWorldsPermission, cooldown, description, disabledWorlds, name, parent, path, permission, playerAssertion, plugin, requiredArgs, threadType, usage -
Constructor Summary
ConstructorsConstructorDescriptionAnnotation processing constructor.KingdomsParentCommand(@NonNull String name) KingdomsParentCommand(@NonNull String name, boolean playerCmd) KingdomsParentCommand(@NonNull String name, @Nullable KingdomsParentCommand parent) KingdomsParentCommand(@NonNull String name, @Nullable KingdomsParentCommand parent, org.bukkit.permissions.PermissionDefault permissionDefault) -
Method Summary
Modifier and TypeMethodDescriptionexecute(CommandContext context) Map<org.kingdoms.locale.Language, Map<String, KingdomsCommand>> final @NonNull Collection<KingdomsCommand> getChildren(org.kingdoms.locale.Language language) tabComplete(CommandTabContext context) Methods inherited from class org.kingdoms.commands.KingdomsCommand
canBypassCooldown, canBypassDisabledWorlds, configure, defaultedLang, emptyTab, equals, getAliases, getCooldown, getDescription, getDisabledWorlds, getDisplayName, getName, getParent, getPath, getPermission, getUsage, hashCode, hasPermission, hasPermission, isDisabled, lang, setPermissionDefault, tabComplete, tabComplete, tabComplete, toString, unregisterPermissions
-
Field Details
-
children
-
-
Constructor Details
-
KingdomsParentCommand
public KingdomsParentCommand()Annotation processing constructor. -
KingdomsParentCommand
public KingdomsParentCommand(@NonNull String name, @Nullable KingdomsParentCommand parent, org.bukkit.permissions.PermissionDefault permissionDefault) -
KingdomsParentCommand
-
KingdomsParentCommand
-
KingdomsParentCommand
-
-
Method Details
-
getChildren
public final @NonNull Collection<KingdomsCommand> getChildren(org.kingdoms.locale.Language language) -
getChildren
-
tabComplete
- Overrides:
tabCompletein classKingdomsCommand
-
execute
- Specified by:
executein classKingdomsCommand
-