Providing client types to servers
Many Java servers need to face cheaters and hackers on their servers. Well, today I came up with a great idea to stop it!
The Idea: upon logging into a server, the client will have to provide its client type (Vanilla, Forge, Lunar, Badlion, etc).
How to identify client types? Every client host (Forge, Lunar, Badlion, etc) can get a secret key given from Mojang itself. The secret key will be stored in the host's database (Lunar, etc) so it can't be revealed easily.
Allowing client types: By setting an option in the server.properties the server will allow specific client types. Example:
allowed-client-types: [Vanilla, Forge, Lunar, Badlion]
If the client has an unidentified type (or doesn't have a key assigned to it), the server won't accept the client.
You can also disable client type check to allow any type of client to your server by putting * in the allowed-client-types.
I think this has a lot of potentials to stop the cheat problems in Hypixel for example.
Please sign in to leave a comment.