Ensure your offline servers are protected with unique passwords for each user.
================= SERVER SETUP =================
- Find your configuration file located at (/world/serverconfig/serverofflinewhitelist.toml) (ON SERVER!)
- Input your users’ details and their corresponding passwords (NOT ACTUAL PASSWORDS). You can create them here https://proton.me/pass/password-generator. Remember, only use letters and numbers, avoiding special characters.
- Structure the entries as follows:
[serverofflinewhitelist]
userpasswords = ["1234:stabbyeli", "insertpasswordhere:codinghuman", "passworddd:RDJX3", "password:username"] - Share the passwords you’ve created for your friends! (or vice versa – it works both ways.)
==============================================
================= CLIENT SETUP =================
- Find your configuration file at (Modpackdir/config/clientofflinewhitelist.toml)
- Insert the password you generated (or the one provided by the server owner for you).
- Format it in this way:
[yourpasscode]
passcode = "mypasscode" - CONNECT TO THE SERVER!!! Just ensure your password is correct!
================================================
FAQs
Q: What’s the benefit of adding this to my offline server?
A: First off, whitelisting doesn’t operate on offline servers! Even if it did, users can alter their names to ANYTHING offline (meaning they could impersonate the server owner and gain operator status!) With this mod, each user has a distinct password, preventing impersonation!
Q: Why not use a /login command instead?
A: Login commands suit servers without mods. Yours, however, does run mods, and login commands can be ANNOYING! Once you have this set up, you can entirely disregard the hassle!
Q: Will there be future updates?
A: Perhaps……
Q: What is the operational process?
A: To clarify, your client sends a request to the server asking, "Is this password valid?" The server then checks your username against the submitted password to see if it matches any of the stored credentials; if it does NOT match, access is denied.
Thank you for choosing to download my mod!