Class MeCommand
java.lang.Object
com.ordwen.odailyquests.api.commands.player.PlayerMessages
com.ordwen.odailyquests.api.commands.player.PlayerCommandBase
com.ordwen.odailyquests.commands.player.handlers.MeCommand
- All Implemented Interfaces:
PlayerCommand
,PlayerCommandCompleter
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.ordwen.odailyquests.api.commands.player.PlayerCommandBase
onTabComplete
Methods inherited from class com.ordwen.odailyquests.api.commands.player.PlayerMessages
help, invalidCategory, noPermission, noPermissionCategory, playerOnly
-
Constructor Details
-
MeCommand
-
-
Method Details
-
getName
Description copied from interface:PlayerCommand
Gets the name of the command. This is used as the subcommand identifier (e.g.,/command <name>
).- Returns:
- the subcommand name
-
getPermission
Description copied from interface:PlayerCommand
Gets the required permission to execute the command.- Returns:
- the permission node as a string
-
execute
Description copied from interface:PlayerCommand
Executes the command logic when the command is invoked by a player.- Parameters:
player
- the player executing the commandargs
- the arguments passed to the command
-