Skip to content

safeserver

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

Fabric
Loaders
Fabric
Downloads on Modrinth
10.4K
Followers on Modrinth
38
versions
20
Updated
November 22, 2026Nov 22
Published
in 2024

At a glance

Runs on Fabric
For Minecraft 1.20.1–26.3
Server only — players don't need to install it
Latest version — 2.3.0 from November 22, 2026
Requires Fabric API
License MIT — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.20.1–26.3

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 `

    • Sets your initial password upon first joining the server.
    • Requires typing the password twice for confirmation.
    • Only usable when required (first join).
  • `/login `

    • Logs you into the server with your existing password.
    • Only usable when required (subsequent joins).
  • `/changepassword `

    • Allows an authenticated player to change their own password.
    • Requires the old password and confirmation of the new password.
  • `/resetpassword `

    • 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.

FAQ

How to install safeserver?

Install Fabric for your Minecraft version, download safeserver for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does safeserver support?

safeserver has builds for Minecraft 1.20.1–26.3.

Is safeserver needed on the server?

Server only — players don't need to install it

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More