04-16-2014, 01:10 AM
(This post was last modified: 04-16-2014, 02:01 AM by daniel0916.)
I found a problem. What is when someone switch the Authentication on? The old uuid's can't be used because they are generated. I think we should check if the name is bought and then get the uuid from mojang without authentication. Then the players who have bought minecraft can join also to the server when he switch to online mode.
Method 1: Player->IsPremium();
Method 2: cPlayer::GetUUID(UserName); (static)
Edit: But the vanilla don't do this... Maybe it's didn't need?
Edit2: With vanilla server: When you join when the server is in offline mode and you will be banned, you can join when the server will be changed to online mode. With my method this won't be working. Is it useful?
Method 1: Player->IsPremium();
Method 2: cPlayer::GetUUID(UserName); (static)
Edit: But the vanilla don't do this... Maybe it's didn't need?
Edit2: With vanilla server: When you join when the server is in offline mode and you will be banned, you can join when the server will be changed to online mode. With my method this won't be working. Is it useful?