Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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.