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

[Feature request] add a bossbar to show the actual amount of head in a chunk #19

Open
HamtaBot opened this issue Mar 24, 2024 · 6 comments

Comments

@HamtaBot
Copy link

could we get a bossbar to get the amount of heads on the chunk ? helpfull when we are building farms and wants to know how many heads left before reaching the limit

@J3fftw1
Copy link
Contributor

J3fftw1 commented Mar 24, 2024

You can do /hl count and it should show the heads

@HamtaBot
Copy link
Author

You can do /hl count and it should show the heads

wouldnt it be better for user experience to add a bossbar ?

@J3fftw1
Copy link
Contributor

J3fftw1 commented Mar 24, 2024

It would be but counting the heads in the chunk is pretty heavy. So doing that constantly would cause lag

@HamtaBot
Copy link
Author

It would be but counting the heads in the chunk is pretty heavy. So doing that constantly would cause lag

i may had miss spelled it , the bossbar would only show when a head is placed and then disapear 3 secs later
my quests and jobs plugins are doing that

@J3fftw1
Copy link
Contributor

J3fftw1 commented Mar 24, 2024

Your quests and jobs plugin aren’t Slimefun heads.
Spam placing would still cause lag but we might be able to cache it for a min but this is very low down on my to do list if anyone wants to PR it go a head. Would love some performance tests for this tho

@HamtaBot
Copy link
Author

i can def test it on my server but can't code it ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants