safeserver
ModrinthA mod to secure servers using a password-based login system.
6.0k téléchargements 37 abonnés mis à jour 2mo ago
dernière v2.1.1 Modrinth
Safeserver
A simple Fabric mod for Minecraft that adds mandatory password authentication to your server, enhancing security.
Made for online-mode off / cracked servers.
Features
- Password Protection: Players must set a password on their first join and log in on subsequent joins.
- Interaction Blocking: Prevents unauthenticated players from breaking/placing blocks, using items/entities, or interacting with the world.
- Command Restriction: Blocks all commands except
/loginand/setpassworduntil the player is authenticated. - Secure Storage: Passwords are securely hashed (SHA-256) and stored in a JSON file (
config/safeserver/passwords.json). - OP Safety:
- Temporarily removes OP status from players upon joining until they authenticate.
- Removes OP status from players upon disconnecting as a safety measure.
- Restores OP status after successful authentication if the player was originally OP.
- Position Freeze & Safety: Players are placed in Spectator mode and teleported to a safe, fixed location (0, calculated surface Y, 0) upon joining if authentication is needed. They are kept at this location until authenticated, preventing coordinate leakage. Their original position is restored upon successful login.
Commands
/setpassword <password> <password>- Sets your initial password upon first joining the server.
- Requires typing the password twice for confirmation.
- Only usable when required (first join).
/login <password>- Logs you into the server with your existing password.
- Only usable when required (subsequent joins).
/changepassword <oldPassword> <newPassword> <newPassword>- Allows an authenticated player to change their own password.
- Requires the old password and confirmation of the new password.
/resetpassword <playerName>- OP Only (Level 2+): Resets the password for the specified player.
- Forces the target player to set a new password using
/setpasswordon their next join (or immediately if they are currently online).
Installation
- Ensure you have the Fabric Loader installed.
- Download the
Safeservermod JAR file. - Place the JAR file into your server's
modsfolder. - Restart your server.
The mod will automatically generate the necessary configuration file upon first load.
Versions
Release
2.0.2
HOT-fix: restore correct gamemode after auth for first-time players
Players who disconnected mid-login were incorrectly re-set to spectator on rejoin. Fixed…
Release
2.0.1
Fix coordinates leak vulnerability during authentication
- Enhance player security by teleporting authenticating players to a safe, calculated location at…
Release
2.0.0
# MAJOR UPGRADE TO 2.0.0
This project **was** abandoned for a while due to the lack of my own time. Now, the codebase has been **COMPLETELY REVAMPED** and…
Release
1.7
Latest update to the safeserver mod, now supporting 1.21, contact me if there's any issues.

Commentaires 0
Aucun commentaire pour l'instant. Sois le premier à donner ton avis.