Skip to content

Commands & Permissions

Default permissions

If you want to disable usage of default permissions, you can set the permission value explicitly to false in your permissions plugin (e.g., LuckPerms). For example, to restrict /register command set navauth.user.register value to FALSE.

Available commands

Command namePermissionDescription
/loginavailable by defaultLogs in into account using password (and 2FA code if set). Password parameter is always required (check /2fa command which is responsible for 2FA code only). If you want to disable this command for specific group, then set their navauth.user.login permission value to FALSE.
/2faavailable by defaultLogs in into account using 2FA code. Works only if user account has TOTP2FA code set as the only one required to authenticate. If you want to disable this command for specific group, then set their navauth.user.login permission value to FALSE.
/registeravailable by defaultCreates a new account with specified password. Applicable only for non-premium players. If you want to disable this command for specific group, then set their navauth.user.register permission value to FALSE.
/changepasswordnavauth.user.changepasswordChanges account password to new one. Requires current password.
/premiumavailable by defaultMigrates account mode to premium account. Applicable for non-premium players only. Enables auto-login and migrates to premium. This command will remove bound password and will leave 2FA secret if enabled.
/verify2fa
(complete2fa)
available by defaultCompletes 2FA setup process.
/generate2faqravailable by defaultCommand used to generate QR code with otp totp data. Available only if 2FA setup session is found.
/setup2fa
(enable2fa)
available by defaultStarts 2FA setup process.
/disable2faavailable by defaultDisables 2FA after successful verification.
/forcesetpasswordnavauth.admin.forcesetpasswordForce set password for specified user. Works like register command, but doesn't require password.
/forcecrackednavauth.admin.forcecrackedForces a premium user account into non-premium (cracked) mode. Generates or assigns a new password and updates the user’s authentication data accordingly.
/forcepremiumnavauth.admin.forcepremiumDoes the same thing as /premium on specified user, buy forcefully used as admin
/migrateusernavauth.admin.migrateuserdataMigrates user data from an existing cracked account to a new username. The command validates usernames, checks for conflicts or premium accounts, and safely transfers all stored data to the specified new account. If you want to migrate premium user, then use /forcecracked command first.
/lookup profilenavauth.admin.playerlookup.profileDisplays information about specified user.
/lookup sessions
(session)
navauth.admin.playerlookup.sessionsDisplays sessions of specified user.
/migration startnavauth.rootStarts the account data migration process based on provided migration config. Ensures only console or RCON can run it, prevents parallel executions, and reports whether the migration finished successfully or failed.

/login

Logs in into account using password (and 2FA code if set). Password parameter is always required (check /2fa command which is responsible for 2FA code only). If you want to disable this command for specific group, then set their navauth.user.login permission value to FALSE.

PERM: available by default

/2fa

Logs in into account using 2FA code. Works only if user account has TOTP2FA code set as the only one required to authenticate. If you want to disable this command for specific group, then set their navauth.user.login permission value to FALSE.

PERM: available by default

/register

Creates a new account with specified password. Applicable only for non-premium players. If you want to disable this command for specific group, then set their navauth.user.register permission value to FALSE.

PERM: available by default

/changepassword

Changes account password to new one. Requires current password.

PERM: navauth.user.changepassword

/premium

Migrates account mode to premium account. Applicable for non-premium players only. Enables auto-login and migrates to premium. This command will remove bound password and will leave 2FA secret if enabled.

PERM: available by default

/verify2fa

Aliases: complete2fa

Completes 2FA setup process.

PERM: available by default

/generate2faqr

Command used to generate QR code with otp totp data. Available only if 2FA setup session is found.

PERM: available by default

/setup2fa

Aliases: enable2fa

Starts 2FA setup process.

PERM: available by default

/disable2fa

Disables 2FA after successful verification.

PERM: available by default

/forcesetpassword

Force set password for specified user. Works like register command, but doesn't require password.

PERM: navauth.admin.forcesetpassword

/forcecracked

Forces a premium user account into non-premium (cracked) mode. Generates or assigns a new password and updates the user’s authentication data accordingly.

PERM: navauth.admin.forcecracked

/forcepremium

Does the same thing as /premium on specified user, buy forcefully used as admin

PERM: navauth.admin.forcepremium

/migrateuser

Migrates user data from an existing cracked account to a new username. The command validates usernames, checks for conflicts or premium accounts, and safely transfers all stored data to the specified new account. If you want to migrate premium user, then use /forcecracked command first.

PERM: navauth.admin.migrateuserdata

/lookup profile

Displays information about specified user.

PERM: navauth.admin.playerlookup.profile

/lookup sessions

Aliases: session

Displays sessions of specified user.

PERM: navauth.admin.playerlookup.sessions

/migration start

Starts the account data migration process based on provided migration config. Ensures only console or RCON can run it, prevents parallel executions, and reports whether the migration finished successfully or failed.

PERM: navauth.root

Made by Navio1430 and Contributors with ❤️