How to Administer Player Accounts and LuckPerms Contexts
Operators can inspect, modify, and troubleshoot player authentication data directly through the /auth command group.
Managing Registered Accounts
When players lose access or require manual administrative intervention, use the following commands:
1. View a list of all registered users on the server by running /auth list.
2. Inspect a specific player's status with /auth getPlayerInfo <player>, or see currently connected authenticated users via /auth getOnlinePlayers.
3. Manually create an account for a user with /auth register <username> <password>, or update a forgotten password using /auth update <username> <password>.
4. Delete an account entry completely using /auth remove <username>.
5. Toggle account types manually between offline and verified Mojang status using /auth markAsOnline <player> or /auth markAsOffline <player>.
Utilizing LuckPerms Contexts
Easy Auth integrates directly with LuckPerms to gate permissions based on login status:
- Assign permissions conditionally using the
easyauth:authenticatedcontext (returnstruewhen a player has logged in). - Restrict or grant features to verified Mojang accounts using the
easyauth:online_accountcontext (returnstruefor online accounts).