Back to mods
Mod Whitelist project artwork

CurseForge · Minecraft mod

Mod Whitelist

A security mod that prevents players entering the server if modlist not matches

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Mod Whitelist release should I use?

Updated 2 years ago
Latest stable file ModWhitelist v1.2.0 Fabric
Game version 1.20.2, 1.20.3, 1.20.4
Loader Fabric

Mod Whitelist ModWhitelist v1.2.0 Fabric targets 1.20.2, 1.20.3, 1.20.4 with Fabric. 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 Mod Whitelist required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Mod Whitelist ModWhitelist v1.2.0 Fabric need?

ModWhitelist v1.2.0 Fabric. Change the file and its required mods may change too.

No extra mods listed for this file

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 Mod Whitelist without breaking your instance.

Built for Mod Whitelist ModWhitelist v1.2.0 Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use ModWhitelist v1.2.0 Fabric. It targets 1.20.2, 1.20.3, 1.20.4 with Fabric; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside ModWhitelist v1.2.0 Fabric. It opens that exact file at the source.

About this project

What does Mod Whitelist add?

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.

Project description from CurseForge.

Pick your setup

Mod Whitelist by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

13 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Mod Whitelist versions and loaders

4 of 4 releases match

Looking for an older file? The official CurseForge project page is in Resources.