
Modrinth · Minecraft mod
Better Whitelist
A configurable whitelist system for Minecraft
Quick answer
Which Better Whitelist release should I use?
Better Whitelist 26.3.0 targets 26.3 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 2 required mods have matching files.
Where it goes
Is Better Whitelist required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Better Whitelist 26.3.0 need?
26.3.0. Change the file and its required mods may change too.
Install Fabric API, LibJF first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Better Whitelist without breaking your instance.
Built for Better Whitelist 26.3.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 26.3.0. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API, LibJF first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 26.3.0. It opens that exact file at the source.
About this project
What does Better Whitelist add?
Better-Whitelist provides a basic whitelist system for your server that you can adapt to your use case.
The mod is required both on the server and any clients connecting to the server.
The whitelist is configured using μScript, but you don't have to be good at programming to use this mod.
A config file with some additional details will be created when you first start your server with the mod.
A simple config for Better-Whitelist could look as follows (please note that you'd probably have to add exceptions for client-side mods with optional server-side components when using this):
// convert a mod to a simpler representation to save bandwidth
simplify = { mod -> { id = mod.id, version = mod.version } }
// all non-serverside mods present on the server
sharedMods = mods::values()
::filter({ v -> v.environment != 'server' & v.id != 'java' })
::map(simplify)
// ensure the client has the correct version of every non-serverside mod on the server
clientMissing = challenge({ arg ->
arg::filter({ v -> !mods::values()::anyMatch({ m -> v.id == m.id & v.version == m.version }) })
}, sharedMods)
assert(clientMissing::isEmpty(), 'You lack required mods: ' || clientMissing)
// ensure the client has no additional mods that would be required on the server
clientAdditional = challenge({ arg, fn ->
clientSideMods = mods::values()::filter({ v -> v.environment != 'client' & v.id != 'java' })
clientSideMods::filter({ v -> !arg::anyMatch({ m -> v.id == m.id & v.version == m.version }) })::map(fn)
}, sharedMods, simplify)
assert(clientAdditional::isEmpty(), 'You have unsupported mods: ' || clientAdditional)
// filter resource packs for X-Ray packs
bannedWords = listOf('xray', 'x-ray', 'cheat')
assert(!challenge({ ->
resourcePacks::map({ pack -> pack.name || ' ' || pack.displayName || ' ' || pack.description })
})::anyMatch({ v -> bannedWords::anyMatch({ word -> v::toLower()::contains(word) }) }), "Please don't cheat, " || user.name)
The following things are available to your scripts:
- All methods from the μScript standard library (including date/time, meaning you can temporarily whitelist or blacklist users or create countdowns)
resourcePacks(client only): a list of resource packs, each of which has aname,displayNameanddescriptionprintln('message')(both): a function for debuggingmods(both): a list of loaded mods with the same fields as the result ofmod()mod('id')(both): information about a specific mod (or null):id,name,description,authors(list of strings),contributors(list of strings),version,environment(eitherclient,serveror*),license,contact(same as FMJ),depends(list of strings)assert(bool)(server): assert that something is true and kick the player if it's not (optionally, add a message as the second parameter)challenge({->closure}, additional arguments...)(server): send a closure to the client to be executed there. The arguments may contain other closures.user(server): information about the user trying to log in, namely theiridandname
Project description from Modrinth.
Pick your setup
Better Whitelist by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
1 loader build26.2
1 loader build26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.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 25 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
Better Whitelist versions and loaders
26.3.0
better-whitelist-26.3.0.jar
15 Sept 2026
26.2.0
better-whitelist-26.2.0.jar
17 Jun 2026
26.1.0
better-whitelist-26.1.0.jar
28 Mar 2026
1.0.15
better-whitelist-1.0.15.jar
10 Dec 2025
1.0.14
better-whitelist-1.0.14.jar
9 Oct 2025
1.0.13
better-whitelist-1.0.13.jar
1 Oct 2025
1.0.12
better-whitelist-1.0.12.jar
18 Jul 2025
1.0.11
better-whitelist-1.0.11.jar
1 Jul 2025
1.0.10
better-whitelist-1.0.10.jar
17 Jun 2025
1.0.9
better-whitelist-1.0.9.jar
25 Mar 2025
1.0.8
better-whitelist-1.0.8.jar
3 Dec 2024
1.0.7
better-whitelist-1.0.7.jar
23 Oct 2024
Looking for an older file? The official Modrinth project page is in Resources.