public class PartyCommand extends TopCommand<PartySubCommand>
subCommands| Constructor | Description |
|---|---|
PartyCommand(java.lang.String[] pCommandNames,
java.lang.String pPrefix) |
| Modifier and Type | Method | Description |
|---|---|---|
static PartyCommand |
getInstance() |
|
protected void |
onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Decides if a subcommand should be called and if which one.
|
canEqual, equals, getAliases, getName, getPermission, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddCommand, execute, getPrefix, getSubCommand, isPlayer, sort, tabCompletepublic PartyCommand(java.lang.String[] pCommandNames,
java.lang.String pPrefix)
pCommandNames - The alias for the commandpPrefix - The prefix for this command (e.g. [Party])public static PartyCommand getInstance()
protected void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
TopCommandonCommand in class TopCommand<PartySubCommand>pPlayer - The player who executed the command.args - The arguments which were given by the player.