Class SetDisplayNameSubCmd

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

public final class SetDisplayNameSubCmd extends SubCommandBuilder
Sub-command (/hs setdisplayname) that sets the display name of the current region.
  • Constructor Details

    • SetDisplayNameSubCmd

      public SetDisplayNameSubCmd()
  • 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