AdmincraftA
Admincraftβ€’9mo ago
Proficode

Authentication on MC server written in Python doesn't work

I'm currently trying to make an online mode for my Minecraft server and I don't know why it's not working. I've done everything according to the wiki () but it doesn't help at all. Can anyone help? I'm using 1.21.5.
The login function is in login.py.

Can anyone help? The problem is that it always hangs on "Encrypting..." until it times out or gives an error like unknown packet, VarInt too large, etc.
image.png
image.png
login.py5.21KB
packet.py1.42KB
vars.py2.9KB
Solution
Good luck on your journey
Was this page helpful?