Back to mods
safeserver project artwork

Modrinth · Minecraft mod

safeserver

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which safeserver release matches 26.1.2?

Updated last month
Best match for your filters 2.2.0
Game version 1.20.1, 1.20.2, 1.20.3
Loader Fabric

safeserver 2.2.0 targets 1.20.1, 1.20.2, 1.20.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is safeserver required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does safeserver 2.2.0 need?

2.2.0 on 26.1.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by safeserver 2.2.0
required
Matching file found Matched file: 0.155.3+26.1.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add safeserver without breaking your instance.

Built for safeserver 2.2.0 on 26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.2.0. It targets 1.20.1, 1.20.2, 1.20.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.2.0. It opens that exact file at the source.

About this project

What does safeserver add?

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.

Project description from Modrinth.

Pick your setup

safeserver by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

23 available setups

Showing the newest 12 of 23 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

safeserver versions and loaders

3 of 19 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.