Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Auth

Auth

Login and Register Authorization

9,428
32
Management
Social
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20–1.20.1
1.19–1.19.3

Platforms

Data Pack
Fabric
Forge
NeoForge
Quilt

Supported environments

Server-side
Client and server (optional)

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

View source Join Discord server
DonateDonate on Ko-fiDonate on PayPal

Creators

lullaby
lullaby Owner

Details

Licensed AGPL-3.0-or-later
Published 2 years ago
Updated 3 months ago
DescriptionGalleryChangelogVersions

Auth

Discord Modrinth License

bg


📖 Description

Login and Register Authorization


⚠️ Warning

In vanilla we cannot use /kick, so I use many particles to kick (game crash) a malicious player, but you can disable it by disabling kick in /function auth:settings.


⌨️ Commands

Player

Register with:

/trigger register set <password>

Login with:

/trigger login set <your password>

Change password with (need to be logged):

/trigger change_password set <new password>

Admin

Reset player:

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

Reset all player:

/function auth:auth/reset_all_players

Show/get player password:

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

Disable:

/function auth:disable

Enable:

/datapack enable "file/auth.zip"

Settings

To see the settings menu use the command:

/function auth:settings

Bypass

To give a authentication bypass to a player use the command:

/tag <player> add auth.bypass

and to remove it, use:

/tag <player> remove auth.bypass

Custom messages

You can change the messages and the message color.

List of options
  • please_register_text
  • please_register_color
  • register_success_text
  • register_success_color
  • please_login_text
  • please_login_color
  • login_success_text
  • login_success_color
  • wrong_password_text
  • wrong_password_color
  • password_changed_text
  • password_changed_color

Syntax:

/data modify storage auth:config <option> 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"

🪪 License

AGPL-3.0-or-later


👾 Bugs/Issues

Please report any problem/bug/issues in the Discord Server.


💌 Donate

  • Donate on Ko-Fi
  • Donate on PayPal

🎁 Server Hosting

Creating your own server can be a very lengthy, tedious and costly process.

But with BisectHosting, you get your own server in just a couple of clicks! With their 24/7 support and fast-response time, no issues shall stand in your way! Interested? Then we've got a deal for you!

https://bisecthosting.com/lullaby

Server Hosting

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.