summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorAizistral2022-06-18 18:06:33 +0200
committerAizistral2022-06-18 18:10:24 +0200
commit42a3967f1994b8c2806e1ff3abd3de92be653c4d (patch)
treea5a51b1ee1688030daa470a4dfe81b82befa912e /src/main/resources
parent01c10d2137373665e9e835eac3bab2eff674dabd (diff)
I figured it out
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/META-INF/MANIFEST.MF1
-rw-r--r--src/main/resources/META-INF/mods.toml12
-rw-r--r--src/main/resources/assets/nochatreports/lang/en_us.json4
-rw-r--r--src/main/resources/fabric.mod.json39
-rw-r--r--src/main/resources/pack.mcmeta6
5 files changed, 42 insertions, 20 deletions
diff --git a/src/main/resources/META-INF/MANIFEST.MF b/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 520b722..0000000
--- a/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-MixinConnector: com.aizistral.nochatreports.MixinConnector
diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml
deleted file mode 100644
index d3afb8e..0000000
--- a/src/main/resources/META-INF/mods.toml
+++ /dev/null
@@ -1,12 +0,0 @@
-license="WTFPL"
-modLoader="javafml"
-loaderVersion="[31,)"
-[[mods]]
-modId="nochatreports"
-version="1.0.0"
-displayName="No Chat Reports"
-authors="Aizistral"
-logoFile="NCR_logo.png"
-description='''
-None
-''' \ No newline at end of file
diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json
index 28caa07..19fed74 100644
--- a/src/main/resources/assets/nochatreports/lang/en_us.json
+++ b/src/main/resources/assets/nochatreports/lang/en_us.json
@@ -1,3 +1,5 @@
{
- "gui.nochatreport.secureChat": "This option cannot work with No Chat Reports, since there are no signatures to verify."
+ "gui.nochatreport.secureChat": "This option cannot work with No Chat Reports, since there are no signatures to verify.",
+ "disconnect.nochatreports.client": "This server does not have No Chat Reports, and you have it configured to require itself on server.",
+ "disconnect.nochatreports.server": "You do not have No Chat Reports, and this server is configured to require it on client!"
} \ No newline at end of file
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
new file mode 100644
index 0000000..4d06ffd
--- /dev/null
+++ b/src/main/resources/fabric.mod.json
@@ -0,0 +1,39 @@
+{
+ "schemaVersion": 1,
+ "id": "nochatreports",
+ "version": "${version}",
+
+ "name": "No Chat Reports",
+ "description": "Strips cryptographic signatures from player messages, making it impossible to track and associate them with your Mojang/Microsoft account, as well as use Player Chat Reporting feature.",
+ "authors": [
+ "Aizistral"
+ ],
+ "contact": {
+ "homepage": "https://www.curseforge.com/minecraft/mc-mods/no-chat-reports",
+ "sources": "https://github.com/Aizistral-Studios/No-Chat-Reports"
+ },
+
+ "license": "WTFPL",
+ "icon": "NCR_logo.png",
+
+ "environment": "*",
+ "entrypoints": {
+ "main": [
+ "com.aizistral.nochatreports.NoChatReports"
+ ],
+ "client": [
+ "com.aizistral.nochatreports.NoChatReportsClient"
+ ]
+ },
+ "mixins": [
+ "nochatreports.mixins.json"
+ ],
+
+ "depends": {
+ "fabricloader": ">=0.14.6",
+ "fabric": "*",
+ "minecraft": "~1.19",
+ "java": ">=17"
+ },
+ "suggests": {}
+}
diff --git a/src/main/resources/pack.mcmeta b/src/main/resources/pack.mcmeta
deleted file mode 100644
index 1a52c3a..0000000
--- a/src/main/resources/pack.mcmeta
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "pack": {
- "description": "No Chat Reports Resources",
- "pack_format": 6
- }
-}