Skip to content

Commit

Permalink
Change license to MPL 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-1000 committed Dec 19, 2024
1 parent cf64e70 commit 9a12f5a
Show file tree
Hide file tree
Showing 18 changed files with 487 additions and 134 deletions.
494 changes: 373 additions & 121 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,3 @@ It now sends the following data when loading a singleplayer world or connecting
* game mode

This time [Mojang did not add a toggle](https://bugs.mojang.com/browse/MC-237493) for interested users to turn it off, though, so this mod fixes that by disabling the telemetry entirely.

## License

This mod is available under the CC0 license.
15 changes: 8 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.google.gson.JsonObject
import java.io.FilterReader
import java.io.Reader
import java.io.StringReader

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
plugins {
id("fabric-loom") version "1.4-SNAPSHOT"
`maven-publish`
Expand Down
8 changes: 8 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
pluginManagement {
repositories {
mavenCentral()
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/de/kb1000/notelemetry/CommonUtil.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry;

class CommonUtil {
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/de/kb1000/notelemetry/FabricUtil.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry;

import net.fabricmc.loader.api.FabricLoader;
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/de/kb1000/notelemetry/ForgeUtil.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry;

import net.minecraftforge.fml.loading.FMLLoader;
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/de/kb1000/notelemetry/NoTelemetryForgeMod.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry;

import net.minecraftforge.fml.common.Mod;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry;

import org.objectweb.asm.tree.ClassNode;
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/de/kb1000/notelemetry/NoTelemetryPreLaunch.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry;

import net.fabricmc.loader.api.entrypoint.PreLaunchEntrypoint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry.mixin;

import org.spongepowered.asm.mixin.Mixin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry.mixin;

import com.mojang.authlib.yggdrasil.YggdrasilUserApiService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry.mixin;

import org.spongepowered.asm.mixin.Mixin;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry.mixin;

import net.fabricmc.api.EnvType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry.mixin;

import net.fabricmc.api.EnvType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v. 2.0.
*/
package de.kb1000.notelemetry.mixin;

import com.mojang.authlib.minecraft.TelemetrySession;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
modLoader = "javafml"
loaderVersion = "[38,)"
issueTrackerURL = "https://github.com/kb-1000/no-telemetry/issues"
license = "CC0"
license = "MPL 2.0, https://mozilla.org/MPL/2.0/"

[[mods]]
modId = "no_telemetry"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sources": "https://github.com/kb-1000/no-telemetry",
"issues": "https://github.com/kb-1000/no-telemetry/issues"
},
"license": "CC0-1.0",
"license": "MPL-2.0-no-copyleft-exception",
"environment": "client",
"entrypoints": {
"preLaunch": [
Expand Down

0 comments on commit 9a12f5a

Please sign in to comment.