Описание
# Auth
[](https://discord.gg/5UdcDa5xNC)
[](https://modrinth.com/datapack/auth)
[](https://github.com/lullaby6/data-packs/blob/main/LICENSE)
[](https://ko-fi.com/lullaby45743)
[](https://paypal.me/lucianobrumer)

## 📖 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
