Package net.minestom.server.extras
Class MojangAuth
java.lang.Object
net.minestom.server.extras.MojangAuth
-
Constructor Details
-
MojangAuth
public MojangAuth()
-
-
Method Details
-
init
public static void init()Enables mojang authentication on the server.Be aware that enabling a proxy will make Mojang authentication ignored.
-
isEnabled
public static boolean isEnabled() -
getKeyPair
-