Skip to content

适用于 Minecraft 1.21.1, 1.21 的 Login 数据包

一个强制用户使用密码注册账号的 Minecraft 登录数据包。在 onlinemode=false 的服务器中尤为重要

次下载
1 次下载
次浏览
72 次浏览
已更新
已更新 04.10.2026

关于 Login 数据包

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 — 截图 2

如何安装 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.

版本

含依赖项

Minecraft加载器文件日期操作
26.3数据包26.332.8 KB 1
26.3数据包26.332.2 KB
26.2数据包26.229.9 KB
26.1数据包26.129.9 KB
1.21.11数据包1.21.1129.9 KB

常见问题

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.

评价

成为第一个评价 Login 的人

评论 0

登录后即可评论登录

相似数据包

全部数据包

了解更多

作者: Lprogrammer许可证: MIT

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。