Class AdminSubCommand
- java.lang.Object
-
- de.simonsator.partyandfriends.utilities.SubCommand
-
- de.simonsator.partyandfriends.api.AdminSubCommand
-
- All Implemented Interfaces:
java.lang.Comparable<SubCommand>
- Direct Known Subclasses:
DeletePlayerAdminSubCommand
public abstract class AdminSubCommand extends SubCommand
-
-
Field Summary
-
Fields inherited from class de.simonsator.partyandfriends.utilities.SubCommand
HELP, PREFIX
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdminSubCommand(java.lang.String[] pCommands, int pPriority, java.lang.String pHelp, java.lang.String pPrefix)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
onCommand(OnlinePAFPlayer ignored, java.lang.String[] ignored2)
Ignoredabstract void
onCommand(net.md_5.bungee.api.CommandSender sender, java.lang.String[] args)
void
sendError(net.md_5.bungee.api.CommandSender pCommandSender, java.lang.String pIdentifier)
void
sendError(net.md_5.bungee.api.CommandSender pCommandSender, net.md_5.bungee.api.chat.TextComponent pMessage)
-
Methods inherited from class de.simonsator.partyandfriends.utilities.SubCommand
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, printOutHelp, sendError, sendError
-
-
-
-
Method Detail
-
onCommand
public abstract void onCommand(net.md_5.bungee.api.CommandSender sender, java.lang.String[] args)
-
onCommand
public void onCommand(OnlinePAFPlayer ignored, java.lang.String[] ignored2)
Ignored- Specified by:
onCommand
in classSubCommand
- Parameters:
ignored
- Ignoredignored2
- Ignored
-
sendError
public void sendError(net.md_5.bungee.api.CommandSender pCommandSender, net.md_5.bungee.api.chat.TextComponent pMessage)
-
sendError
public void sendError(net.md_5.bungee.api.CommandSender pCommandSender, java.lang.String pIdentifier)
-
-