Interface OnlinePAFPlayer
- All Superinterfaces:
PAFPlayer
- All Known Implementing Classes:
OnlinePAFPlayerMySQL
-
Method Summary
Modifier and TypeMethodDescriptionint
changeSettingsWorth
(int pSettingsID) void
connect
(net.md_5.bungee.api.config.ServerInfo pInfo) void
default PlayerParty
getParty()
net.md_5.bungee.api.connection.ProxiedPlayer
net.md_5.bungee.api.config.ServerInfo
boolean
isOnline()
void
sendPacket
(net.md_5.bungee.api.chat.TextComponent chat) void
sendPacket
(net.md_5.bungee.protocol.packet.Chat chat) Deprecated.boolean
teleportTo
(OnlinePAFPlayer pPlayer) void
update()
Methods inherited from interface de.simonsator.partyandfriends.api.pafplayers.PAFPlayer
addFriend, deleteAccount, denyRequest, doesExist, getDisplayName, getFriendRequestCount, getFriends, getLastOnline, getLastPlayerWroteTo, getName, getPAFPlayer, getRequests, getSettingsWorth, getUniqueId, hasPermission, hasRequestFrom, isAFriendOf, removeFriend, sendFriendRequest, sendMessage, sendMessage, sendMessage, sendMessage, setLastPlayerWroteFrom, setSetting, updateLastOnline
-
Method Details
-
createEntry
void createEntry() -
connect
void connect(net.md_5.bungee.api.config.ServerInfo pInfo) -
getServer
net.md_5.bungee.api.config.ServerInfo getServer() -
isOnline
boolean isOnline()- Specified by:
isOnline
in interfacePAFPlayer
- Returns:
- Returns true if the player is online. If the player is online it is safe to cast an object of this class
to an
OnlinePAFPlayer
-
changeSettingsWorth
int changeSettingsWorth(int pSettingsID) -
sendPacket
Deprecated.Description copied from interface:PAFPlayer
Please usePAFPlayer.sendPacket(TextComponent)
instead- Specified by:
sendPacket
in interfacePAFPlayer
- Parameters:
chat
- The message which should be sent
-
sendPacket
void sendPacket(net.md_5.bungee.api.chat.TextComponent chat) - Specified by:
sendPacket
in interfacePAFPlayer
-
teleportTo
-
update
void update() -
getPlayer
net.md_5.bungee.api.connection.ProxiedPlayer getPlayer()- Returns:
- Returns the player if he is on this Bungeecord. If he is on another Bungeecord (RedisBungee) it returns null.
-
getParty
-