Skip to content

Commit

Permalink
DP | Add map name to bossbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik0-0 committed Mar 18, 2024
1 parent 2319b57 commit 09f0788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
execute if score phase nn_lobby matches 5 if score min nn_lobby >= 0 nn_lobby run bossbar set minecraft:game name [{"score":{"name":"min","objective":"nn_lobby"},"color":"yellow"},{"text":":","color":"yellow"},{"score":{"name":"sec","objective":"nn_lobby"},"color":"yellow"},{"text":" |","color":"dark_gray"},{"text":" Playing ","color":"aqua"},{"selector":"@e[tag=now_playing]","color":"gold"}]
execute if score phase nn_lobby matches 5 if score min nn_lobby >= 0 nn_lobby run bossbar set minecraft:game name [{"score":{"name":"min","objective":"nn_lobby"},"color":"yellow"},{"text":":","color":"yellow"},{"score":{"name":"sec","objective":"nn_lobby"},"color":"yellow"},{"text":" |","color":"dark_gray"},{"text":" Playing ","color":"aqua"},{"storage":"nnb_spawnsystem:temp","nbt":"map","color":"gold"}]
2 changes: 1 addition & 1 deletion nnb_spawnsystem/main.jmc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function root() {
bossbar set minecraft:game name [
{"score":{"name":"min","objective":"nn_lobby"},"color":"yellow"},
{"text":":","color":"yellow"},{"score":{"name":"sec","objective":"nn_lobby"},"color":"yellow"},
{"text":" |","color":"dark_gray"},{"text":" Playing ","color":"aqua"},{"selector":"@e[tag=now_playing]","color":"gold"}];
{"text":" |","color":"dark_gray"},{"text":" Playing ","color":"aqua"},{"storage":"nnb_spawnsystem:temp","nbt":"map","color":"gold"}];

}}}

Expand Down

0 comments on commit 09f0788

Please sign in to comment.