Modrinth · Minecraft mod
WhitelistDb Mod
This mod adds support for using a database as a whitelist, making it easier for players to whitelist on a Minecraft server and saving admins time from manually running the default command to whitelist everyone.
Quick answer
Which WhitelistDb Mod release matches 26.2 Forge?
WhitelistDb Mod 1.7.0-v26.2 targets 26.2 with Forge, NeoForge. 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 WhitelistDb Mod 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 WhitelistDb Mod 1.7.0-v26.2 need?
1.7.0-v26.2 on 26.2 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 WhitelistDb Mod without breaking your instance.
Built for WhitelistDb Mod 1.7.0-v26.2 on 26.2 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.7.0-v26.2. It targets 26.2 with Forge, NeoForge; 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 1.7.0-v26.2. It opens that exact file at the source.
About this project
What does WhitelistDb Mod add?
WhitelistDb Mod
Description
This mod is used to make it easier to have the same whitelist across different servers and to use different methods for allowing users to whitelist.
For example, having people in a school Minecraft server, and in order for them to join, they have to verify their school email to gain access to a whitelist command from a Discord bot. (Please note that this does not provide a Discord bot.)
Commands
- /whitelistdb toggle
- Turns the whitelist on and off
- /wban
- Updates the database record to show they are banned across all servers!
- Will kick the player if they are online – does work on players who aren't online
- /wunban
- Updates the database record to show they are unbanned across all servers!
Getting Started
To use this mod correctly, the table needs to at least have this information in it.
uuid : UUID
banned : Boolean
tag : String (Optional - for placeholder api, can be called something other than tag)
This mod also caches usernames and UUIDs locally to ban/unban offline players much more easily.
If this is being added to a server that is already up, you can use the Python script provided in scripts/convert.py to correctly take the usercache.json file in the root directory of the server and make a file that should be placed in config/whitelistdb. This isn't completely necessary, as the cache will auto-update when new people join, but this will make sure that everyone who has ever joined will be detected by the mod.
When the mod is in the mod folder, start the server, and it will make a file located at config/whitelistdb-config.json. This is where you can edit the default values to correctly set up the database and edit the messages that come up when not whitelisted and when users are banned.
Default layout of config/whitelistdb-config.json
{
"host": "localhost",
"port": 5432,
"database": "minecraft",
"table": "server_whitelists",
"placeholder_column": "tag",
"username": "postgres",
"password": "password",
"ssl": false,
"message": "You are not whitelisted!",
"enabled": true,
"banReason": "You have been banned!"
}
The placeholder for this mod varries depending on the version.
- 1.21.x -
%whitelistdb:school% - 26.1.x -
%whitelistdb:playerinfo%
Please note that currently neoforge does not support placeholders!
Mod Information
Current version: 1.6.0
Currently Supported: 26.x
No longer supported: 1.21.x
Project description from Modrinth.
Pick your setup
WhitelistDb Mod by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
4 loader builds26.1.2
3 loader builds26.1.1
2 loader builds26.1
2 loader builds1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader buildShowing the newest 12 of 16 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
WhitelistDb Mod versions and loaders
1.7.0-v26.2
WhitelistDb-neoforge-26.2.0.88-1.7.0.jar
15 Sept 2026
Looking for an older file? The official Modrinth project page is in Resources.