promotional bannermobile promotional banner

Config Comparator

Compare server and client files and take action

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

 

  • timeout = 30000
  • files = []
  • action = "KICK"
  • algorithm = "MD5"


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.

The Config Comparator Team

profile avatar
  • 52
    Followers
  • 21
    Projects
  • 2.1M
    Downloads

More from NorthWestWindView all

  • AutoFish for (Neo)Forge project image

    AutoFish for (Neo)Forge

    • 953.4K
    • Mods

    A fully client-side mod for you to AFK fish!

    • 953.4K
    • March 28, 2026
    • Mods
    • +1
  • Short Circuit project image

    Short Circuit

    • 27.1K
    • Mods

    Fast, compact, modular way to design redstone circuits.

    • 27.1K
    • January 23, 2026
    • Mods
    • +2
  • Mekanism Fission Recipe project image

    Mekanism Fission Recipe

    • 588.3K
    • Mods

    A mod that allows you to add custom recipe for Mekanism Generators' Fission Reactor.

    • 588.3K
    • January 20, 2025
    • Mods
    • +1
  • Nether Islands project image

    Nether Islands

    • 820
    • Data Packs

    Overrides the Nether's generation. Datapack version of the Nether Islands mod.

    • 820
    • June 18, 2024
    • Data Packs
    • +1
  • AutoFish for (Neo)Forge project image

    AutoFish for (Neo)Forge

    • 953.4K
    • Mods

    A fully client-side mod for you to AFK fish!

    • 953.4K
    • March 28, 2026
    • Mods
    • +1
  • Short Circuit project image

    Short Circuit

    • 27.1K
    • Mods

    Fast, compact, modular way to design redstone circuits.

    • 27.1K
    • January 23, 2026
    • Mods
    • +2
  • Mekanism Fission Recipe project image

    Mekanism Fission Recipe

    • 588.3K
    • Mods

    A mod that allows you to add custom recipe for Mekanism Generators' Fission Reactor.

    • 588.3K
    • January 20, 2025
    • Mods
    • +1
  • Nether Islands project image

    Nether Islands

    • 820
    • Data Packs

    Overrides the Nether's generation. Datapack version of the Nether Islands mod.

    • 820
    • June 18, 2024
    • Data Packs
    • +1