ModCheck
A simple mod that makes sure clients have only the mods they're supposed to have
介绍
A simple mod that makes sure your players have only the mods they’re supposed to have.
Update 0.2.0 – No More ModCheckUtil
Commands have been added that should make generating the modlist much simpler.
/modcheck_off – temporarily disables modcheck so you can join with the desired client pack
/modcheck_upload – uploads the client pack list to the server and stores it
You can still use ModCheckUtil to generate the modlist if you want.
How it works
The client-side works by going through the mods folder, generating a checksum of each file and sending it all to the server when it connects.
The server then checks the modlist against it’s modlist.txt file and let’s player connect.
The modlist.txt is generated by ModCheckUtil.
How to use
- put ModCheckUtil jar into your client mods folder (ModCheck mod should be included in the folder at this point)
- run
java -jar [ModCheckUtil-version].jar - modlist.txt file should appear in the same folder
- copy the modlist.txt file into the root of your server (next to files like server.properties
- all is done, if you start your server everything should work
At this point there’s no config files and other fancy stuff, and I don’t plan to build other versions as I don’t need it.
If you want a different version, you can comment or make an Issue on the projects GitHub. Same with any ideas or errors you get.
常见问题
ModCheck 支持哪些 Minecraft 版本?
ModCheck 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
ModCheck 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分