Class Chat
- java.lang.Object
-
- de.simonsator.partyandfriends.utilities.SubCommand
-
- de.simonsator.partyandfriends.api.party.abstractcommands.PartySubCommand
-
- de.simonsator.partyandfriends.party.subcommand.Chat
-
- All Implemented Interfaces:
java.lang.Comparable<SubCommand>
public class Chat extends PartySubCommand
The /party chat command
-
-
Field Summary
-
Fields inherited from class de.simonsator.partyandfriends.utilities.SubCommand
HELP, PREFIX
-
-
Constructor Summary
Constructors Constructor Description Chat(java.util.List<java.lang.String> pCommands, int pPriority, java.lang.String pHelpText, java.lang.String pPermission)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasAccess(int pPermissionHeight)
void
onCommand(OnlinePAFPlayer pPlayer, java.lang.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, printOutHelp, sendError
-
-
-
-
Method Detail
-
hasAccess
public boolean hasAccess(int pPermissionHeight)
- Overrides:
hasAccess
in classPartySubCommand
-
onCommand
public void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
- Specified by:
onCommand
in classSubCommand
-
-