java.lang.Object
net.lewmc.essence.commands.teleportation.home.team.ThomesCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor

public class ThomesCommand extends Object implements org.bukkit.command.CommandExecutor
  • Constructor Details

    • ThomesCommand

      public ThomesCommand(Essence plugin)
      Constructor for the ThomesCommand class.
      Parameters:
      plugin - References to the main plugin class.
  • Method Details

    • onCommand

      public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String s, String[] args)
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor
      Parameters:
      commandSender - Information about who sent the command - player or console.
      command - Information about what command was sent.
      s - Command label - not used here.
      args - The command's arguments.
      Returns:
      boolean true/false - was the command accepted and processed or not?