Class PlayerShopProductGivingDetermineEvent.ExecutableCommand

java.lang.Object
de.marcely.bedwars.api.event.player.PlayerShopProductGivingDetermineEvent.ExecutableCommand
Enclosing class:
PlayerShopProductGivingDetermineEvent

public static class PlayerShopProductGivingDetermineEvent.ExecutableCommand extends Object
Represents that may be executed in the future.
  • Constructor Details

    • ExecutableCommand

      public ExecutableCommand(String command, boolean asConsole)
      Create a new executable command.
      Parameters:
      command - The command to be executed without the leading slash.
      asConsole - Whether the command shall be executed as console.
  • Method Details

    • getCommand

      public String getCommand()
      Get the command to be executed.
      Returns:
      The command to be executed without the leading slash.
    • isAsConsole

      public boolean isAsConsole()
      Whether the command shall be executed as console.
      Returns:
      Whether the command shall be executed as console.