From 05ef3f85ea8b28d12e55ef331d111876073b554b Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Sat, 25 Jul 2026 10:10:44 +0000 Subject: [PATCH 1/8] . --- build.gradle | 6 ++++++ gradle.properties | 4 ++-- gradlew | 0 3 files changed, 8 insertions(+), 2 deletions(-) mode change 100644 => 100755 gradlew diff --git a/build.gradle b/build.gradle index 4a6a902..727e225 100644 --- a/build.gradle +++ b/build.gradle @@ -62,6 +62,12 @@ loom { runDir "build/gametest" } } + + decompilers { + // Vineflower worker'ının JVM argümanlarını doğrudan kontrol eder + } +} + mods { "datalib-testmod" { sourceSet sourceSets.main diff --git a/gradle.properties b/gradle.properties index 3a0b2ab..b0f75c5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -org.gradle.jvmargs=-Xmx1536m -XX:MaxMetaspaceSize=512m -org.gradle.daemon=false +org.gradle.jvmargs=-Xmx6g +org.gradle.daemon=false \ No newline at end of file diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 From 7dd4b92ea6b1982ec3685bb34ea7decb3d04663b Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Sat, 25 Jul 2026 10:13:34 +0000 Subject: [PATCH 2/8] . --- build.gradle | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 727e225..4043cfe 100644 --- a/build.gradle +++ b/build.gradle @@ -63,11 +63,6 @@ loom { } } - decompilers { - // Vineflower worker'ının JVM argümanlarını doğrudan kontrol eder - } -} - mods { "datalib-testmod" { sourceSet sourceSets.main @@ -420,4 +415,4 @@ tasks.register("runMainTestClient", JavaExec) { description = "Runs Main.java Test Client standalone" classpath = sourceSets.gametest.runtimeClasspath mainClass = "io.runtoolkit.datalib.Main" -} +} \ No newline at end of file From e4ba8d239395a72821779ac021f4a8072952336c Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Sat, 25 Jul 2026 10:19:29 +0000 Subject: [PATCH 3/8] . --- gradle.properties | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index b0f75c5..adb226f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,4 @@ -org.gradle.jvmargs=-Xmx6g -org.gradle.daemon=false \ No newline at end of file +org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=1g +org.gradle.daemon=false +org.gradle.workers.max=1 +org.gradle.parallel=false \ No newline at end of file From bdcc64cfcfbc8baa1325f5d3a3a9a9995588a019 Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Sat, 25 Jul 2026 14:51:42 +0300 Subject: [PATCH 4/8] Update README.md --- README.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index e1ff18f..4a138ab 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,4 @@ -# 🔧 dataLib — ⚠️ ARCHIVED - -> [!CAUTION] -> **This repository is ARCHIVED.** Active development, maintenance, and new security patches have stopped. -> The existing security gate/approval system (`dl_load:gate/*`, `core/security/cmd_gate`, the `check_all` chain) **has not been removed and continues to run**, but it will not be updated against new threats. -> -> **Datapack risks (also apply to this project):** -> - String injection: `$$(...)` macro calls run without type safety in the datapack environment. -> - No namespace isolation: one datapack can freely interfere with another datapack's function/data space. -> - TOCTOU issues: the tick gap between check and use can be exploited. -> - No compile-time type checking: errors only surface at runtime (or not at all). -> -> **Recommended path:** migrate to a **Fabric mod** under `runtoolkit` targeting this functionality — MC **1.21.1** (upgrade to **1.21.11** if needed). Fabric provides type safety and real namespace isolation, which structurally removes most of these risks. - +# 🔧 dataLib **Minecraft Java Edition 26.3-snapshot-5 | Multiplayer-Safe | Pure Datapack** [![CI](https://github.com/runtoolkit/dataLib-dp/actions/workflows/ci.yml/badge.svg)](https://github.com/runtoolkit/dataLib-dp/actions/workflows/ci.yml) @@ -19,11 +6,11 @@ [![Download on Modrinth](https://img.shields.io/badge/Download%20on-Modrinth-00AF5C?style=for-the-badge&logo=modrinth&logoColor=white)](https://modrinth.com/datapack/datalib) --- -> Current version: **v6.0.1-pre2 (ARCHIVED)** +> Current version: **v6.0.1-pre2** --- > [!WARNING] -> **This repository is archived. It will no longer receive security improvements, bug fixes, or new features.** It can still be used "as-is"; use in production environments is not recommended. +> **This datapack is considered safe to use, but it is still actively receiving security improvements, bug fixes, and new features. Please keep it up to date.** > > **Do not copy `datalib:input` or `datalib:engine` into your own datapack.** It is an internal implementation detail and may change without notice between releases. From 46bdf7451b3a918f082a0bfa53ced66edbc87740 Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Sat, 25 Jul 2026 14:52:50 +0300 Subject: [PATCH 5/8] Remove archived notice from check_all.mcfunction Removed archived notice from check_all.mcfunction. --- .../datalib/function/debug/tools/utils/check_all.mcfunction | 5 ----- 1 file changed, 5 deletions(-) diff --git a/datapacks/dataLib/data/datalib/function/debug/tools/utils/check_all.mcfunction b/datapacks/dataLib/data/datalib/function/debug/tools/utils/check_all.mcfunction index c1b15ed..b6fa17f 100644 --- a/datapacks/dataLib/data/datalib/function/debug/tools/utils/check_all.mcfunction +++ b/datapacks/dataLib/data/datalib/function/debug/tools/utils/check_all.mcfunction @@ -1,8 +1,3 @@ -#> ARCHIVED: dataLib-dp is no longer maintained. -#> The security check chain below (load_check / perm_check / input_check) runs UNCHANGED. -#> Since no new security patches will be released, keeping this datapack in production is risky. -#> Recommended: migrate to the runtoolkit Fabric mod ecosystem (MC 1.21.1, upgrade to 1.21.11 if needed). - execute unless function datalib:debug/tools/utils/load_check run return 0 execute unless function datalib:debug/tools/utils/perm_check run return 0 execute unless function datalib:debug/tools/utils/input_check run return 0 From 33b6d1b23435d381afcaeffc038a4ab81c10fd71 Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Sat, 25 Jul 2026 14:53:01 +0300 Subject: [PATCH 6/8] Fix input_check execution in check_all.mcfunction --- .../data/datalib/function/debug/tools/utils/check_all.mcfunction | 1 - 1 file changed, 1 deletion(-) diff --git a/datapacks/dataLib/data/datalib/function/debug/tools/utils/check_all.mcfunction b/datapacks/dataLib/data/datalib/function/debug/tools/utils/check_all.mcfunction index b6fa17f..905a810 100644 --- a/datapacks/dataLib/data/datalib/function/debug/tools/utils/check_all.mcfunction +++ b/datapacks/dataLib/data/datalib/function/debug/tools/utils/check_all.mcfunction @@ -1,4 +1,3 @@ execute unless function datalib:debug/tools/utils/load_check run return 0 execute unless function datalib:debug/tools/utils/perm_check run return 0 execute unless function datalib:debug/tools/utils/input_check run return 0 -return 1 From 4f67b7461f5f7565d2e83204bda0b5326da27f3b Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Sat, 25 Jul 2026 14:53:52 +0300 Subject: [PATCH 7/8] Clean up archived function messages Removed archived status messages and migration recommendation. --- .../data/datalib.main/function/datalib/load.mcfunction | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/datapacks/dataLib/data/datalib.main/function/datalib/load.mcfunction b/datapacks/dataLib/data/datalib.main/function/datalib/load.mcfunction index 6677d26..e0aefee 100644 --- a/datapacks/dataLib/data/datalib.main/function/datalib/load.mcfunction +++ b/datapacks/dataLib/data/datalib.main/function/datalib/load.mcfunction @@ -1,12 +1,5 @@ #> This function will run on datapack loading -#> ARCHIVED: This datapack is no longer under active development. -#> The security gate/approval system (dl_load:gate/*, core/security/cmd_gate) has NOT been disabled -#> and continues to run as-is. No new features or fixes will be added. -#> Recommended: migrate to the runtoolkit Fabric mod ecosystem (MC 1.21.1, upgrade to 1.21.11 if needed). -tellraw @a[tag=!rt_dl_archive_seen] {"text":"[dataLib] This datapack is ARCHIVED. The security gate still runs, but it is no longer maintained. Migration to a runtoolkit Fabric mod is recommended.","color":"red"} -tag @a add rt_dl_archive_seen - execute if data storage datalib:engine {global:{loaded:1b}} run return 0 -function #load:_private/load \ No newline at end of file +function #load:_private/load From d8b2a635ba0f7b6a2f54fa1ae09f3e87094818ec Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Sat, 25 Jul 2026 14:54:52 +0300 Subject: [PATCH 8/8] Reorder function calls in tick.mcfunction --- .../dataLib/data/datalib.main/function/datalib/tick.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapacks/dataLib/data/datalib.main/function/datalib/tick.mcfunction b/datapacks/dataLib/data/datalib.main/function/datalib/tick.mcfunction index d6e1eb1..95a2089 100644 --- a/datapacks/dataLib/data/datalib.main/function/datalib/tick.mcfunction +++ b/datapacks/dataLib/data/datalib.main/function/datalib/tick.mcfunction @@ -1,3 +1,3 @@ #> This is the main function, that will run once per tick +execute at @s run function datalib:core/tick function #datalib:loop -execute at @s run function datalib:core/tick \ No newline at end of file