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:
- 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 problems on my discord server.
How to Install Login (Datapack)
Login by Lprogrammer is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.2-pre1, 1.21.2-pre2, 1.21.3 (latest release: 12+mod, file size: 80 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.2-pre1, 1.21.2-pre2, 1.21.3) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Login file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
|
R
12
|
2mo ago | 2 | |||
|
R
12
|
2mo ago | 1 | |||
|
R
11
|
2mo ago | 1 | |||
|
R
11
|
2mo ago | 1 | |||
|
R
10
|
2mo ago | 1 | |||
|
R
10
|
2mo ago | 1 | |||
|
R
9
|
2mo ago | 1 | |||
|
R
9
|
2mo ago | 1 | |||
|
R
8
|
2mo ago | 1 | |||
|
R
8
|
2mo ago | 1 | |||
|
R
7
|
2mo ago | 1 | |||
|
R
7
|
2mo ago | 1 | |||
|
R
6
|
2mo ago | 1 | |||
|
R
6
|
2mo ago | 1 | |||
|
R
5
|
2mo ago | 1 | |||
|
R
5
|
2mo ago | 1 | |||
|
R
4
|
2mo ago | 1 | |||
|
R
4
|
2mo ago | 1 | |||
|
R
3
|
2mo ago | 1 | |||
|
R
3
|
2mo ago | 1 | |||
|
R
2
|
2mo ago | 1 | |||
|
A
1
|
2mo ago | 1 | |||
|
A
1
|
2mo ago | 1 | |||
|
A
0
|
2mo ago | 1 |
- Changes:**
- Mount vehicle after login
- Changes:**
- 26.3 compatibility
- Changes**
- 26.2 compatibility