Skip to content

Instantly share code, notes, and snippets.

@triphora
Last active October 1, 2023 04:55
Show Gist options
  • Save triphora/588f353802a3b0ea649e4fc85f75e583 to your computer and use it in GitHub Desktop.
Save triphora/588f353802a3b0ea649e4fc85f75e583 to your computer and use it in GitHub Desktop.
GPL exception for Minecraft
"MINECRAFT" LINKING EXCEPTION TO THE GPL
Linking this mod statically or dynamically with other modules is making a
combined work based on this mod. Thus, the terms and conditions of the GNU
General Public License cover the whole combination.
In addition, as a special exception, the copyright holders of this mod give you
permission to combine this mod with free software programs or libraries that
are released under the GNU LGPL and with code included in the standard release
of Minecraft under All Rights Reserved (or modified versions of such code, with
unchanged license). You may copy and distribute such a system following the
terms of the GNU GPL for this mod and the licenses of the other code concerned.
Note that people who make modified versions of this mod are not obligated to
grant this special exception for their modified versions; it is their choice
whether to do so. The GNU General Public License gives permission to release a
modified version without this exception; this exception also makes it possible
to release a modified version which carries forward this exception.
@triphora
Copy link
Author

It should, but you should want to use a different license entirely since exceptions are messy

@douira
Copy link

douira commented Dec 25, 2022

Thanks, what license would you suggest that is strongly copy-left but allows combination with Minecraft and other LGPL code?

@triphora
Copy link
Author

LGPL

@Codetoil
Copy link

Is there an SDPX Identifier for this? I'm using GPL-3.0-or-later-WITH-MCLINK

@triphora
Copy link
Author

No, since custom exceptions/links are not supported by SPDX without also using a custom license, so it would be something like LicenseRef-GPL-3.0-or-later-WITH-Minecraft-linking-exception (for custom Modrinth licenses, you don't need to add LicenseRef, checking the "My license has no SPDX identifier" checkbox adds that for you automatically)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment