Register system with premium bypass.

Status
This thread has been locked.

dutchminerHD

Feedback score
0
Posts
123
Reactions
25
Resources
0
Hello everyone,

I'm looking for a plugin that will force a cracked player to register with a password and premium players can just bypass the login system.
A server called extremecraft has this option.
Can anyone help me with this plugin please?

Regards,
DutchminerHD
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Billison

I make stuff with code occasionally
Supreme
Feedback score
6
Posts
144
Reactions
43
Resources
0
Hello everyone,

I'm looking for a plugin that will force a cracked player to register with a password and premium players can just bypass the login system.
A server called extremecraft has this option.
Can anyone help me with this plugin please?

Regards,
DutchminerHD
Hey, what do you mean by premium?
 

pcranaway

Premium
Feedback score
4
Posts
508
Reactions
148
Resources
0
As far as I know due to updates to Mojang you are unable to detect whether player has connected with cracked or with premium account.
If a player has connected with a cracked account, Player#getUniqueId returns their username hashed, if not, then it returns their actual uuid.
What you can do is hash their username and check if it's what Player#getUniqueId returns.
 

pcranaway

Premium
Feedback score
4
Posts
508
Reactions
148
Resources
0
You are probably misunderstanding meaning of "hash", hash is irreversible (as of now, still there is chance but very unlikely).

(In case some smart ass wanna come and trash thread, here I'll explain just in-case ;) )

Example of the sum for two mathematical numbers: 100 + 100 = 200
a) 101 + 99 = 200
b) 102 + 98 = 200
c) and so forth..

Now the similar way hash algorithm works, eventually it's going sequentially and the results from earlier operations are used in later operations.


What you meant is that cracked player account has combined "OfflinePlayer:" with their name. Which is not a hash.

https://github.com/SpigotMC/BungeeC..._5/bungee/connection/InitialHandler.java#L448

(As an addition, that does not work for your information. I've been trying to do such thing but haven't succeeded, was told due to recent Mojang updates it's not possible)
neeeeeeeeeeerd
 
Status
This thread has been locked.
Top