From a132a2964ddd7f47aa48942acb7c21c092c2bc64 Mon Sep 17 00:00:00 2001 From: Haowei Wen Date: Sun, 3 Jul 2022 15:30:46 +0800 Subject: [PATCH] Add exception to the AGPL This exception allows launchers to bundle authlib-injector in their program. --- LICENSE | 14 ++++++++++++++ README.en.md | 10 ++++++++++ README.md | 10 ++++++++++ 3 files changed, 34 insertions(+) diff --git a/LICENSE b/LICENSE index be3f7b2..f509636 100644 --- a/LICENSE +++ b/LICENSE @@ -659,3 +659,17 @@ specific requirements. if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see . + + +"AUTHLIB-INJECTOR" EXCEPTION TO THE AGPL + + As a special exception, using this work in the following ways does not cause +your program to be covered by the AGPL: + + a) Bundling the unaltered binary form of this work in your program without + statically or dynamically linking to it; or + + b) Interacting with this work through the provided inter-process + communication interface, such as the HTTP API; or + + c) Loading this work as a Java Agent into a Java Virtual Machine. diff --git a/README.en.md b/README.en.md index d913e07..3b0ae5b 100644 --- a/README.en.md +++ b/README.en.md @@ -111,3 +111,13 @@ Configure Minecraft server with the following JVM parameter: It's disabled by default if the authentication server does NOT send feature.usernameCheck option. Turning on this option will prevent players whose username contains special characters from joining the server. ``` + +## License +This work is licensed under the [GNU Affero General Public License v3.0](https://github.com/yushijinhun/authlib-injector/blob/develop/LICENSE) or later, with the "AUTHLIB-INJECTOR" exception. + +> **"AUTHLIB-INJECTOR" EXCEPTION TO THE AGPL** +> +> As a special exception, using this work in the following ways does not cause your program to be covered by the AGPL: +> 1. Bundling the unaltered binary form of this work in your program without statically or dynamically linking to it; or +> 2. Interacting with this work through the provided inter-process communication interface, such as the HTTP API; or +> 3. Loading this work as a Java Agent into a Java Virtual Machine. diff --git a/README.md b/README.md index 0fdc9be..6334003 100644 --- a/README.md +++ b/README.md @@ -121,3 +121,13 @@ gradle ## 捐助 BMCLAPI 为 authlib-injector 提供了[下载镜像站](https://github.com/yushijinhun/authlib-injector/wiki/%E8%8E%B7%E5%8F%96-authlib-injector#bmclapi-%E9%95%9C%E5%83%8F)。如果您想要支持 authlib-injector 的开发,您可以[捐助 BMCLAPI](https://bmclapidoc.bangbang93.com/)。 + +## 许可 +本程序使用 [GNU Affero General Public License v3.0 or later](https://github.com/yushijinhun/authlib-injector/blob/develop/LICENSE) 许可,并附有以下例外: + +> **AGPL 的例外情况:** +> +> 作为特例,如果您的程序通过以下方式利用本作品,则相应的行为不会导致您的作品被 AGPL 协议涵盖。 +> 1. 您的程序通过打包的方式包含本作品未经修改的二进制形式,而没有静态或动态地链接到本作品;或 +> 2. 您的程序通过本作品提供的进程间通信接口(如 HTTP API)进行交互;或 +> 3. 您的程序将本作品作为 Java Agent 加载进 Java 虚拟机。