Integrity

Quick rating

Integrity

No reviews yet

Make sure the client contains only the mods that the server want when it connects to a server

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
Integrity-0.0.4+1.20.4.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

This mod allows to check the mods present on the client, when it connects to a server. The server has a file called modpack-mods-list.json which contains the mods that must be present on the client (You have to manually configure this either by putting the mods you want the client to have when it connects). When the client connects to the server, the client sends the names of the .jar files for each mods present in the mods folder. The server then checks if the mods sent match the list. If it does, the player will not be disconnected.

IMPORTANT: the fileHash has to use the SHA-256 algorithm

check this video to understand how it works -> https://youtu.be/HDsvAae6k78

You have created a modpack and a modded server, and you want to make sure that your friend connects with the right mods, that he has not altered them. For example, he could delete some of them or add the xray.jar mod. Something you don't want of course.

When you create the modpack and the modded server, you will also have to create a file called integrity.json, this file will contain the names of the jar files as well as their respective hash for the mods you put in the original modpack. This file will have to be copied in the config folder of the server inside the folder called Integrity (If the Integrity folder doesn't exist, you can start the server once with the Integrity mod, it will then be created)

concerning the hash of the files, be sure to use the SHA-256 algorithm and that the hash is in lower case

check this video to understand how it works -> https://youtu.be/HDsvAae6k78 also a sample file integrity.json can be found here https://github.com/AmibeSkyfy16/Integrity/blob/master/samples/version%200.0.2/integrity.json

How does it work internally ?

When you connect to the server, you send at the same time data in json format representing the names of the mods in the modpack and their hashes. When the server receives the data, it compares it with its own data from the configuration files (integrity.json). If the data you sent matches the integrity.json file, then you will be allowed to play on the server. Otherwise, you will be disconnected.

-------------- OLD DESCRIPTION TO DELETE --------------

This mod allows to check the mods present on the client, when it connects to a server. The server has a file called modpack-mods-list.json which contains the mods that must be present on the client (You have to manually configure this either by putting the mods you want the client to have when it connects). When the client connects to the server, the client sends the names of the .jar files for each mods present in the mods folder. The server then checks if the mods sent match the list. If it does, the player will not be disconnected.

IMPORTANT: the fileHash has to use the SHA-256 algorithm

check this video to understand how it works -> https://youtu.be/HDsvAae6k78

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works