Deprecate userAuths in favor of a saved token system

This commit is contained in:
Camotoy 2022-03-03 18:52:26 -05:00
parent 37c854b5ac
commit c977e36368
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
15 changed files with 251 additions and 33 deletions

View file

@ -275,6 +275,12 @@ public class GeyserStandaloneBootstrap implements GeyserBootstrap {
return Paths.get(System.getProperty("user.dir"));
}
@Override
public Path getSavedUserLoginsFolder() {
// Return the location of the config
return new File(configFilename).getAbsoluteFile().getParentFile().toPath();
}
@Override
public BootstrapDumpInfo getDumpInfo() {
return new GeyserStandaloneDumpInfo(this);