client key login
i don't have the energy to keep this mod updated all the time, but if you want it ported to a specific minecraft version, please contact me and i'll try my best to do that for you :3
this is unstable and potentially broken! so it might break in unexpected ways! if you find a problem, please send me full details of the error so i can fix it
uses public key cryptography to authenticate to servers instead of going via Mojang's account service (yggdrasil)
features
- customise your profile extensively with the identity manager (see gallery)
- create new identities (like accounts) in seconds and switch between them even faster
- use custom skins and capes, hosted on any website (for example you can put an image URL directly linking to NameMC or similar sites)
- continue to use protocol encryption when Mojang is offline
- protection from profile stealing: your UUID is derived from your keypair, which means your player data on the server is linked to the secret on your computer, and the only way to access your player data is to have that secret (or be the server admin)
- "identity theft": clone skin and cape textures from an existing Mojang account
- you can still join vanilla servers with the mod installed - it will just use your regular account instead of a client-key identity
known incompatibilities
- LuckPerms (and possibly other permission mods): expects the UUID associated with a given username to never change, so it may work but will probably break if you use the same name as a previous login under a different identity, or if you use the same name as your Mojang account after previously logging in with that
- any proxies that don't understand the custom protocol (i.e. BungeeCord, Velocity, Waterfall, …)
notes
- by some mysterious stroke of luck, this mod is compatible with Floodgate (from Geyser)! so you can use Bedrock accounts and custom identities and Mojang accounts all at the same time if you really want to
- if you delete an identity with some associated player data, that data is not gone but is no longer accessible and you will have to ask the server admin to transfer it to your new identity (admins: this is as simple as renaming the
.datfile underworld/playerdatato the new UUID) - if you join a server with a regular Mojang account, but then change to using a client key identity, you will not have the same player data and might need to transfer it as above
- does not remove any attempts to contact Mojang, so you should still be able to join vanilla servers (as long as you're logged in to Minecraft)
- this also means if you run a server with this mod you'll need to set
enforce-secure-profiletofalsein server.properties, otherwise there will be consequences (either nobody will be able to join, or in-game chat will be disabled). of course, doing that will spam you with alerts about "insecure server" and so on, so you probably want to use no chat reports alongside this mod
check the project readme for more information on server-side configuration, and technical details
How to Install client key login (Mod)
client key login by winter is verified for Fabric across Minecraft versions 1.19.2, 1.19.4, 1.20.1, 1.20.2, 1.20.6, 1.21, 1.21.1 (latest release: 0.4.3+1.21, file size: 61 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19.2, 1.19.4, 1.20.1, 1.20.2, 1.20.6, 1.21, 1.21.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded client key login file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Versionthis conflict doesn't seem to exist on 1.20.6 so i didn't change anything there
now as a server admin, you can configure the behaviour of client key login extensively - see https://codeberg.org/winter/client-key-login#configuration for details
sources in git branch "1.20.1"
this fixes a bug of singleplayer hanging up when trying to exit, but means you can't use custom identities in singleplayer or lan worlds anymore
some internal changes (see git) but no extra functionality (so the version number is the same)