Описание
This datapack enforces security on your server by forcing users to login with a password. When a user first joins your server they will be asked to provide a numerical password by typing:
```
/trigger login set
```
When the player joins your server for the second time they will be asked for the same password they once provided.
Until the player has provided a password they will be put into spectator mode and locked at their last position to prevent the player from causing any harm.
**Please take a backup of your world/server in the case that this mod conflicts with anything you have installed and wipes your player-data**
**Datapack installation:**
1. Locate the datapack folder for the specific world
2. Drag the Login.zip file into the datapack folder
3. Enable the datapack with /datapack enable "file/Login.zip"
**Mod instalation:**
1. Follow the instructions on how to install your prefered modloader (be it Forge, Fabric, NeoForge or Quilt)
2. Drag the downloaded .jar file into (on windows) %appdata%\.minecraft\mods
3. Launch the world and start playing
**Admin commands:**
Can be used provided you have operator status on the server
You can **reset** a player's password with:
```
/tag remove login_password
```
You can **change** a player's password with:
```
/scoreboard players set login_password
```
**Please report any problems on my discord server.**