Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.xreatlabs.space/llms.txt

Use this file to discover all available pages before exploring further.

Admin Commands

Administrative commands for managing players, authentication, and server settings.

Player Management

/nexauth account

View detailed player account information.
/nexauth account <player>
Shows:
  • Account UUID and username
  • Registration date
  • Last login details
  • Premium status
  • 2FA status
  • Session information
  • IP history

/nexauth changepassword

Change a player’s password.
/nexauth changepassword <player> <new_password>
Use cases:
  • Password recovery
  • Forced password changes
  • Compromised account reset

/nexauth unregister

Delete a player’s account.
/nexauth unregister <player>
Effects:
  • Removes account data
  • Invalidates sessions
  • Deletes 2FA data
  • Removes premium links

Session Management

/nexauth sessions

View and manage active sessions.
/nexauth sessions list
/nexauth sessions revoke <player>
/nexauth sessions revoke-all
Features:
  • List all active sessions
  • Revoke specific player sessions
  • Revoke all server sessions
  • View session details

Premium Management

/nexauth premium

Manage premium account status.
/nexauth premium set <player> true/false
/nexauth premium check <player>
/nexauth premium sync
Operations:
  • Set premium status manually
  • Check premium verification
  • Sync with Mojang servers
  • Bulk premium updates

Database Management

/nexauth database

Database operations and maintenance.
/nexauth database backup
/nexauth database restore <file>
/nexauth database optimize
/nexauth database cleanup
Maintenance:
  • Backup database
  • Restore from backup
  • Optimize tables
  • Clean old data

Export/Import

/nexauth export

Export player data.
/nexauth export all
/nexauth export players
/nexauth export sessions
Formats: JSON, CSV, SQL

/nexauth import

Import player data from other plugins.
/nexauth import authme <file>
/nexauth import xauth <file>
/nexauth import csv <file>
Supported:
  • AuthMe
  • xAuth
  • LoginSecurity
  • Generic CSV/SQL

Configuration Commands

/nexauth reload

Reload plugin configuration.
/nexauth reload [config/database/messages]
Options:
  • config - Reload configuration files
  • database - Reconnect to database
  • messages - Reload language files

/nexauth debug

Enable/disable debug mode.
/nexauth debug <level>
Levels:
  • 0 - Errors only
  • 1 - Errors and warnings
  • 2 - Add info messages
  • 3 - Full debug output

Statistics

/nexauth stats

View authentication statistics.
/nexauth stats
Shows:
  • Total registered players
  • Active sessions
  • Premium player count
  • 2FA enabled accounts
  • Recent authentication attempts
  • Failed login attempts

Configuration

commands:
  admin:
    # Require admin permission
    permission: "nexauth.admin"
    
    # Console-only commands
    console-only: false
    
    # Cooldowns
    cooldowns:
      changepassword: 0
      unregister: 30

Permissions

nexauth.admin.*: true  # All admin commands
nexauth.admin.account: true  # View accounts
nexauth.admin.changepassword: true  # Change passwords
nexauth.admin.unregister: true  # Delete accounts
nexauth.admin.sessions: true  # Manage sessions
nexauth.admin.premium: true  # Manage premium status

Best Practices

Next Steps

Permissions Reference

Complete permission nodes reference.