aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/fabric.mod.json25
-rw-r--r--src/main/resources/safelog.mixins.json15
2 files changed, 40 insertions, 0 deletions
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
new file mode 100644
index 0000000..f829d28
--- /dev/null
+++ b/src/main/resources/fabric.mod.json
@@ -0,0 +1,25 @@
+{
+ "schemaVersion": 1,
+ "id": "safelog",
+ "version": "${version}",
+ "name": "Safelog",
+ "description": "Redact IP addresses from Minecraft server logs",
+ "authors": [
+ "YuutaW@YMC"
+ ],
+ "contact": {},
+ "license": "GPLv2",
+ "environment": "server",
+ "entrypoints": {
+ "main": [
+ "moe.ymc.safelog.Safelog"
+ ]
+ },
+ "mixins": [
+ "safelog.mixins.json"
+ ],
+ "depends": {
+ "fabricloader": ">=0.12.2",
+ "minecraft": "1.17.1"
+ }
+}
diff --git a/src/main/resources/safelog.mixins.json b/src/main/resources/safelog.mixins.json
new file mode 100644
index 0000000..ccc56d8
--- /dev/null
+++ b/src/main/resources/safelog.mixins.json
@@ -0,0 +1,15 @@
+{
+ "required": true,
+ "minVersion": "0.8",
+ "package": "moe.ymc.safelog.mixin",
+ "compatibilityLevel": "JAVA_16",
+ "mixins": [
+ "ServerLoginNetworkHandlerMixin",
+ "PlayerManagerMixin"
+ ],
+ "client": [
+ ],
+ "injectors": {
+ "defaultRequire": 1
+ }
+}