aboutsummaryrefslogtreecommitdiffstats
path: root/bukkit/src/main/resources
diff options
context:
space:
mode:
authorKrakenied <Krakenied1@gmail.com>2023-10-01 11:49:14 +0200
committerLeonardo Bishop <13875753+LMBishop@users.noreply.github.com>2023-11-26 12:59:04 +0000
commitaf2b1f27596cafef73cd9190d3af0f774542543e (patch)
treed8dab0ffc931a925d1f98ac963370bb0f4d3cf64 /bukkit/src/main/resources
parent9206827fc24a05812609394a8810b2a02d11d60b (diff)
Dynamic boss bar style and color support
Diffstat (limited to 'bukkit/src/main/resources')
-rw-r--r--bukkit/src/main/resources/resources/bukkit/config.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/bukkit/src/main/resources/resources/bukkit/config.yml b/bukkit/src/main/resources/resources/bukkit/config.yml
index 5648bd7f..97a4bef2 100644
--- a/bukkit/src/main/resources/resources/bukkit/config.yml
+++ b/bukkit/src/main/resources/resources/bukkit/config.yml
@@ -43,9 +43,11 @@ options:
# Time in seconds of bossbar showed
time: 5
# See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
- color: BLUE
+ color:
+ '0.0': BLUE # for 0.0 and higher progress values (progress is always between 0.0 and 1.0)
# See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html
- style: SOLID
+ style:
+ '0.0': SOLID # for 0.0 and higher progress values (progress is always between 0.0 and 1.0)
# Enable/disable ActionBar
actionbar:
progress: false