Class DocumentCommand

java.lang.Object
dk.lockfuglsang.minecraft.command.AbstractCommand
dk.lockfuglsang.minecraft.command.DocumentCommand
All Implemented Interfaces:
Command

public class DocumentCommand extends AbstractCommand
Command that traverses all the commands in a plugin, and generates documentation for them.
  • Field Details

    • FORMATS

      public static final List<String> FORMATS
  • Constructor Details

    • DocumentCommand

      public DocumentCommand(org.bukkit.plugin.java.JavaPlugin plugin, String name, String permission)
  • 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 be null
      Specified by:
      getTabCompleter in interface Command
      Overrides:
      getTabCompleter in class AbstractCommand