Skip to content

Login Data pack for Minecraft 1.21.1, 1.21

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

On a server
downloads
1 downloads
views
68 views
Updated
Updated 04.10.2026

About the Login data pack

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. Please also take regular backups if you are using this datapack, as it isn't as secure as a mod

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

You can change a player's password with:

/scoreboard players set login_password

Please report any problems on my discord server.

Login — screenshot 2

How to install Login

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the data pack for Minecraft 1.21–26.3 automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Download the archive

    Pick the file Login.zip (33 KB) for your game version.

  2. New world: “Data Packs”

    When creating a world, click “Data Packs”, drag the archive into the window, then move it to “Selected”.

  3. Existing world: the datapacks folder

    Put the archive into saves/<world>/datapacks and type /reload in game.

On a server

  1. Archive goes into the server world’s datapacks

    The world/datapacks folder on the server; players do not need to install anything.

  2. Reload the data

    Type /reload in the server console or restart the server.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Versions

With dependencies

MinecraftLoaderFileDateActions
26.3Data pack26.332.8 KB 1
26.3Data pack26.332.2 KB
26.2Data pack26.229.9 KB
26.1Data pack26.129.9 KB
1.21.11Data pack1.21.1129.9 KB

FAQ

Which Minecraft versions does Login work on?

There are files for 1.21–26.3, 17 versions in total. The newest is 26.3.

Does Login work on a server?

Yes: the data pack goes into the datapacks folder of the server world, and players do not need to install anything.

Where can I download Login safely?

On this page: the file Login.zip (33 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 0e5a96a64466338fdd91dfe8d13b9ab44d1f559e.

Reviews

Be the first to rate Login

Comments 0

Sign in to commentSign in

Similar data packs

All data packs

More on this

Author: LprogrammerLicense: MIT

Are you the author? Contact us — we will take it down within 48 hours.