介绍
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.
常见问题
Config Comparator 支持哪些 Minecraft 版本?
Config Comparator 支持 Minecraft Java 版 1.18.2–1.19.2,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Config Comparator 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
NorthWestWind 的其他作品
查看全部 →AutoFish for Everyone!
适合所有人的自动钓鱼模组!
Mekanism Fission Recipe
一个允许你为通用机械发电机的裂变反应堆添加自定义配方的模组。
Nether Islands
覆盖下界的生成。
MoreBoots
为你的游戏添加更多靴子!
评论
登录后评论和评分