
Mod Whitelist
A security mod that prevents players entering the server if modlist not matches
About this Mod
Abstract
Thank you for choosing our Mod Whitelist mod to protect your server from client hacking mods. Let me introduce how it works and what you can do.
This mod works on client and server separately:
- On the client side, it gathers all identifier of mods ("mod_id"s), encrypted them and send to the server.
- On the server side, it checks players who try to connect the server if they install hacking mods, or if they do not install any necessary mods to avoid problems.
But both sides are required. If not:
- Installed on the client side but not installed on the server side. The client player can still enter the server and play, but this mod can not protect your server from hacking.
- Installed on the server side but not installed on the client side. The client player is not allowed to enter the server and sent message "multiplayer.disconnect.mod_whitelist.packet_corruption".
Adding a mod to whitelist and blacklist
The config file is in "<server directory>/config/mod_whitelist-config.json". If you want to add mods to the whitelist or blacklist, please read the following guides.
First, you should find the identifier of the mod (modid), a simple way is open the jar file with an archiver software (eg. WinZip, HaoZip, 7-Zip), open "fabric.mod.json" and see what the value of key "id" is. For example, the modid of Mod Whitelist mod is "mod_whitelist".
Then, add it to CLIENT_MOD_NECESSARY field if you want client players install it. By default, it is blacklist mode, so you can add it to CLIENT_MOD_BLACKLIST field if you do not want client players install it. If you want to use whitelist mode instead, set USE_WHITELIST_ONLY to true and add all whitelist modids to CLIENT_MOD_WHITELIST field.
In addition, if USE_WHITELIST_ONLY is true, CLIENT_MOD_BLACKLIST field is just ignored while running the server. And if USE_WHITELIST_ONLY is true, CLIENT_MOD_WHITELIST field is ignored instead.
As you might see, if fabric-api is installed, the modlist will contains quite a lot of modids. You can run a client with this mod installed, and open ".minecraft/logs/latest.log", and you will see the following format line to simplify gathering the modlist manually:
Mod Whitelist vx.x.x from the client! Modlist: ["fabric-api", "fabric-api-base", ...]
Issue tracker
Visit https://github.com/Viola-Siemens/Mod-Whitelist/issues and post your issue and logs if you find any problems with this mod.
Available Versions
How to Install Mod Whitelist on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "Mod Whitelist". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.3, 1.20.2 (+2 more)
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Mod Whitelist server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.
Is Mod Whitelist compatible with fabric and forge?
Mod Whitelist officially supports fabric, forge for Minecraft 1.20.4, 1.20.3, 1.20.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Mod Whitelist – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Mod Whitelist consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Mod Whitelist with just one click on your server.