mrgeneralq / sleep-most

Control the amount of percentage of sleeping players required to make it day. 100K+ downloads on spigot!
https://www.spigotmc.org/resources/sleep-most-1-14-4-configurable-messages-and-percentage.60623/
30 stars 12 forks source link

Placeholder not working in boss-bar title #154

Closed Solzay closed 1 year ago

Solzay commented 1 year ago

Describe the bug The %required% placeholder does not seem to be parsing when used in the boss-bar title.

To Reproduce Steps to reproduce the behavior:

  1. Edit boss-bar title in messages.yml
  2. reload sleep-most or restart server
  3. sleep in a bed

Expected behavior %required% should show the number of people that currently need to sleep.

Screenshots required_bossbar

mrgeneralq commented 1 year ago

Hello @Solzay , thank you for your report. I believe there was never an intension to implement this in the first place, but I do see why you expect that placeholder to be there.

I'll be looking into it and let you once there is an update.

Kind regards

Quinten

mrgeneralq commented 1 year ago

Hello @Solzay

I have looking into this further, and noticed that we might have changed the placeholder message. Use %sleeping-required-count% instead to get the expected result.

Kind regards

Quinten

mrgeneralq commented 1 year ago

@Villmarksjenta , could you please check if this is up to date with the docs?