SafeServer is a Fabric mod for Minecraft servers that adds a simple password-based authentication system to enhance server security.
- Requires players to set a password and log in before playing
- Prevents unauthorized access to operator privileges
- Keeps players in spectator mode until they log in
- Teleports players back to their join position if they haven't logged in
- Make sure you have Fabric installed on your Minecraft server.
- Download the SafeServer mod JAR file.
- Place the JAR file in your server's
mods
folder. - Restart your server.
-
When joining the server for the first time:
- Use
/setPassword <your_password>
to set your password. - Use
/login <your_password>
to log in and start playing.
- Use
-
For subsequent logins:
- Use
/login <your_password>
to log in.
- Use
- Operator status is temporarily removed when joining the server.
- Log in using your password to regain operator privileges.
- Passwords are stored in the
passwords.properties
file in the server root directory. - Warning: Passwords are stored in plain text. Consider using additional security measures.
/setPassword <password>
: Set your password (can only be done once)/login <password>
: Log in to the server
- Players are kept in spectator mode and at their join position until they log in.
- Passwords cannot be changed after being set. Server administrators would need to manually edit or delete entries in the
passwords.properties
file if needed.