Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anopensaucedev/isthismodlegit
Checks the authenticity of mods via Modrinth's API. Superceeded by the web client.
https://github.com/anopensaucedev/isthismodlegit
fabricmc mod modrinth modrinth-api quiltmc
Last synced: about 2 months ago
JSON representation
Checks the authenticity of mods via Modrinth's API. Superceeded by the web client.
- Host: GitHub
- URL: https://github.com/anopensaucedev/isthismodlegit
- Owner: AnOpenSauceDev
- License: other
- Created: 2024-01-03T11:24:11.000Z (almost 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-01T23:28:38.000Z (10 months ago)
- Last Synced: 2024-03-02T10:27:27.520Z (10 months ago)
- Topics: fabricmc, mod, modrinth, modrinth-api, quiltmc
- Language: Java
- Homepage: https://isthismodlegit.anopensauce.dev/
- Size: 94.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Is This Mod Legit?
[Modrinth Link](https://modrinth.com/mod/is-this-mod-legit) | [Web Client](https://isthismodlegit.anopensauce.dev/) [(source)](https://github.com/AnOpenSauceDev/IsThisModLegit-Web)
**Note: This mod has been superceeded by the much safer Web Client.** No further updates are planned for the mod version.
A pretty tiny mod that checks the hashes of every mod in your mods folder against Modrinth to see if the mod you're using is tamper-free.
Works as long **as you have less than 300 _individual (.jar file)_ mods** (because you'll get rate-limited going past that, also assuming this is the first run.)
Due to this mod using the Modrinth API, this will fail checks on binaries from CurseForge/Github that aren't identical to what's on Modrinth.
## Caching System
As of 0.2.0, the ITML will resolve to one of two hash "databases"
- `~/.minecraft/config/ITML.cache`
- Modrinth's "version from hash" API.
After verifying a hash with the Modrinth API, the mod's hash will be stored over in `ITML.cache`, of which any hashes located in there will be whitelisted (with a notice in the logger itself.)
This essentially means that there should only be a noticable increase in load times when opening a **large** modpack for the first time.This also means that you only need to connect to the internet once at startup to verify your mods, and to recconnect when you add/update any mods.
To rebuild the cache, just delete the file, nothing will break.