axieum / authme

:lock: Authenticate yourself in Minecraft and re-validate your session
https://www.curseforge.com/minecraft/mc-mods/auth-me
MIT License
85 stars 32 forks source link

MultiMC compatibility? #44

Open couleurm opened 2 years ago

couleurm commented 2 years ago

Is your feature request related to a problem?

Yes I'd like being able to switch account from MultiMC's accounts.json

Describe the solution you'd like.

Detect the .minecraft is actually a MultiMC instance and parse .....\accounts.json

Describe alternatives you've considered.

In-game account switcher but it hasn't worked for me

Agreements

Other

No response

axieum commented 2 years ago

Will need to investigate the contents of this MultiMC's accounts.json to see what it contains. I'm thinking of a new, fourth auth method that is only present if it detects the mod is running in a MultiMC context.

ryleu commented 2 years ago

I would recommend also supporting PolyMC. You probably wouldn't have to do any extra work, but there is a small chance a file / directory might be named differently in PolyMC.

couleurm commented 2 years ago

I use symbolic links between my MultiMC and PolyMC installs and can't recall having any issues, to give you an idea of how similar they are