Class AdminMessages
java.lang.Object
com.ordwen.odailyquests.api.commands.admin.AdminMessages
- Direct Known Subclasses:
AdminCommandBase
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.
-
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.
-