Class PaperCommandRegistry.CommandWrapper

java.lang.Object
org.bukkit.command.Command
com.gamersafer.minecraft.auth.paper.command.PaperCommandRegistry.CommandWrapper
Enclosing class:
PaperCommandRegistry

public static final class PaperCommandRegistry.CommandWrapper extends org.bukkit.command.Command
  • Field Summary

    Fields inherited from class org.bukkit.command.Command

    description, timings, usageMessage
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CommandWrapper(GSAuthPaper plugin, com.gamersafer.minecraft.auth.common.commands.ICommand command)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute(org.bukkit.command.CommandSender sender, String commandLabel, String[] args)
     
    tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args)
     

    Methods inherited from class org.bukkit.command.Command

    broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, permissionMessage, permissionMessage, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CommandWrapper

      protected CommandWrapper(GSAuthPaper plugin, com.gamersafer.minecraft.auth.common.commands.ICommand command)
  • Method Details

    • execute

      public boolean execute(org.bukkit.command.CommandSender sender, String commandLabel, String[] args)
      Specified by:
      execute in class org.bukkit.command.Command
    • tabComplete

      public List<String> tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args) throws IllegalArgumentException
      Overrides:
      tabComplete in class org.bukkit.command.Command
      Throws:
      IllegalArgumentException