Class ChatSubCmd

java.lang.Object
me.tayebyassine.homestead.commands.SubCommandBuilder
me.tayebyassine.homestead.commands.standard.subcommands.ChatSubCmd

public final class ChatSubCmd extends SubCommandBuilder
Sub-command (/hs chat) that toggles private region chat or sends a message to the current region's members.
  • Constructor Details

    • ChatSubCmd

      public ChatSubCmd()
  • Method Details

    • onExecution

      public boolean onExecution(org.bukkit.command.CommandSender sender, String[] args)
      Description copied from class: SubCommandBuilder
      Executes this sub-command.
      Specified by:
      onExecution in class SubCommandBuilder
      Parameters:
      sender - the command sender
      args - the arguments following the sub-command name
      Returns:
      true to signal that the command was handled