Class MojangAuth

java.lang.Object
net.minestom.server.extras.MojangAuth

public final class MojangAuth
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    MojangAuth()  
  • Method Summary

    Modifier and Type Method Description
    static void init()
    Enables mojang authentication on the server.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • init

      public static void init()
      Enables mojang authentication on the server.

      Be aware that enabling a proxy will make Mojang authentication ignored.