跳到正文

Login

作者:Lprogrammer

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

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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

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.

常见问题

Login 支持哪些 Minecraft 版本?

Login 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Login 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

Lprogrammer 的其他作品

查看全部 →