public class PartyChat extends OnlyTopCommand
subCommands
Constructor | Description |
---|---|
PartyChat(java.lang.String[] pCommandNames,
java.lang.String pPrefix) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Decides if a subcommand should be called and if which one.
|
void |
onTabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent) |
|
void |
send(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
canEqual, equals, getAliases, getName, getPermission, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
tabComplete
addCommand, execute, getPrefix, getSubCommand, isPlayer, sort
public PartyChat(java.lang.String[] pCommandNames, java.lang.String pPrefix)
protected void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
TopCommand
onCommand
in class TopCommand
pPlayer
- The player who executed the command.args
- The arguments which were given by the player.public void send(OnlinePAFPlayer pPlayer, java.lang.String[] args)
public void onTabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent)