Modifier and Type | Method | Description |
---|---|---|
abstract void |
Setting.changeSetting(OnlinePAFPlayer pPlayer,
java.lang.String[] pArgs) |
|
protected abstract java.lang.String |
SimpleSetting.getMessage(OnlinePAFPlayer pPlayer) |
|
boolean |
Setting.isApplicable(OnlinePAFPlayer pPlayer,
java.lang.String pSettingName) |
|
protected abstract void |
TopCommand.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Decides if a subcommand should be called and if which one.
|
abstract void |
Setting.outputMessage(OnlinePAFPlayer pPlayer) |
|
void |
SimpleSetting.outputMessage(OnlinePAFPlayer pPlayer) |
Modifier and Type | Method | Description |
---|---|---|
OnlinePAFPlayer |
OnlineStatusChangedMessageEvent.getPlayer() |
Constructor | Description |
---|---|
OnlineStatusChangedMessageEvent(OnlinePAFPlayer pPlayer,
java.lang.String pMessage,
java.util.List<PAFPlayer> pFriends) |
Modifier and Type | Method | Description |
---|---|---|
OnlinePAFPlayer |
PAFSubCommandEvent.getExecutor() |
Constructor | Description |
---|---|
FriendshipCommandEvent(OnlinePAFPlayer pExecutor,
PAFPlayer pInteractPlayer,
java.lang.String[] args,
FriendSubCommand pCaller) |
|
PAFSubCommandEvent(OnlinePAFPlayer pExecutor,
java.lang.String[] args,
T pCaller) |
Constructor | Description |
---|---|
InviteEvent(OnlinePAFPlayer pExecutor,
OnlinePAFPlayer pInteractPlayer,
java.lang.String[] args,
Invite pCaller) |
Modifier and Type | Method | Description |
---|---|---|
OnlinePAFPlayer |
FriendOnlineMessageEvent.getReceiver() |
|
OnlinePAFPlayer |
SimpleMessageEvent.getSender() |
Constructor | Description |
---|---|
FriendMessageEvent(PAFPlayer pReceiver,
OnlinePAFPlayer sender,
java.lang.String message) |
|
FriendOnlineMessageEvent(OnlinePAFPlayer receiver,
OnlinePAFPlayer sender,
java.lang.String message) |
|
PartyMessageEvent(OnlinePAFPlayer sender,
java.lang.String message,
PlayerParty pParty) |
|
SimpleMessageEvent(OnlinePAFPlayer pSender,
java.lang.String pMessage) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
RequestReactionsCommands.hasNoRequest(OnlinePAFPlayer pPlayer,
PAFPlayer pQueryPlayer) |
|
protected boolean |
FriendSubCommand.isAFriendOf(OnlinePAFPlayer pPlayer,
PAFPlayer pGivenPlayer) |
|
protected boolean |
FriendSubCommand.isPlayerGiven(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
protected void |
FriendSubCommand.sendError(OnlinePAFPlayer pPlayer,
net.md_5.bungee.api.chat.TextComponent pMessage) |
Modifier and Type | Method | Description |
---|---|---|
abstract OnlinePAFPlayer |
PAFPlayerManager.getPlayer(net.md_5.bungee.api.connection.ProxiedPlayer pPlayer) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
DisplayNameProvider.getDisplayName(OnlinePAFPlayer pPlayer) |
Modifier and Type | Method | Description |
---|---|---|
abstract OnlinePAFPlayer |
PlayerParty.getLeader() |
Gets the leader of this party
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<OnlinePAFPlayer> |
PlayerParty.getAllPlayers() |
|
abstract java.util.List<OnlinePAFPlayer> |
PlayerParty.getPlayers() |
Returns the "normal" players who are in the party.
|
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
PlayerParty.addPlayer(OnlinePAFPlayer pPlayer) |
Adds a player to the party
|
abstract void |
PartyManager.addPlayerToParty(OnlinePAFPlayer player,
PlayerParty party) |
Puts the player with the party in the
HashMap |
protected abstract void |
PlayerParty.addToInvited(OnlinePAFPlayer pPlayer) |
|
abstract PlayerParty |
PartyManager.createParty(OnlinePAFPlayer player) |
Creates a party if the player is not already in a party.
|
static PlayerParty |
PartyAPI.getParty(OnlinePAFPlayer player) |
Returns the party, if the given player is in a party or null if he is not
in a party
|
abstract PlayerParty |
PartyManager.getParty(OnlinePAFPlayer player) |
Returns the party in which a player is
|
void |
PlayerParty.invite(OnlinePAFPlayer pPlayer) |
Invites a player into this party
|
protected abstract boolean |
PlayerParty.isAMember(OnlinePAFPlayer pPlayer) |
|
boolean |
PlayerParty.isInParty(OnlinePAFPlayer pPlayer) |
Returns true if the player is in the party.
|
abstract boolean |
PlayerParty.isInvited(OnlinePAFPlayer player) |
Returns true if the player is already invited.
|
boolean |
PlayerParty.isLeader(OnlinePAFPlayer player) |
Returns true if the given player is the leader of this party, and it will
returns false if he is not the leader, of this party
|
void |
PlayerParty.kickPlayer(OnlinePAFPlayer pPlayer) |
|
void |
PlayerParty.leaveParty(OnlinePAFPlayer pPlayer) |
|
protected abstract boolean |
PlayerParty.needsNewLeader(OnlinePAFPlayer pPlayer) |
|
abstract void |
PartyManager.removePlayerFromParty(OnlinePAFPlayer player) |
Removes the player party link from the
HashMap |
protected abstract void |
PlayerParty.removePlayerSilent(OnlinePAFPlayer pPlayer) |
|
abstract void |
PlayerParty.setLeader(OnlinePAFPlayer player) |
Sets the party leader.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
LeaderNeededCommand.checkIsInParty(OnlinePAFPlayer pPlayer,
PAFPlayer pSearched,
PlayerParty pParty,
java.lang.String[] args) |
|
protected boolean |
PartySubCommand.isInParty(OnlinePAFPlayer pPlayer,
PlayerParty pParty) |
|
protected boolean |
PartySubCommand.isPlayerGiven(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
protected void |
PartySubCommand.sendError(OnlinePAFPlayer pPlayer,
net.md_5.bungee.api.chat.TextComponent pMessage) |
|
protected boolean |
LeaderNeededCommand.standardCheck(OnlinePAFPlayer pPlayer,
PlayerParty pParty,
java.lang.String[] args) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
Friends.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Executed on /friend
|
protected void |
MSG.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
protected void |
Reply.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
MSG.send(OnlinePAFPlayer pPlayer,
java.lang.String[] args,
int type) |
Send a message from a sender to a receiver
|
Modifier and Type | Method | Description |
---|---|---|
void |
FriendRequestSetting.changeSetting(OnlinePAFPlayer pPlayer,
java.lang.String[] pNewSettingState) |
|
void |
JumpSetting.changeSetting(OnlinePAFPlayer pPlayer,
java.lang.String[] pArgs) |
|
void |
OfflineSetting.changeSetting(OnlinePAFPlayer pPlayer,
java.lang.String[] pArgs) |
|
void |
PMSetting.changeSetting(OnlinePAFPlayer pPlayer,
java.lang.String[] pArgs) |
|
protected java.lang.String |
FriendRequestSetting.getMessage(OnlinePAFPlayer pPlayer) |
|
protected java.lang.String |
JumpSetting.getMessage(OnlinePAFPlayer pPlayer) |
|
protected java.lang.String |
OfflineSetting.getMessage(OnlinePAFPlayer pPlayer) |
|
protected java.lang.String |
PMSetting.getMessage(OnlinePAFPlayer pPlayer) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
Add.isAFriendOf(OnlinePAFPlayer pPlayer,
PAFPlayer pGivenPlayer) |
|
void |
Accept.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
Add.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
Deny.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
FriendList.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
Jump.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
Message.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
Remove.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
Settings.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
PartyChat.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
protected void |
PartyCommand.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
PartyChat.send(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Modifier and Type | Method | Description |
---|---|---|
void |
InviteSetting.changeSetting(OnlinePAFPlayer pPlayer,
java.lang.String[] pArgs) |
|
protected java.lang.String |
InviteSetting.getMessage(OnlinePAFPlayer pPlayer) |
Modifier and Type | Method | Description |
---|---|---|
void |
Chat.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
Info.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
This method will be executed on /party list
|
void |
Invite.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Will be executed on /party invite
|
void |
Join.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Will be executed on /party join
|
void |
Kick.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Will be executed on /party kick
|
void |
Leader.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Will be executed on /party leader
|
void |
Leave.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Will be executed on /party leave
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
SubCommand.hasPermission(OnlinePAFPlayer pPlayer) |
|
boolean |
SubCommand.isApplicable(OnlinePAFPlayer pPlayer,
java.lang.String pCommand) |
|
abstract void |
SubCommand.onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
void |
SubCommand.printOutHelp(OnlinePAFPlayer pPlayer,
java.lang.String pCommandName) |
|
void |
SubCommand.sendError(OnlinePAFPlayer pPlayer,
java.lang.String pIdentifier) |
|
protected void |
SubCommand.sendError(OnlinePAFPlayer pPlayer,
net.md_5.bungee.api.chat.TextComponent pMessage) |