Absolutely Proprietary

Absolutely Proprietary

Mod

Make Richard Stallman proud by preventing minecraft from starting with non-osi approved licenses!

Client and server Utility

46 downloads
1 follower
Created2 months ago
Updated2 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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. In consequence, this mod is completely version agnostic, so it should work basically any version of minecraft.

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.


Project members

floweynt

Member


Technical information

License
GPL-3.0-only
Client side
required
Server side
required
Project ID