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 TypeMethodDescriptionvoidGameProfileRequestEvent.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 theGameProfileof 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 TabListEntryTabList.buildEntry(GameProfile profile, @Nullable Component displayName, int latency, int gameMode) Deprecated.Internal usage.default TabListEntryTabList.buildEntry(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable IdentifiedKey key) Deprecated.Internal usage.default TabListEntryTabList.buildEntry(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable ChatSession chatSession) Deprecated.Internal usage.default TabListEntryTabList.buildEntry(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable ChatSession chatSession, boolean listed) Deprecated.Internal usage.default TabListEntryTabList.buildEntry(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable ChatSession chatSession, boolean listed, int listOrder) Deprecated.Internal usage.TabList.buildEntry(GameProfile profile, @Nullable Component displayName, int latency, int gameMode, @Nullable ChatSession chatSession, boolean listed, int listOrder, boolean showHat) Deprecated.Internal usage.TabListEntry.Builder.profile(GameProfile profile) Sets theGameProfileof 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 newGameProfilewith the properties of this object plus the specified properties.GameProfile.addProperty(GameProfile.Property property) Creates a newGameProfilewith the properties of this object plus the specified property.static GameProfileGameProfile.forOfflinePlayer(String username) Creates a game profile suitable for use in offline-mode.Creates a newGameProfilewith the specified unique id.Creates a newGameProfilewith the specified name.GameProfile.withProperties(List<GameProfile.Property> properties) Creates a newGameProfilewith the specified properties.GameProfile.withUndashedId(String undashedId) Creates a newGameProfilewith the specified undashed id.