SafeLogin is to ensure that the player cannot be harmed when they are logging in.
It accomplishes this by setting the player to be invulnerable, invisible and flying (to prevent fluid pushing you, sinking into fluid or when you join mid air) on the server side and when pushed by a mob AGGRESIVELY teleports the player back to the center of the spawn block to make them unpushable (in the case of MOVE mode).
If you do step off the block you spawned in on (in the case of MOVE mode), enter the specified command (COMMAND mode), or exit the GUI (GUI mode), the server will remove your invulnerability, invisibility, unpushability, and flying.
How to Install SafeLogin (Mod)
SafeLogin by JordanPlayz158 is verified for Fabric across Minecraft versions 1.20.1 (latest release: 1.1.2, file size: 46 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded SafeLogin file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Removed Client Side requirement
- Added a config file (in
config/safelogin/config.json5) with protectionType, MOVE (default), COMMAND, and GUI- MOVE, (mostly) the same mode as 1.0.0 but the way you are unpushable is executed differently (fully server side approach)
- COMMAND, you must enter in a (configurable) command to disable the protection, if you attempt to move off the block, you will be stopped and prompted to enter the command
- GUI, when attempting to leave your login block, a GUI will open and upon closing, will disable your login protection
delayJoinMessage, if you wish to only have the join message send when the player has disabled protection (i.e successfully loaded in)commandwhere you can set the command in which the player executes to disable protection in COMMAND Protection Type- Added logic to store previous user state in case (for instance) the player is in creative mode and their invulnerable boolean was set to true before SafeLogin set it to true, so when protection is disabled mobs will target and can attack and damage you in creative mode upon having protection disabled
- Added ignoring of certain packets (attack, break, and place) when invulnerable in case someone were to try to abuse the perks of invulnerability (even if they could only hit, break or place, while staying inside 1 block)