Class CommandService

java.lang.Object
preponderous.ponder.system.services.CommandService

public class CommandService extends Object
Since:
January 5th, 2022
  • Constructor Details

    • CommandService

      public CommandService(HashSet<ApplicationCommand> commands)
      Parameters:
      commands - The commands to instantiate the service with.
  • Method Details

    • interpretAndExecuteCommand

      public boolean interpretAndExecuteCommand(CommandSender sender, String label, String[] args)
      Parameters:
      sender - The sender of the command.
      label - The label of the command.
      args - The arguments of the command.