Class PartyDenySubCommand
java.lang.Object
de.simonsator.partyandfriends.utilities.SubCommand
de.simonsator.partyandfriends.api.party.abstractcommands.PartySubCommand
de.simonsator.partyandfriends.party.subcommand.PartyDenySubCommand
- All Implemented Interfaces:
Comparable<SubCommand>
The class which will be executed on /party join
-
Field Summary
Fields inherited from class de.simonsator.partyandfriends.utilities.SubCommand
HELP, PREFIX
-
Constructor Summary
ConstructorDescriptionPartyDenySubCommand
(List<String> pCommands, int pPriority, String pHelpText, String pPermission) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasAccess
(int pPermissionHeight) void
onCommand
(OnlinePAFPlayer pPlayer, String[] args) Will be executed on /party joinMethods 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, printOutHelp, sendError
-
Constructor Details
-
PartyDenySubCommand
-
-
Method Details
-
onCommand
Will be executed on /party join- Specified by:
onCommand
in classSubCommand
- Parameters:
pPlayer
- The playerargs
- The arguments
-
hasAccess
public boolean hasAccess(int pPermissionHeight) - Overrides:
hasAccess
in classPartySubCommand
-