Class CommandStargate

java.lang.Object
org.sgrewritten.stargate.command.CommandStargate
All Implemented Interfaces:
org.bukkit.command.CommandExecutor

public class CommandStargate extends Object implements org.bukkit.command.CommandExecutor
This command represents any command which starts with stargate

This prefix command should only be used for commands which are certain to collide with others and which relate to the plugin itself, not commands for functions of the plugin.

  • Constructor Details

    • CommandStargate

      public CommandStargate(@NotNull @NotNull Stargate stargate)
  • Method Details

    • onCommand

      public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String s, @NotNull @NotNull String[] args)
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor