Bossbar title is not a location

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Jul 17, 2024
3
0
1
Hello, I am getting this error in my Skript that creates a bossbar:
[00:39:18 INFO]: Line 53: (bossbar.sk)
[00:39:18 INFO]: "%{_message}%" is not a location
[00:39:18 INFO]: Line: create bossbar named {_barName} with title "%{_message}%"
I am using Skript-2.10.2 and SkBee-3.10.0

I wanted to know what that means, I never saw such an error.

I would appreciate any help. Thanks ( :
 
it is parsing it as a coordinate instead of the wanted text, so try
create bossbar named {_barName} with title {_message}
 
it is parsing it as a coordinate instead of the wanted text, so try
create bossbar named {_barName} with title {_message}
I tried that but got:

[02:18:22 INFO]: Line 53: (bossbar.sk)
[02:18:22 INFO]: Can't understand this condition/effect: create bossbar named {_barName} with title {_message}
[02:18:22 INFO]: Line: create bossbar named {_barName} with title {_message}
 
nvm I think I found your problem, set {_bar} to boss bar with id "test-bar" with title "Test BossBar" has a different syntax than the one you currently have.
adapted version: set {_bar} to boss bar with id {_barName} with title {_message}