Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Game-agnostic fabric mod to prevent games from starting if mods with non-osi approved licenses are found. If non-open-source mods are found, the game will crash, and non-compliant mods will be output to logs.
This mod does not depend on minecraft, so it is compatible with any game that can be loaded with fabric loader. Thus, this mod is completely version agnostic, so it should work on any version of minecraft that fabric supports.
This mod is designed for people who care about open source, and want a way to prevent accidental downloads of (1) improperly licensed or (2) poorly licensed mods.
False positives
In order to respect the user, this mod never attempts to make any network requests to update the license list. Thus, the license list may become outdated. Please report this to the issue tracker, and check back later for an updated version.
Additionally, many mods do not provide their license names as valid SPDX license identifiers. This may cause problems for licenses that are open source but improperly named. I attempt to handle such cases, but it's not perfect. You can fix this by simply adding the license to the configuration, but please report alternative spellings of license names to the issue tracker on github. This improves the mod for future users.
Config
Additional licenses can be added with the configuration file, located in config/absolutely_proprietary.json
. Mod exclusions can also be added, to whitelist specific mods.
Configuration Keys
allowed_license: List of allowed licenses. Use @<id>
to include licenses from builtin license sets. Supported include sets: @osi
, @alt
, @cc
(creative commons).
allowed_mods: Whitelisted mods. If whitelisted, skips license checks. Use @<id>
to include mods from builtin mod sets. Supported include sets: (none).
fallback_to_parent: If true
, will attempt to fallback licenses for mods without licenses that are embedded in another mod.
whitelist_builtin: If true
, builtin things like java
will be whitelisted. This should be true for most cases.