CurseForge · Minecraft mod
ServerPassword
This mod allows you to lock your Forge server with a password
Quick answer
Which ServerPassword release matches 1.19 Forge?
ServerPassword-1.19.x-1.0.3 targets 1.19-Snapshot, 1.19 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is ServerPassword required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does ServerPassword-1.19.x-1.0.3 need?
ServerPassword-1.19.x-1.0.3 on 1.19 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 ServerPassword without breaking your instance.
Built for ServerPassword-1.19.x-1.0.3 on 1.19 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use ServerPassword-1.19.x-1.0.3. It targets 1.19-Snapshot, 1.19 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
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside ServerPassword-1.19.x-1.0.3. It opens that exact file at the source.
About this project
What does ServerPassword add?

ServerPassword
Lock your server with a password!
This client & server-side mod allows you to set a specific password for your Minecraft Forge server. On the serverside, the password is saved as an highly secure one-way-encrypted text and additionally the client connects with a safe asymmetric-encrypted connection to your server, which should meet your needs as it makes password theft as hard as possible.
But what does "safe" mean?
For those of you, who are familiar with the topic of securing software, here is some information:
On the server-side, the password is hashed with the strong PBKDF2WithHmacSHA512 algorithm. To make it as secure as possible, we generate this hash with 10000 iterations. In addition, a SHA1PRNG salt also supports the protection of the password.
The connection between the server and the client is also as secure as possible.
To connect to a password-protected Forge server, the client as well as the server exchange encrypted keys - We use the Elliptic Curve Cryptography (Elliptic Curve Diffie Helman) implemented as a SHA-512 secured key.
In addition, the whole data is encrypted with AES.
Privacy Policy
We do not collect any type of data! Neither your client, nor the mod on the serverside does! Also, there are no logfiles so far, which also supports our approach of collecting no data.
You are running a server?
Your server's config directory should now contain a serverpw.cfg file, which contains your password, safely one-way-encrypted. By default it's empty and you may set it via console with the serverpw set [password] command.
Warning: We don't support cracked (offline-mode) servers! In case you run that kind of a server, you will NOT be able to use this mod!
Using a premade serverpack? Consider this quick-start guide:
Download your desired server pack as a zip file and extract/unpack it (e. g. C:/Users...Downloads/serverpack.zip -> C:/Users...Downloads/serverpack).
Navigate to the location where the unpacked server pack is located (e. g. C:/Users...Downloads/serverpack).
Download the correct version of ServerPassword. Add the mod file (e. g. ServerPassword-1.19.x-1.0.4.jar) directly into the mods folder. Please directly download the mod from the CurseForge website, do not use any other vendors! We only publish this mod on CurseForge.
Now you should be able to load your server!
Wait for everything to complete loading.
In the server command prompt use /serverpw set **** (instead of the stars use a password within parameters).
If you have done everything correctly, the command prompt will tell you that a password has been set.
You should now be able to log into your password-protected Minecraft server!
Todos
• Proper SpongeForge support resolved by the first release
• Command to configure the password ingame without a restart resolved by the first release
• Getting rid of an insecure protocol resolved by the first release
• Add 1.7.10 Forge support, aswell as Cauldron support resolved by the 1.6.1 beta-release
• Dynamic ports resolved by the 1.6.1 beta-release
Modpacks
You are fully permitted to use and distribute this mod in your modpacks ;)
You miss something, the mod should offer?
Any kind of help is kindly appreciated! So, if you have something for us which we should implement, feel free to contact us in the comments below! ;)
Project description from CurseForge.
Pick your setup
ServerPassword by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.19.1
1 loader build1.19-Snapshot
1 loader build1.19
1 loader build1.18.2
1 loader build1.18.1
1 loader build1.17.1
1 loader build1.16.5
1 loader build1.12.2
2 loader builds1.11.2
1 loader build1.10.2
1 loader build1.8.9
1 loader buildShowing the newest 12 of 13 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
ServerPassword versions and loaders
ServerPassword-1.19.x-1.0.3
ServerPassword-1.19.x-1.0.3.jar
27 Jul 2022
Looking for an older file? The official CurseForge project page is in Resources.