Home›Java›Mods›Config Comparator
Config Comparator
ModsJava

Config Comparator

Java mod listed for Minecraft 1.18–1.19. Downloads from the MC Java Mods app on Android.

by NorthWestWind · on CurseForge

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Forge only.

⬇ Download for 1.19.1–1.19.2⬇ Download for 1.18.2
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

ConfigComparator


Hosting a modded server but not wanting players to cheat by editing their configuration files?
ConfigComparator does exactly that. This mod makes a SHA-1 digest from both the server side and the client side and compare them.
If there is a mismatch, the server will take action.

Configuration


The configuration file of this mod is located in `config/configcomparator-common.toml`. It is only used on the server side

 


The most important part of the configuration file is `files`.
They are the paths to the files you want to be compared.

The default action is `KICK`, which means the player will be kicked if the files don't match.
`WARN_ADMIN` will warn the OPs in game and `LOG` will only log to the console.

`timeout` is just the time before the server kicks the client that refuses to send its digest back.

`algorithm` is the algorithm to be used for hashing files.

 

Side Note

This mod assumes all files in the `files` list are readable text files. It may or may not work with binary files.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more