java.lang.Object
net.minestom.server.extras.velocity.VelocityProxy
Deprecated, for removal: This API element is subject to removal in a future version.
Support for Velocity modern forwarding.
Can be enabled by simply calling enable(String)
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkIntegrity
(NetworkBuffer buffer) Deprecated, for removal: This API element is subject to removal in a future version.static void
Deprecated, for removal: This API element is subject to removal in a future version.Enables velocity modern forwarding.static Key
getKey()
Deprecated, for removal: This API element is subject to removal in a future version.static boolean
Deprecated, for removal: This API element is subject to removal in a future version.Gets if velocity modern forwarding is enabled.
-
Field Details
-
PLAYER_INFO_CHANNEL
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
VelocityProxy
public VelocityProxy()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
enable
Deprecated, for removal: This API element is subject to removal in a future version.Enables velocity modern forwarding.- Parameters:
secret
- the forwarding secret, be sure to do not hardcode it in your code but to retrieve it from a file or anywhere else safe
-
isEnabled
public static boolean isEnabled()Deprecated, for removal: This API element is subject to removal in a future version.Gets if velocity modern forwarding is enabled.- Returns:
- true if velocity modern forwarding is enabled
-
getKey
Deprecated, for removal: This API element is subject to removal in a future version. -
checkIntegrity
Deprecated, for removal: This API element is subject to removal in a future version.
-
MinecraftServer.init(Auth)