Sprache

safeserver

safeserver

Modrinth

A mod to secure servers using a password-based login system.

6.0k Downloads 37 Follower aktualisiert 2mo ago
neueste v2.1.1 Modrinth
Fabric 1.20.4 – 26.1.2 Game-mechanicsManagementUtility

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 /login and /setpassword until 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 /setpassword on their next join (or immediately if they are currently online).

Installation

  1. Ensure you have the Fabric Loader installed.
  2. Download the Safeserver mod JAR file.
  3. Place the JAR file into your server's mods folder.
  4. Restart your server.

The mod will automatically generate the necessary configuration file upon first load.

Versionen

Release
2.1.1
fabric · 26.1.2 · 2mo ago
Release 2.1.1 with 26.1.2 support
462
Release
2.1.0
fabric · 26.1.1 · 2mo ago
Release 2.1.0 with 26.1.1 support
89
Release
2.0.4
fabric · 1.21.11 · 4mo ago
Release 2.0.4 with 1.21.11 support and Modrinth automation
621
Release
2.0.3
fabric · 1.21.8 · 10mo ago
Some optimizations and now allows logged in players to reset their password
1.0k
Release
2.0.2
fabric · 1.21.4, 1.21.5 · 14mo ago
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…
1.4k
Release
2.0.1
fabric · 1.21.4, 1.21.5 · 14mo ago
Fix coordinates leak vulnerability during authentication - Enhance player security by teleporting authenticating players to a safe, calculated location at…
72
Release
2.0.0
fabric · 1.21.4, 1.21.5 · 14mo ago
# 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…
120
Release
1.7
fabric · 1.21 · 22mo ago
Latest update to the safeserver mod, now supporting 1.21, contact me if there's any issues.
1.1k
Release
1.6
fabric · 1.20.4, 1.20.5, 1.20.6 · 25mo ago
Updated for better teleportation accuracy!
461
Release
1.5
fabric · 1.20.4, 1.20.5, 1.20.6 · 26mo ago
Updated for 1.20.6!
148
Release
1.5
fabric · 1.20.5 · 26mo ago
SafeServer updated for Minecraft 1.20.5!
114
Release
1.4
fabric · 1.20.4 · 26mo ago
Updated code for Operator check logic.
112

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.