webbukkit / dynmap

A set of Minecraft mods that provide a real time web-based map system for various Minecraft server implementations.
https://www.reddit.com/r/Dynmap/
Apache License 2.0
2.07k stars 422 forks source link

Add support for other account systems #3598

Open ImplicitSaber opened 2 years ago

ImplicitSaber commented 2 years ago

Feature Description: It would be nice if you would add a config option to use an external account system. Maybe add an API for other plugins to use their own account system. Example:

public class AccountSystem implements DynmapAccSystem {

   @Override
   public DynmapAcc getAccByPlayer(UUID id) {
      //return the account
   }

   @Override
   public boolean regAccount(DynmapAcc account) {
      //return true if acc registered
   }

}

and then DynmapApi.registerAccountSystem(new AccountSystem());

generrosity commented 2 years ago

Mike would be happy if a contributor could submit some code, but I suspect in our Feature MegaList having SQL or Geyser or other custom logins have been requested before over the years but it is just really hard 😢

@FedUpWith-Tech is this one for tagging in the list?