Class CmdList

java.lang.Object
studio.magemonkey.fabled.cmd.CmdList
All Implemented Interfaces:
org.bukkit.command.TabCompleter, studio.magemonkey.codex.mccore.commands.IFunction

public class CmdList extends Object implements studio.magemonkey.codex.mccore.commands.IFunction, org.bukkit.command.TabCompleter
A command that displays a player's account information
  • Constructor Details

    • CmdList

      public CmdList()
  • Method Details

    • execute

      public void execute(studio.magemonkey.codex.mccore.commands.ConfigurableCommand cmd, org.bukkit.plugin.Plugin plugin, org.bukkit.command.CommandSender sender, String[] args)
      Runs the command
      Specified by:
      execute in interface studio.magemonkey.codex.mccore.commands.IFunction
      Parameters:
      cmd - command that was executed
      plugin - plugin reference
      sender - sender of the command
      args - argument list
    • onTabComplete

      @Nullable public List<String> onTabComplete(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull org.bukkit.command.Command command, @NotNull String s, @NotNull String[] args)
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter