From 0a7bd27438a3e68a4649f7c39602e778306e32e3 Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Mon, 17 Aug 2026 10:17:34 +0300 Subject: [PATCH 1/2] Update close_screen.mcfunction --- .../data/macroengine/function/setup/close_screen.mcfunction | 1 + 1 file changed, 1 insertion(+) diff --git a/packs/macroEngine-Datapack/data/macroengine/function/setup/close_screen.mcfunction b/packs/macroEngine-Datapack/data/macroengine/function/setup/close_screen.mcfunction index edfe1e1..c0db569 100644 --- a/packs/macroEngine-Datapack/data/macroengine/function/setup/close_screen.mcfunction +++ b/packs/macroEngine-Datapack/data/macroengine/function/setup/close_screen.mcfunction @@ -1,2 +1,3 @@ # macroengine:setup/close_screen [INTERNAL] +dialog clear @s tellraw @s ["",{"text":"[MACROENGINE] ","color":"#00AAAA","bold":true},{"text":"Setup screen closed.","color":"gray"}] From afe922a1b41823e85e6e8d2693041eb6a9302140 Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Mon, 17 Aug 2026 10:19:23 +0300 Subject: [PATCH 2/2] Simplify admin addition by removing checks Removed permission checks for adding admin status. --- .../macroengine/function/setup/admin/add_self.mcfunction | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packs/macroEngine-Datapack/data/macroengine/function/setup/admin/add_self.mcfunction b/packs/macroEngine-Datapack/data/macroengine/function/setup/admin/add_self.mcfunction index b2263ca..680ac00 100644 --- a/packs/macroEngine-Datapack/data/macroengine/function/setup/admin/add_self.mcfunction +++ b/packs/macroEngine-Datapack/data/macroengine/function/setup/admin/add_self.mcfunction @@ -3,6 +3,5 @@ # SECURITY: only server operators (permission_level 2+, i.e. the vanilla # /op list) can use this button. Without this guard, any player could # make themselves a macroEngine admin. -execute if entity @s[level=2..] run tag @s add macroengine.admin -execute if entity @s[level=2..] run tellraw @s ["",{"text":"[MACROENGINE] ","color":"#00AAAA","bold":true},{"text":"✔ ","color":"green"},"Added as admin."] -execute unless entity @s[level=2..] run tellraw @s ["",{"text":"[MACROENGINE] ","color":"#00AAAA","bold":true},{"text":"✘ ","color":"red"},"This action requires server operator (op)."] +tag @s add macroengine.admin +tellraw @s ["",{"text":"[MACROENGINE] ","color":"#00AAAA","bold":true},{"text":"✔ ","color":"green"},"Added as admin."]