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.