-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π§βπ» add telemetry trigger to force create a new page
- Loading branch information
1 parent
803b025
commit e082444
Showing
6 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...acks/omegaflowey/data/omegaflowey.main/function/telemetry/admin/new_page/booth.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
execute if entity @s[name=!TheAfroOfDoom] run return run function omegaflowey.utils:log/self { text_component: '[ \ | ||
{ "text": "Only ", "color": "red" }, \ | ||
{ "text": "TheAfroOfDoom ", "color": "yellow" }, \ | ||
{ "text": "can start a new page in booth telemetry", "color": "red" } \ | ||
]'} | ||
|
||
function omegaflowey.main:telemetry/booth/add_tag/new_page | ||
|
||
function omegaflowey.utils:log/self { text_component: '[ \ | ||
{ "text": "Started a new page in booth telemetry ", "color": "yellow" } \ | ||
]'} |
15 changes: 15 additions & 0 deletions
15
.../omegaflowey/data/omegaflowey.main/function/telemetry/admin/new_page/bossfight.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
execute if entity @s[name=!TheAfroOfDoom] run return run function omegaflowey.utils:log/self { text_component: '[ \ | ||
{ "text": "Only ", "color": "red" }, \ | ||
{ "text": "TheAfroOfDoom ", "color": "yellow" }, \ | ||
{ "text": "can start a new page in bossfight telemetry", "color": "red" } \ | ||
]'} | ||
|
||
$execute if entity $(boss_fight_uuid) run return run function omegaflowey.utils:log/self { text_component: '[ \ | ||
{ "text": "Cannot start a new page in bossfight telemetry: a bossfight is currently active", "color": "red" } \ | ||
]'} | ||
|
||
function omegaflowey.main:telemetry/bossfight/tag/root/start/new_page | ||
|
||
function omegaflowey.utils:log/self { text_component: '[ \ | ||
{ "text": "Started a new page in bossfight telemetry ", "color": "yellow" } \ | ||
]'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters