Absolutely Proprietary
A universal Fabric mod that prevents games from launching when modifications with unapproved licenses are detected. If closed-source mods are found, the game will crash, and the list of problematic modifications will be output to logs.
Since this mod doesn't depend on Minecraft, it's compatible with any game that supports the Fabric loader. This provides complete version independence - the mod will work on all Minecraft versions supported by Fabric.
Designed for users who care about open source software and want to avoid accidentally installing modifications with (1) incorrect or (2) inappropriate licenses.
False Positives
To respect user privacy, the mod never makes network requests to update the license list. This may lead to outdated license information. Please report this to the issue tracker and check for updated versions.
Additionally, many mods don't specify license names in the format of valid SPDX identifiers. This can cause problems for open source licenses that are incorrectly named. We try to handle such cases, but the system isn't perfect. You can fix this by simply adding the license to the configuration, but please report alternative license names to the GitHub issue tracker. This will help improve the mod for future users.
Configuration
Additional licenses can be added through the configuration file located at config/absolutely_proprietary.json. You can also configure mod exceptions by adding them to the whitelist.
Configuration Keys
allowed_license: List of permitted licenses. Use @<id> to include licenses from built-in sets. Supported inclusion sets: @osi, @alt, @cc (Creative Commons).
allowed_mods: Whitelisted mods. If a mod is in the whitelist, license checks for it are skipped. Use @<id> to include mods from built-in sets. Supported inclusion sets: (none).
fallback_to_parent: If true, it will attempt to use licenses for mods without licenses that are embedded in another mod.
whitelist_builtin: If true, built-in components like java will be added to the whitelist. In most cases, this value should be true.