Class FarmerCommand

java.lang.Object
xyz.geik.glib.shades.triumphteam.cmd.core.BaseCommand
xyz.geik.farmer.commands.FarmerCommand

public class FarmerCommand extends xyz.geik.glib.shades.triumphteam.cmd.core.BaseCommand
Farmer command class for farmer commands
Since:
v6-b100
Author:
geik, amownyy
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    aboutCommand(@NotNull org.bukkit.command.CommandSender player)
    About command of farmer
    void
    defaultCommand(@NotNull org.bukkit.command.CommandSender sender)
    Default command of farmer
    void
    infoCommand(@NotNull org.bukkit.command.CommandSender sender)
    Info command of farmer
    void
    openCommand(@NotNull org.bukkit.command.CommandSender sender, String target)
    Open command of farmer
    void
    reloadCommand(@NotNull org.bukkit.command.CommandSender sender)
    Reload command of farmer
    void
    removeCommand(org.bukkit.command.CommandSender sender)
    Remove command of farmer

    Methods inherited from class xyz.geik.glib.shades.triumphteam.cmd.core.BaseCommand

    getAlias, getCommand

    Methods inherited from class java.lang.Object

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

    • FarmerCommand

      public FarmerCommand()
  • Method Details

    • defaultCommand

      public void defaultCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender)
      Default command of farmer
      Parameters:
      sender - the command executor
    • removeCommand

      public void removeCommand(org.bukkit.command.CommandSender sender)
      Remove command of farmer
      Parameters:
      sender - command sender
    • aboutCommand

      public void aboutCommand(@NotNull @NotNull org.bukkit.command.CommandSender player)
      About command of farmer
      Parameters:
      player - command sender
    • infoCommand

      public void infoCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender)
      Info command of farmer
      Parameters:
      sender - command sender
    • reloadCommand

      public void reloadCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender)
      Reload command of farmer
      Parameters:
      sender - command sender
    • openCommand

      public void openCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, String target)
      Open command of farmer
      Parameters:
      sender - command sender
      target - target player