From 67f49d75f5d1830a82d264646e3f94b5aadd1fb0 Mon Sep 17 00:00:00 2001 From: TheAfroOfDoom Date: Fri, 25 Oct 2024 01:03:42 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20show=20total=20telemetry=20pages?= =?UTF-8?q?=20in=20`stats`=20trigger=20-=20for=20quick=20viewing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../function/telemetry/admin/stats.mcfunction | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/datapacks/omegaflowey/data/omegaflowey.main/function/telemetry/admin/stats.mcfunction b/datapacks/omegaflowey/data/omegaflowey.main/function/telemetry/admin/stats.mcfunction index 0ef05399..de19ba1e 100644 --- a/datapacks/omegaflowey/data/omegaflowey.main/function/telemetry/admin/stats.mcfunction +++ b/datapacks/omegaflowey/data/omegaflowey.main/function/telemetry/admin/stats.mcfunction @@ -1,3 +1,6 @@ +execute store result score @s omegaflowey.math.0 run data get storage omegaflowey:telemetry data.booth +execute store result score @s omegaflowey.math.1 run data get storage omegaflowey:telemetry data.bossfight + function omegaflowey.utils:log/self { text_component: '[ \ { "text": "", "color": "aqua" }, \ { "text": "Booth statistics:", "color": "light_purple", "bold": true }, \ @@ -40,6 +43,16 @@ function omegaflowey.utils:log/self { text_component: '[ \ \ { "text": "parkour finishes: ", "color": "yellow" }, \ { "score": { "name": "#omegaflowey.telemetry.stats.total_distinct_parkour_finishes", "objective": "omegaflowey.global.flag" } }, \ + "\\n", \ +\ + "\\n", \ +\ + { "text": "booth telemetry pages: ", "color": "green" }, \ + { "score": { "name": "@s", "objective": "omegaflowey.math.0" } }, \ + "\\n", \ +\ + { "text": "bossfight telemetry pages: ", "color": "green" }, \ + { "score": { "name": "@s", "objective": "omegaflowey.math.1" } }, \ \ "" \ ]'}