Class AdminMessages

java.lang.Object
com.ordwen.odailyquests.api.commands.admin.AdminMessages
Direct Known Subclasses:
AdminCommandBase

public abstract class AdminMessages extends Object
Base class providing common message sending functionality for admin commands.

This class includes helper methods for sending predefined messages to the command sender (admin). These messages are typically used for error handling and feedback when interacting with commands.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    help(org.bukkit.command.CommandSender sender)
    Sends the admin help message to the sender.
    protected void
    invalidAmount(org.bukkit.command.CommandSender sender)
    Sends the invalid amount message to the sender.
    protected void
    invalidCategory(org.bukkit.command.CommandSender sender)
    Sends the invalid category message to the sender.
    protected void
    invalidPlayer(org.bukkit.command.CommandSender sender)
    Sends the invalid player message to the sender.
    protected void
    invalidQuest(org.bukkit.command.CommandSender sender)
    Sends the invalid quest message to the sender.

    Methods inherited from class java.lang.Object

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

    • AdminMessages

      public AdminMessages()
  • Method Details

    • help

      protected void help(org.bukkit.command.CommandSender sender)
      Sends the admin help message to the sender.
    • invalidPlayer

      protected void invalidPlayer(org.bukkit.command.CommandSender sender)
      Sends the invalid player message to the sender.
    • invalidQuest

      protected void invalidQuest(org.bukkit.command.CommandSender sender)
      Sends the invalid quest message to the sender.
    • invalidAmount

      protected void invalidAmount(org.bukkit.command.CommandSender sender)
      Sends the invalid amount message to the sender.
    • invalidCategory

      protected void invalidCategory(org.bukkit.command.CommandSender sender)
      Sends the invalid category message to the sender.