java.lang.Object
studio.magemonkey.codex.commands.api.IAbstractCommand<Divinity>
studio.magemonkey.codex.commands.api.ISubCommand<Divinity>
studio.magemonkey.divinity.modules.command.MCmd<ModuleSocket<?>>
studio.magemonkey.divinity.modules.api.socketing.merchant.MerchantCmd

public class MerchantCmd extends MCmd<ModuleSocket<?>>
  • Field Summary

    Fields inherited from class studio.magemonkey.divinity.modules.command.MCmd

    module

    Fields inherited from class studio.magemonkey.codex.commands.api.ISubCommand

    parent

    Fields inherited from class studio.magemonkey.codex.commands.api.IAbstractCommand

    aliases, permission, plugin
  • Constructor Summary

    Constructors
    Constructor
    Description
    MerchantCmd(ModuleSocket<?> module, MerchantSocket merchant)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getTab(org.bukkit.entity.Player player, int i, String[] args)
     
    protected void
    perform(org.bukkit.command.CommandSender sender, String label, String[] args)
     
    boolean
     
     

    Methods inherited from class studio.magemonkey.codex.commands.api.ISubCommand

    getParent, setParent

    Methods inherited from class studio.magemonkey.codex.commands.api.IAbstractCommand

    errItem, errPerm, errPlayer, errSender, errType, execute, getNumD, getNumD, getNumI, getNumI, getPermission, hasPerm, labels, printUsage

    Methods inherited from class java.lang.Object

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

  • Method Details

    • playersOnly

      public boolean playersOnly()
      Specified by:
      playersOnly in class studio.magemonkey.codex.commands.api.IAbstractCommand<Divinity>
    • usage

      @NotNull public String usage()
      Specified by:
      usage in class studio.magemonkey.codex.commands.api.IAbstractCommand<Divinity>
    • description

      @NotNull public String description()
      Specified by:
      description in class studio.magemonkey.codex.commands.api.IAbstractCommand<Divinity>
    • getTab

      @NotNull public List<String> getTab(@NotNull org.bukkit.entity.Player player, int i, @NotNull String[] args)
      Overrides:
      getTab in class studio.magemonkey.codex.commands.api.IAbstractCommand<Divinity>
    • perform

      protected void perform(@NotNull org.bukkit.command.CommandSender sender, @NotNull String label, @NotNull String[] args)
      Specified by:
      perform in class studio.magemonkey.codex.commands.api.IAbstractCommand<Divinity>