Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Links
Creators
Details
Licensed MIT
Published 3 weeks ago
Updated 4 days ago
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 <password>
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.
Datapack installation:
- Locate the datapack folder for the specific world
- Drag the Login.zip file into the datapack folder
- Enable the datapack with /datapack enable "file/Login.zip"
Mod instalation:
- Follow the instructions on how to install your prefered modloader (be it Forge, Fabric, NeoForge or Quilt)
- Drag the downloaded .jar file into (on windows) %appdata%.minecraft\mods
- 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 <player> remove login_password
You can change a player's password with:
/scoreboard players set <name> login_password <password>
Please report any problem on github or discord @lprogrammer.