Class LeaderNeededCommand
java.lang.Object
de.simonsator.partyandfriends.utilities.SubCommand
de.simonsator.partyandfriends.api.party.abstractcommands.PartySubCommand
de.simonsator.partyandfriends.api.party.abstractcommands.LeaderNeededCommand
- All Implemented Interfaces:
Comparable<SubCommand>
-
Field Summary
Fields inherited from class de.simonsator.partyandfriends.utilities.SubCommand
HELP, PREFIX
-
Constructor Summary
ModifierConstructorDescriptionprotected
LeaderNeededCommand
(String[] pCommands, int pPriority, String pHelpText) LeaderNeededCommand
(List<String> pCommands, int pPriority, String pHelpText, String pPermission) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkIsInParty
(OnlinePAFPlayer pPlayer, PAFPlayer pSearched, PlayerParty pParty, String[] args) boolean
hasAccess
(int pPermissionHeight) protected boolean
standardCheck
(OnlinePAFPlayer pPlayer, PlayerParty pParty, String[] args) Methods inherited from class de.simonsator.partyandfriends.api.party.abstractcommands.PartySubCommand
hasAccess, isInParty, isPlayerGiven, sendError
Methods inherited from class de.simonsator.partyandfriends.utilities.SubCommand
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, onCommand, printOutHelp, sendError
-
Constructor Details
-
LeaderNeededCommand
-
LeaderNeededCommand
-
-
Method Details
-
hasAccess
public boolean hasAccess(int pPermissionHeight) - Overrides:
hasAccess
in classPartySubCommand
-
checkIsInParty
protected boolean checkIsInParty(OnlinePAFPlayer pPlayer, PAFPlayer pSearched, PlayerParty pParty, String[] args) -
standardCheck
-