Class DocumentCommand
java.lang.Object
dk.lockfuglsang.minecraft.command.AbstractCommand
dk.lockfuglsang.minecraft.command.DocumentCommand
- All Implemented Interfaces:
Command
Command that traverses all the commands in a plugin, and generates documentation for them.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDocumentCommand(org.bukkit.plugin.java.JavaPlugin plugin, String name, String permission)
-
Method Summary
Methods inherited from class dk.lockfuglsang.minecraft.command.AbstractCommand
accept, addFeaturePermission, getAliases, getDescription, getFeaturePermissions, getName, getParams, getParent, getPermission, getUsage, hasPermission, hasPermissionOverride, join, join, setParent
-
Field Details
-
FORMATS
-
-
Constructor Details
-
DocumentCommand
-
-
Method Details
-
execute
public boolean execute(org.bukkit.command.CommandSender sender, String alias, Map<String,Object> data, String... args)Description copied from interface:Command
Executes the command. -
getTabCompleter
public org.bukkit.command.TabCompleter getTabCompleter()Description copied from interface:Command
Optional TabCompleter to override the default ones. Can benull
- Specified by:
getTabCompleter
in interfaceCommand
- Overrides:
getTabCompleter
in classAbstractCommand
-