Class AdsCommand

java.lang.Object
dev.oumaimaa.commands.AdsCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor

public final class AdsCommand extends Object implements org.bukkit.command.CommandExecutor
Command executor for the /ads command. Handles ad submission, preview, confirmation (interactive), cancellation, and cooldown checks.
  • Constructor Details

    • AdsCommand

      public AdsCommand(@NotNull @NotNull KawaiiAdPlugin plugin)
      Constructs the AdsCommand executor.
      Parameters:
      plugin - The main plugin instance.
  • Method Details

    • onCommand

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