public final class MojangAuth
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static void
Enables mojang authentication on the server.
static boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
@Nullable
public static @Nullable KeyPair getKeyPair()