Class GodModeCommand

java.lang.Object
com.zetaplugins.zetacore.commands.PluginCommand<EssentialZ>
com.zetaplugins.essentialz.util.commands.EszCommand
com.zetaplugins.essentialz.commands.moderation.GodModeCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

public class GodModeCommand extends EszCommand
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute(org.bukkit.command.CommandSender sender, org.bukkit.command.Command command, String label, com.zetaplugins.zetacore.commands.ArgumentList args)
     
    void
    sendConfirmMessage(org.bukkit.entity.Player player, boolean isInGodMode)
     
    tabComplete(org.bukkit.command.CommandSender sender, org.bukkit.command.Command command, com.zetaplugins.zetacore.commands.ArgumentList args)
     

    Methods inherited from class com.zetaplugins.essentialz.util.commands.EszCommand

    getMessageManager

    Methods inherited from class com.zetaplugins.zetacore.commands.PluginCommand

    getDisplayOptions, getPlayerOptions, getPlugin, onCommand, onTabComplete, registerExceptionHandler

    Methods inherited from class java.lang.Object

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

    • GodModeCommand

      public GodModeCommand(EssentialZ plugin)
  • Method Details

    • execute

      public boolean execute(org.bukkit.command.CommandSender sender, org.bukkit.command.Command command, String label, com.zetaplugins.zetacore.commands.ArgumentList args) throws com.zetaplugins.zetacore.commands.exceptions.CommandPermissionException, com.zetaplugins.zetacore.commands.exceptions.CommandSenderMustBeOrSpecifyPlayerException
      Specified by:
      execute in class com.zetaplugins.zetacore.commands.PluginCommand<EssentialZ>
      Throws:
      com.zetaplugins.zetacore.commands.exceptions.CommandPermissionException
      com.zetaplugins.zetacore.commands.exceptions.CommandSenderMustBeOrSpecifyPlayerException
    • sendConfirmMessage

      public void sendConfirmMessage(org.bukkit.entity.Player player, boolean isInGodMode)
    • tabComplete

      public List<String> tabComplete(org.bukkit.command.CommandSender sender, org.bukkit.command.Command command, com.zetaplugins.zetacore.commands.ArgumentList args)
      Specified by:
      tabComplete in class com.zetaplugins.zetacore.commands.PluginCommand<EssentialZ>