Class WrapperLoginServerEncryptionRequest

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperLoginServerEncryptionRequest>
com.github.retrooper.packetevents.wrapper.login.server.WrapperLoginServerEncryptionRequest

public class WrapperLoginServerEncryptionRequest extends PacketWrapper<WrapperLoginServerEncryptionRequest>
This packet is sent by the server to the client if the server is in online mode. If the server is in offline mode, this packet won't be sent, encryption won't be enabled and no authentication will be performed.
See Also:
  • Constructor Details

    • WrapperLoginServerEncryptionRequest

      public WrapperLoginServerEncryptionRequest(PacketSendEvent event)
    • WrapperLoginServerEncryptionRequest

      public WrapperLoginServerEncryptionRequest(String serverID, PublicKey publicKey, byte[] verifyToken)
    • WrapperLoginServerEncryptionRequest

      public WrapperLoginServerEncryptionRequest(String serverID, PublicKey publicKey, byte[] verifyToken, boolean shouldAuthenticate)
    • WrapperLoginServerEncryptionRequest

      public WrapperLoginServerEncryptionRequest(String serverID, byte[] publicKeyBytes, byte[] verifyToken)
    • WrapperLoginServerEncryptionRequest

      public WrapperLoginServerEncryptionRequest(String serverID, byte[] publicKeyBytes, byte[] verifyToken, boolean shouldAuthenticate)
  • Method Details