Uses of Class
com.velocitypowered.api.util.GameProfile
Packages that use GameProfile
Package
Description
Provides events for handling actions performed by players.
Provides an interface to interact with the proxy at a low level.
Provides an interface to work with players connected to the proxy.
Provides a selection of miscellaneous utilities for use by plugins and the proxy.
-
Uses of GameProfile in com.velocitypowered.api.event.player
Methods in com.velocitypowered.api.event.player that return GameProfileModifier and TypeMethodDescriptionGameProfileRequestEvent.getGameProfile()
Returns the game profile that will be used to initialize the connection with.GameProfileRequestEvent.getOriginalProfile()
Methods in com.velocitypowered.api.event.player with parameters of type GameProfileModifier and TypeMethodDescriptionvoid
GameProfileRequestEvent.setGameProfile
(@Nullable GameProfile gameProfile) Sets the game profile to use for this connection.Constructors in com.velocitypowered.api.event.player with parameters of type GameProfileModifierConstructorDescriptionGameProfileRequestEvent
(InboundConnection connection, GameProfile originalProfile, boolean onlineMode) Creates a new instance. -
Uses of GameProfile in com.velocitypowered.api.proxy
Methods in com.velocitypowered.api.proxy that return GameProfile -
Uses of GameProfile in com.velocitypowered.api.proxy.player
Methods in com.velocitypowered.api.proxy.player that return GameProfileModifier and TypeMethodDescriptionTabListEntry.getProfile()
Returns theGameProfile
of the entry, which uniquely identifies the entry with the containingUUID
, as well as deciding what is shown as the player head in the tab list.Methods in com.velocitypowered.api.proxy.player with parameters of type GameProfileModifier and TypeMethodDescriptiondefault TabListEntry
TabList.buildEntry
(GameProfile profile, @Nullable Component displayName, int latency, int gameMode) Deprecated.Internal usage.default TabListEntry
TabList.buildEntry
(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable IdentifiedKey key) Deprecated.Internal usage.default TabListEntry
TabList.buildEntry
(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable ChatSession chatSession) Deprecated.Internal usage.default TabListEntry
TabList.buildEntry
(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable ChatSession chatSession, boolean listed) Deprecated.Internal usage.TabList.buildEntry
(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable ChatSession chatSession, boolean listed, int listOrder) Deprecated.Internal usage.TabListEntry.Builder.profile
(GameProfile profile) Sets theGameProfile
of theTabListEntry
. -
Uses of GameProfile in com.velocitypowered.api.util
Methods in com.velocitypowered.api.util that return GameProfileModifier and TypeMethodDescriptionGameProfile.addProperties
(Iterable<GameProfile.Property> properties) Creates a newGameProfile
with the properties of this object plus the specified properties.GameProfile.addProperty
(GameProfile.Property property) Creates a newGameProfile
with the properties of this object plus the specified property.static GameProfile
GameProfile.forOfflinePlayer
(String username) Creates a game profile suitable for use in offline-mode.Creates a newGameProfile
with the specified unique id.Creates a newGameProfile
with the specified name.GameProfile.withProperties
(List<GameProfile.Property> properties) Creates a newGameProfile
with the specified properties.GameProfile.withUndashedId
(String undashedId) Creates a newGameProfile
with the specified undashed id.