What feature do you want to see added?
Add a Bukkit event that is fired when AuthMe shows the Pre-Join Dialog (login/register) to a player during the AsyncPlayerConnectionConfigureEvent phase.
This would allow third-party plugins to integrate with AuthMe's Pre-Join Dialog system in a cleaner way, without relying on reflection to access internal services like PreJoinDialogService.
Proposed event:
public class AuthMePreJoinDialogEvent extends Event {
private final String playerName;
private final UUID playerId;
private final boolean isRegistered; // true = login, false = register
// getters/setters
}
Use case:
Our plugin EasyBot provides QQ group login functionality. We use /authme forcelogin to authenticate players after external verification. An event would formalize this integration point.
Reference implementation:
Are there any alternatives?
Current approach uses reflection to access PreJoinDialogService and /authme forcelogin command for authentication. An event would be a cleaner API.
Anything else?
Similar to how AuthMeAsyncPreLoginEvent allows plugins to intercept /login commands, a AuthMePreJoinDialogEvent would allow plugins to intercept pre-join dialog prompts.
What feature do you want to see added?
Add a Bukkit event that is fired when AuthMe shows the Pre-Join Dialog (login/register) to a player during the
AsyncPlayerConnectionConfigureEventphase.This would allow third-party plugins to integrate with AuthMe's Pre-Join Dialog system in a cleaner way, without relying on reflection to access internal services like
PreJoinDialogService.Proposed event:
Use case:
Our plugin EasyBot provides QQ group login functionality. We use /authme forcelogin to authenticate players after external verification. An event would formalize this integration point.
Reference implementation:
Are there any alternatives?
Current approach uses reflection to access PreJoinDialogService and /authme forcelogin command for authentication. An event would be a cleaner API.
Anything else?
Similar to how AuthMeAsyncPreLoginEvent allows plugins to intercept /login commands, a AuthMePreJoinDialogEvent would allow plugins to intercept pre-join dialog prompts.