Class ChatPluginProxyPlayer
java.lang.Object
me.remigio07.chatplugin.api.common.player.OfflinePlayer
me.remigio07.chatplugin.api.proxy.player.ChatPluginProxyPlayer
- All Implemented Interfaces:
ChatPluginPlayer
Represents a
ChatPluginPlayer
loaded on a proxy (BungeeCord/Velocity) environment.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets this player's current server.Gets this player's version.boolean
Checks if this player is connected throughIntegrationType.GEYSERMC
.Methods inherited from class me.remigio07.chatplugin.api.common.player.OfflinePlayer
equals, getIPAddress, getName, getUUID, hashCode, hasPermission, hasPlayedBefore, isLoaded, isOnline, isPremiumAccount, toAdapter, toProxyPlayer, toServerPlayer
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.remigio07.chatplugin.api.common.player.ChatPluginPlayer
connect, disconnect, getIPAddress, getName, getUUID, sendMessage
-
Method Details
-
getVersion
Description copied from interface:ChatPluginPlayer
Gets this player's version.- Specified by:
getVersion
in interfaceChatPluginPlayer
- Returns:
- Player's version
-
isBedrockPlayer
public boolean isBedrockPlayer()Description copied from interface:ChatPluginPlayer
Checks if this player is connected throughIntegrationType.GEYSERMC
.- Specified by:
isBedrockPlayer
in interfaceChatPluginPlayer
- Returns:
- Whether this player is using the Bedrock Edition
-
getServer
Gets this player's current server.- Returns:
- Player's server
-