Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to track lifetime crowns #26

Merged
merged 1 commit into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# - Start Log -
execute as @a[scores={do2.logs.player_actions=1..}] run tellraw @s ["",{"text":"§f[§9B§r]: Player escaped the dungeon with a §acrown§r."}]
# - End Log -

scoreboard players add @a[tag=do2.received_shulker] do2.lifetime.escaped.crowns 1
scoreboard players add $dungeon do2.lifetime.escaped.crowns 1

4 changes: 2 additions & 2 deletions Brilliance Datapack/data/do2/functions/version.mcfunction
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

# DATAPACK VERSION NUMBER: 0.12.17
# DATAPACK VERSION NUMBER: 0.12.18

tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.12.17§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}]
tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.12.18§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}]
2 changes: 1 addition & 1 deletion docs/scoreboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Brilliance uses a massive amount of scoreboard objectives for a vast amount of t
| ✅ | 🟤 | do2.wins | totals | The total amount of wins the target has. |
| ✅ | 🟤 | do2.losses | totals | The total amount of losses the target has. |
| ✅ | 🟤 | do2.lifetime.pickedup.crowns | totals | The total amount of Crowns the target has picked up. |
| | 🟤 | do2.lifetime.escaped.crowns | totals | The total amount of Crowns the target has escaped with. |
| | 🟤 | do2.lifetime.escaped.crowns | totals | The total amount of Crowns the target has escaped with. |
| ✅ | 🟤 | do2.lifetime.spent.crowns | totals | The total amount of Crowns the target has spent. |
| ✅ | 🟤 | do2.lifetime.pickedup.coins | totals | The total amount of Coins the target has picked up. |
| ✅ | 🟤 | do2.lifetime.coinsconverted | totals | The total amount of Coins the target has Converted. |
Expand Down