java.lang.Object
net.minestom.server.extras.MojangAuth
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 TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.static void
init()
Deprecated, for removal: This API element is subject to removal in a future version.Enables mojang authentication on the server.static boolean
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
MojangAuth
public MojangAuth()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
init
public static void init()Deprecated, for removal: This API element is subject to removal in a future version.Enables mojang authentication on the server.Be aware that enabling a proxy will make Mojang authentication ignored.
-
isEnabled
public static boolean isEnabled()Deprecated, for removal: This API element is subject to removal in a future version. -
getKeyPair
Deprecated, for removal: This API element is subject to removal in a future version.
-
MinecraftServer.init(Auth)