Download Auth — Minecraft Mods — MetaMods
Auth

Downloads

0

Last update

6 months ago

Versions

1.19 — 1.21.5
Server
Fabric
Forge
Neoforge
Quilt
Control
Social
Utils

Auth

bg


📖 About the Modification

Authorization system for login and registration on Minecraft servers.


⚠️ Important Information

In vanilla Minecraft, there is no /kick command, so to forcibly disconnect unauthorized players, a large number of particles are generated, causing the game to crash. This feature can be disabled through settings using the command /function auth:settings.


⌨️ Management Commands

For Players

Registration:

/trigger register set <password>

Login to the system:

/trigger login set <your password>

Password change (requires authorization):

/trigger change_password set <new password>

For Administrators

Reset player data:

/execute as <player> run function auth:auth/reset

Reset all players data:

/function auth:auth/reset_all_players

View player password:

/gamerule sendCommandFeedback true
/scoreboard players get <player> register
/gamerule sendCommandFeedback false

Disable the system:

/function auth:disable

Enable the system:

/datapack enable "file/auth.zip"

Settings

To view the settings menu, use the command:

/function auth:settings

Authorization Bypass

Grant authorization bypass to a player:

/tag <player> add auth.bypass

Revoke authorization bypass:

/tag <player> remove auth.bypass

Custom Messages

You can modify the text and color of system messages.

Available settings:

  • please_register_text - registration request text
  • please_register_color - registration request color
  • register_success_text - successful registration text
  • register_success_color - successful registration color
  • please_login_text - login request text
  • please_login_color - login request color
  • login_success_text - successful login text
  • login_success_color - successful login color
  • wrong_password_text - wrong password text
  • wrong_password_color - wrong password color
  • password_changed_text - password change text
  • password_changed_color - password change color

Syntax:

/data modify storage auth:config <setting> set value "<value>"

Example for Spanish:

/data modify storage auth:config please_register_text set value "Registrese con /trigger register set <contraseña>"
/data modify storage auth:config please_register_color set value "gray"
Project members
lullaby6

lullaby6

Developer

lullaby

lullaby

Developer

Created: 3 Feb 2023

ID: 9879