Modscraper Modscraper Minecraft
Login logo

Login

Mod

A Minecraft login datapack that forces users to register their account with a password. Especially important in servers with online_mode=false

Type

Mod

Modrinth Downloads

7,012

Modrinth ID

kxs8saks

Last Updated

Jun 17, 2026

Description

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.

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 <player> remove login_password

You can change a player's password with:

/scoreboard players set <name> login_password <password>

Please report any problems on my discord server.

Compatibility

Mod Loaders

Datapack Fabric Forge Neoforge Quilt

Game Versions

1.21 1.21.1 24w33a 24w34a 24w35a 24w36a 24w37a 24w38a 24w39a 24w40a +19 more

Screenshots

Similar Mods

External Resources