
Modrinth · Minecraft mod
ServerOfflineAuth
Provide password verification functionality for offline players on the server.
Quick answer
Which ServerOfflineAuth release matches 1.20.5 Forge?
ServerOfflineAuth 0.2.0-beta-1.20.1-forge targets 1.20.1, 1.20.2, 1.20.3 with Forge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is ServerOfflineAuth required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does ServerOfflineAuth 0.2.0-beta-1.20.1-forge need?
0.2.0-beta-1.20.1-forge on 1.20.5 Forge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add ServerOfflineAuth without breaking your instance.
Built for ServerOfflineAuth 0.2.0-beta-1.20.1-forge on 1.20.5 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.2.0-beta-1.20.1-forge. It targets 1.20.1, 1.20.2, 1.20.3 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.2.0-beta-1.20.1-forge. It opens that exact file at the source.
About this project
What does ServerOfflineAuth add?
ServerOfflineAuth
Introduction
Provides password authentication for offline players on the server.
Features
- Built-in encrypted data storage
- Json and MySQL support
- Token verification password-free login
- The server-side tokens are stored in the
server_offline_auth_tokens.jsonfile under theconfig/folder.
Configuration
When ServerOfflineAuth is first started, it creates the server_offline_auth-common.toml file in the config/ directory with the following content:
#Server Offline Auth Configuration
[general]
#Login timeout (seconds), set to 0 to disable
#Range: 0 ~ 3600
loginTimeout = 30
#Salt length (log rounds). Default 10, range 4-30.
#Range: 4 ~ 30
passwordHashWorkFactor = 10
#Player data file name (only effective when storage type is json)
dataFileName = "server_offline_auth_data.json"
#Whether to send a prompt when a player joins
joinMessageEnabled = true
[storage]
#Data storage type: json or mysql
storageType = "json"
#MySQL host address
mysqlHost = "localhost"
#MySQL port
#Range: 1 ~ 65535
mysqlPort = 3306
#MySQL database name
mysqlDatabase = "ServerOfflineAuth"
#MySQL username
mysqlUsername = "root"
#MySQL password
mysqlPassword = "password"
#MySQL table name
mysqlTable = "auth_players"
#Token validity days (0 means never expires)
#Range: 0 ~ 3650
tokenExpiryDays = 3
[storage.migration]
#Set this to perform data migration (e.g., "mysql" or "json"). After successful migration, this value will be automatically cleared, and storageType will be updated.
migrateTo = ""
- If the data storage mode is JSON, a file named
server_offline_auth_data.jsonwill be created in the server root directory to store player data. - If the data storage mode is MySQL, you need to ensure that the MySQL server is properly configured and running, and that the provided connection information is correct.
Player Commands
/register <passwd> <passwd>Register/login <passwd>Login/logoutLogout
Admin Commands
/serverofflineauth admin login <player_ID>Force login/serverofflineauth admin logout <player_ID>Force logout
Requirements
Server Requirements
This mod is developed based on Minecraft Forge 1.20.1; its effectiveness on other versions has not been verified.
Precautions
This mod is in an early testing stage, with more features under development. Do not use test versions in important environments.
If you encounter bugs during use, please submit an issue on GitHub.
Contributors
Team Members: ttwlwlbb51522, ChaosException, Archiveorigin
Project description from Modrinth.
Pick your setup
ServerOfflineAuth by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.5
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.2
1 loader build1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
ServerOfflineAuth versions and loaders
0.2.0-beta-1.20.1-forge
server_offline_auth-0.2.0-beta-1.20.1-forge.jar
24 Apr 2026
0.1.0beta-1.20.1-forge
server_offline_auth-0.1.0beta-1.20.1-forge.jar
13 Mar 2026
0.0.1-1.20.1-beta
server_offline_auth-0.0.1-1.20.1-beta.jar
4 Mar 2026
0.0.1-1.20.1-alpha
server_offline_auth-0.0.1-1.20.1-alpha.jar
4 Mar 2026
Looking for an older file? The official Modrinth project page is in Resources.