Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GeyserMC/Floodgate
/ functions
Functions
832 in github.com/GeyserMC/Floodgate
⨍
Functions
832
◇
Types & classes
203
↓ 81 callers
Method
get
(String urlString)
core/src/main/java/org/geysermc/floodgate/util/HttpClient.java:64
↓ 57 callers
Method
error
Logs an error message to the console, with 0 or more arguments. @param message the message to log to the console @param args the arguments to fill
api/src/main/java/org/geysermc/floodgate/api/logger/FloodgateLogger.java:37
↓ 55 callers
Method
sendMessage
(String message)
core/src/main/java/org/geysermc/floodgate/player/UserAudience.java:61
↓ 41 callers
Method
checkNotNull
(@CheckForNull T toCheck, @CheckForNull String objectName)
spigot/src/main/java/org/geysermc/floodgate/util/ClassNames.java:388
↓ 38 callers
Method
getMethod
Get a method from a class, it doesn't matter if the field is public or not. This method will first try to get a declared field and if that failed it'l
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:443
↓ 34 callers
Method
toString
()
core/src/main/java/org/geysermc/floodgate/command/CommonCommandMessage.java:52
↓ 33 callers
Method
invoke
Invoke the given method of the given instance with the given arguments. @param instance the instance to get the value from @param method the meth
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:590
↓ 32 callers
Method
getPlayer
Get info about the given Bedrock player @param uuid the uuid of the <b>online</b> Bedrock player @return FloodgatePlayer if the given uuid is a Bedro
api/src/main/java/org/geysermc/floodgate/api/FloodgateApi.java:76
↓ 31 callers
Method
getInstance
Returns the Floodgate API instance.
api/src/main/java/org/geysermc/floodgate/api/FloodgateApi.java:42
↓ 30 callers
Method
equals
(Object obj)
api/src/main/java/org/geysermc/floodgate/api/player/PropertyKey.java:81
↓ 29 callers
Method
getField
Get a field of a class. Calling this method is equal to calling {@link Class#getField(String)} where String is the fieldName when isPublic is true and
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:218
↓ 27 callers
Method
getName
Returns the name of this database implementation. This will return null when Player Linking is disabled or when <b>only</b> Global Linking is used.
api/src/main/java/org/geysermc/floodgate/api/link/PlayerLink.java:125
↓ 24 callers
Method
remove
(Object o)
spigot/src/main/java/org/geysermc/floodgate/inject/spigot/CustomList.java:85
↓ 22 callers
Method
getClass
Get the class from a class name. Calling this method is equal to calling {@link Class#forName(String)} where String is the class name.<br> This method
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:85
↓ 21 callers
Method
add
(String[] message, Object... args)
core/src/main/java/org/geysermc/floodgate/util/PostEnableMessages.java:51
↓ 21 callers
Method
format
(String message, Object... arguments)
core/src/main/java/org/geysermc/floodgate/util/MessageFormatter.java:32
↓ 21 callers
Function
relocate
build-logic/src/main/kotlin/extensions.kt:79
↓ 20 callers
Method
isEmpty
()
spigot/src/main/java/org/geysermc/floodgate/inject/spigot/CustomList.java:47
↓ 19 callers
Function
provided
build-logic/src/main/kotlin/extensions.kt:61
↓ 18 callers
Method
get
()
core/src/main/java/org/geysermc/floodgate/command/util/Permission.java:53
↓ 18 callers
Method
info
Logs an info message to the console, with 0 or more arguments. @param message the message to log to the console @param args the arguments to fill
api/src/main/java/org/geysermc/floodgate/api/logger/FloodgateLogger.java:62
↓ 17 callers
Method
of
(String name, boolean allowUuid, boolean allowOffline, PlayerType limitTo)
core/src/main/java/org/geysermc/floodgate/player/audience/PlayerAudienceArgument.java:52
↓ 16 callers
Method
getValue
Get the value of a field. This method first makes the field accessible and then gets the value.<br> This method will return null instead of throwing a
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:312
↓ 14 callers
Method
getProperty
(PropertyKey key)
api/src/main/java/org/geysermc/floodgate/api/player/FloodgatePlayer.java:152
↓ 13 callers
Method
getClassOrFallback
(String className, String fallbackClassName)
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:121
↓ 13 callers
Method
getCorrectUniqueId
Returns the uuid that the server will use as uuid of that player. Will return {@link #getJavaUniqueId()} when not linked or {@link LinkedPlayer#getJav
api/src/main/java/org/geysermc/floodgate/api/player/FloodgatePlayer.java:56
↓ 13 callers
Method
getPlayerLink
Returns the instance that manages all the linking.
api/src/main/java/org/geysermc/floodgate/api/FloodgateApi.java:161
↓ 13 callers
Method
makeAccessible
Make the object accessible if it isn't accessible yet @param accessibleObject the object to make accessible @param <T> accessible object
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:657
↓ 13 callers
Method
setValue
Set the value of a field. This method make the field accessible and then sets the value.<br> This method doesn't throw an exception when failed, but i
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:405
↓ 12 callers
Method
getCastedValue
Get the value of a field and cast it to T. @param instance the instance to get the value from @param field the field to get the value from @param
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:362
↓ 12 callers
Method
getCorrectUsername
Returns the username the server will as username for that player. Will return {@link #getJavaUsername()} when not linked or {@link LinkedPlayer#getJav
api/src/main/java/org/geysermc/floodgate/api/player/FloodgatePlayer.java:63
↓ 12 callers
Method
getFieldOfType
Get a field from a class without having to provide a field name. @param clazz the class to search the field from @param fieldType the type of the
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:277
↓ 12 callers
Method
getPrefixedClass
Get a class that is prefixed with the prefix provided in {@link #setPrefix(String)}. Calling this method is equal to calling {@link #getClass(String)}
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:62
↓ 12 callers
Method
getString
Get a formatted language string with the given locale for Floodgate @param key language string to translate @param locale locale to translate to @
core/src/main/java/org/geysermc/floodgate/util/LanguageManager.java:147
↓ 11 callers
Method
get
(int index)
spigot/src/main/java/org/geysermc/floodgate/inject/spigot/CustomList.java:135
↓ 10 callers
Method
add
(Object o)
spigot/src/main/java/org/geysermc/floodgate/inject/spigot/CustomList.java:72
↓ 10 callers
Method
castedInvoke
Invoke the given method of the given instance with the given arguments and cast the value. @param instance the instance to get the value from @param
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:620
↓ 10 callers
Method
getCorrectUniqueId
()
api/src/main/java/org/geysermc/floodgate/api/handshake/HandshakeData.java:61
↓ 10 callers
Method
set
( FloodgateApi floodgateApi, PlayerLink link, FloodgateEventBus floodgateE
api/src/main/java/org/geysermc/floodgate/api/InstanceHolder.java:46
↓ 8 callers
Method
contains
(Collection<? extends TypeElement> elements, String className)
ap/src/main/java/org/geysermc/floodgate/ap/ClassProcessor.java:107
↓ 8 callers
Method
debug
Logs a debug message to the console, with 0 or more arguments. @param message the message to log to the console @param args the arguments to fill
api/src/main/java/org/geysermc/floodgate/api/logger/FloodgateLogger.java:72
↓ 8 callers
Method
disconnect
(@NonNull String reason)
core/src/main/java/org/geysermc/floodgate/player/UserAudience.java:69
↓ 8 callers
Method
getClassSilently
(String className)
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:101
↓ 8 callers
Method
getJavaUniqueId
Returns the Java unique id of the linked player.
api/src/main/java/org/geysermc/floodgate/api/link/LinkRequest.java:40
↓ 8 callers
Method
getJavaUuid
(long xuid)
core/src/main/java/org/geysermc/floodgate/util/Utils.java:90
↓ 8 callers
Method
getUsername
Returns the real username of the Bedrock client. This username doesn't have a prefix, spaces aren't replaced and the username hasn't been shortened.
api/src/main/java/org/geysermc/floodgate/api/player/FloodgatePlayer.java:74
↓ 8 callers
Method
handle
Called when a registered packet has been seen. @param ctx the channel handler context of the connection @param packet the packet instanc
api/src/main/java/org/geysermc/floodgate/api/packet/PacketHandler.java:44
↓ 8 callers
Method
isCodeOk
()
core/src/main/java/org/geysermc/floodgate/util/HttpClient.java:174
↓ 8 callers
Method
isDebug
Returns true if debugging is enabled
api/src/main/java/org/geysermc/floodgate/api/logger/FloodgateLogger.java:85
↓ 8 callers
Method
newInstance
(Constructor<T> constructor, Object... parameters)
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:197
↓ 8 callers
Method
translatedInfo
(String message, Object... args)
api/src/main/java/org/geysermc/floodgate/api/logger/FloodgateLogger.java:64
↓ 7 callers
Method
getConstructor
(Class<T> clazz, boolean declared, Class<?>... parameters)
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:172
↓ 7 callers
Method
getIp
Returns the IP address of the client. The initial value is {@link BedrockData#getIp()} when BedrockData isn't null, or null if BedrockData is null. Th
api/src/main/java/org/geysermc/floodgate/api/handshake/HandshakeData.java:95
↓ 7 callers
Method
handled
()
core/src/main/java/org/geysermc/floodgate/pluginmessage/PluginMessageChannel.java:58
↓ 7 callers
Method
isLinked
Returns true if the player is linked to a Java account
api/src/main/java/org/geysermc/floodgate/api/player/FloodgatePlayer.java:114
↓ 7 callers
Method
name
()
core/src/main/java/org/geysermc/floodgate/command/main/VersionSubcommand.java:53
↓ 7 callers
Method
permission
()
core/src/main/java/org/geysermc/floodgate/command/main/VersionSubcommand.java:63
↓ 7 callers
Method
register
Register a specific class for a specific consumer. @param handler the packet handler instance @param packetClass the class to start listening for
api/src/main/java/org/geysermc/floodgate/api/packet/PacketHandlers.java:44
↓ 7 callers
Method
warn
Logs a warning message to the console, with 0 or more arguments. @param message the message to log to the console @param args the arguments to fil
api/src/main/java/org/geysermc/floodgate/api/logger/FloodgateLogger.java:54
↓ 6 callers
Method
callHandlerAndReturnResult
( ResultType resultType, Channel channel, BedrockData bedrockData,
core/src/main/java/org/geysermc/floodgate/player/FloodgateHandshakeHandler.java:251
↓ 6 callers
Method
failedFuture
()
core/src/main/java/org/geysermc/floodgate/link/DisabledPlayerLink.java:117
↓ 6 callers
Method
forward
()
core/src/main/java/org/geysermc/floodgate/pluginmessage/PluginMessageChannel.java:54
↓ 6 callers
Method
getChannel
Returns the Channel holding the connection between the client and the server.
api/src/main/java/org/geysermc/floodgate/api/handshake/HandshakeData.java:42
↓ 6 callers
Method
getIdentifier
()
core/src/main/java/org/geysermc/floodgate/pluginmessage/PluginMessageChannel.java:35
↓ 6 callers
Method
isEnabled
Return if account linking is enabled. The difference between enabled and allowed is that 'enabled' still allows already linked people to join with the
api/src/main/java/org/geysermc/floodgate/api/link/PlayerLink.java:132
↓ 6 callers
Method
loadLocale
Loads a Floodgate locale from resources; if the file doesn't exist it just logs a warning @param locale locale to load @return true if the locale has
core/src/main/java/org/geysermc/floodgate/util/LanguageManager.java:108
↓ 6 callers
Method
map
(@NonNull T base)
core/src/main/java/org/geysermc/floodgate/player/audience/FloodgateSenderMapper.java:42
↓ 6 callers
Method
set
(Injector injector)
core/src/main/java/org/geysermc/floodgate/util/InjectorHolder.java:37
↓ 6 callers
Method
size
()
spigot/src/main/java/org/geysermc/floodgate/inject/spigot/CustomList.java:42
↓ 6 callers
Method
stop
Called when the Floodgate plugin is going to shutdown
api/src/main/java/org/geysermc/floodgate/api/link/PlayerLink.java:153
↓ 6 callers
Method
uuidToBytes
(UUID uuid)
database/mongo/src/main/java/org/geysermc/floodgate/database/MongoDbDatabase.java:325
↓ 6 callers
Method
uuidToBytes
(UUID uuid)
database/mysql/src/main/java/org/geysermc/floodgate/database/MysqlDatabase.java:327
↓ 5 callers
Method
apply
Performs this operation on the given arguments. @param t the first input argument @param u the second input argument @param v the third input argumen
api/src/main/java/org/geysermc/floodgate/api/util/TriFunction.java:54
↓ 5 callers
Method
applySkin
Apply a skin to a {@link FloodgatePlayer player} @param floodgatePlayer player to apply skin to @param skinData data for skin to apply to player @par
core/src/main/java/org/geysermc/floodgate/skin/SkinApplier.java:40
↓ 5 callers
Method
getLanguageCode
Returns the language code of the Bedrock client
api/src/main/java/org/geysermc/floodgate/api/player/FloodgatePlayer.java:89
↓ 5 callers
Method
getLocale
(Locale locale)
core/src/main/java/org/geysermc/floodgate/util/Utils.java:86
↓ 5 callers
Method
getPendingRemovePlayer
(UUID correctUuid)
core/src/main/java/org/geysermc/floodgate/api/SimpleFloodgateApi.java:232
↓ 5 callers
Method
getVerifyLinkTimeout
Returns the duration (in seconds) before a {@link LinkRequest} timeouts
api/src/main/java/org/geysermc/floodgate/api/link/PlayerLink.java:137
↓ 5 callers
Method
indexOf
(Object o)
spigot/src/main/java/org/geysermc/floodgate/inject/spigot/CustomList.java:145
↓ 5 callers
Method
kick
(String reason)
core/src/main/java/org/geysermc/floodgate/pluginmessage/PluginMessageChannel.java:62
↓ 5 callers
Method
load
Called by Floodgate after the initialization of the class. In this method the implementation should start the connection with the database and create
api/src/main/java/org/geysermc/floodgate/api/link/PlayerLink.java:44
↓ 5 callers
Method
setKickMessage
(String message)
core/src/main/java/org/geysermc/floodgate/addon/data/CommonDataHandler.java:155
↓ 5 callers
Method
signature
Returns the signature of the skin texture.
api/src/main/java/org/geysermc/floodgate/api/event/skin/SkinApplyEvent.java:72
↓ 5 callers
Method
value
Returns the value of the skin texture.
api/src/main/java/org/geysermc/floodgate/api/event/skin/SkinApplyEvent.java:67
↓ 4 callers
Method
applyPrefix
(String className)
core/src/main/java/org/geysermc/floodgate/util/ReflectionUtils.java:50
↓ 4 callers
Method
asyncGet
(String urlString)
core/src/main/java/org/geysermc/floodgate/util/HttpClient.java:56
↓ 4 callers
Method
failedFuture
()
core/src/main/java/org/geysermc/floodgate/link/GlobalPlayerLinking.java:221
↓ 4 callers
Method
getLinkCode
Returns the code that the Bedrock player has to enter in order to link the account.
api/src/main/java/org/geysermc/floodgate/api/link/LinkRequest.java:45
↓ 4 callers
Method
getLinkedPlayer
Get a linked player by the bedrock uuid @param bedrockId the uuid of the bedrock player @return a completable future with the {@link LinkedPlayer}. T
api/src/main/java/org/geysermc/floodgate/api/link/PlayerLink.java:53
↓ 4 callers
Method
getUsernameFromSource
(@NonNull Object source)
core/src/main/java/org/geysermc/floodgate/platform/command/CommandUtil.java:80
↓ 4 callers
Method
getUuidFromSource
(@NonNull Object source)
core/src/main/java/org/geysermc/floodgate/platform/command/CommandUtil.java:81
↓ 4 callers
Method
getXuid
Returns the Xbox Unique Identifier of the Bedrock client
api/src/main/java/org/geysermc/floodgate/api/player/FloodgatePlayer.java:79
↓ 4 callers
Method
isFloodgatePlayer
Method to determine if the given <b>online</b> player is a bedrock player @param uuid The uuid of the <b>online</b> player @return true if the given
api/src/main/java/org/geysermc/floodgate/api/FloodgateApi.java:68
↓ 4 callers
Method
isRequestedPlayer
Checks if the given FloodgatePlayer is the player requested in this LinkRequest. This method will check both the real bedrock username {@link Floodgat
api/src/main/java/org/geysermc/floodgate/api/link/LinkRequest.java:74
↓ 4 callers
Method
newSkin
()
core/src/main/java/org/geysermc/floodgate/event/skin/SkinApplyEventImpl.java:59
↓ 4 callers
Method
removeHandler
This method is used in Addons.<br> Most addons can be removed once the player associated to the channel has been logged in, but they should also be re
core/src/main/java/org/geysermc/floodgate/util/Utils.java:60
↓ 3 callers
Method
addInjectedClient
(Channel channel)
core/src/main/java/org/geysermc/floodgate/inject/CommonPlatformInjector.java:43
↓ 3 callers
Method
addProperty
(PropertyKey key, Object value)
api/src/main/java/org/geysermc/floodgate/api/player/FloodgatePlayer.java:164
↓ 3 callers
Function
branchName
build-logic/src/main/kotlin/extensions.kt:43
↓ 3 callers
Function
calcExclusion
build-logic/src/main/kotlin/extensions.kt:83
next →
1–100 of 832, ranked by callers