PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.86k stars 2.28k forks source link

Custom AuthLib Yggdrasil API #1782

Closed Ghost-chu closed 5 years ago

Ghost-chu commented 5 years ago

Is your feature request related to a problem? Please describe. I want use myself Yggdrasil API to replace Mojang cuz i can use that link with blog, wiki and forum and Disocrd. But it usually need JavaAgent, my IDC disallow me to do that. So is possible support Custom AuthLib Yggdrasil API? Describe the solution you'd like Add a option in paper.yml

Describe alternatives you've considered Hotload JavaAgent——But plugin will loaded after minecraft server booted...

Additional context Nop

Ghost-chu commented 5 years ago

JavaAgent:https://github.com/yushijinhun/authlib-injector/wiki

mikroskeem commented 5 years ago

IDC = ? ("I Don't Care" doesn't quite fit in this context)

Side note: you can load Java agent on runtime as well, see this, you could use a wrapper which loads server jar into classpath, loads agent and then calls server's main(String[] args)

Ghost-chu commented 5 years ago

@mikroskeem IDC=Internet Data Center in there, and my idc disallow me to change server core or edit args

DoNotSpamPls commented 5 years ago

Unofficial opinion: I think this is way too niche to make an appearance as a config option. You could just edit the source code yourself to use your thing instead of the yggdrasil api

electronicboy commented 5 years ago

Bypassing mojangs authentication is not something we're inclined to support, nor are we going to write API which only a handful of people would use