← Назад к ресурсам

Auth

Login and Register Authorization

Modrinth management social utility

Описание

# Auth [![Discord](https://img.shields.io/discord/1327308441324097681?label=discord&color=blue&logo=discord)](https://discord.gg/5UdcDa5xNC) [![Modrinth](https://img.shields.io/modrinth/dt/auth?label=modrinth&logo=modrinth)](https://modrinth.com/datapack/auth) [![License](https://img.shields.io/github/license/lullaby6/data-packs)](https://github.com/lullaby6/data-packs/blob/main/LICENSE) [![Donate](https://shields.io/badge/ko--fi-donate-ff5f5f?logo=ko-fi)](https://ko-fi.com/lullaby45743) [![Donate](https://shields.io/badge/paypal-donate-ff5f5f?logo=paypal&color=blue)](https://paypal.me/lucianobrumer) ![bg](https://i.imgur.com/Lcq5gdq.png) ## 📖 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: ```mcfunction /trigger register set ``` Login with: ```mcfunction /trigger login set ``` Change password with (need to be logged): ```mcfunction /trigger change_password set ``` ### Admin Reset player: ```mcfunction /execute as run function auth:auth/reset ``` Reset all player: ```mcfunction /function auth:auth/reset_all_players ``` Show/get player password: ```mcfunction /gamerule sendCommandFeedback true /scoreboard players get register /gamerule sendCommandFeedback false ``` Disable: ```mcfunction /function auth:disable ``` Enable: ```mcfunction /datapack enable "file/auth.zip" ``` ### Settings To see the settings menu use the command: ```mcfunction /function auth:settings ``` ### Bypass To give a authentication bypass to a player use the command: ```mcfunction /tag add auth.bypass ``` and to remove it, use: ```mcfunction /tag remove auth.bypass ``` ## 🪪 License [AGPL-3.0-or-later](https://github.com/lullaby6/data-packs/blob/main/LICENSE) ## 👾 Bugs/Issues Please report any problem/bug/issues in the [Discord Server](https://discord.gg/5UdcDa5xNC). ## 💌 Donate - [Donate on Ko-Fi](https://ko-fi.com/lullaby45743) - [Donate on PayPal](https://www.paypal.com/paypalme/lucianobrumer) ## 🎁 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](https://www.bisecthosting.com/partners/custom-banners/e840cd99-59f6-4b27-b542-3023cd08bdfe.webp)