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

Sleeping status indicator #11

Open
5 tasks
lokka30 opened this issue Jan 21, 2024 · 1 comment
Open
5 tasks

Sleeping status indicator #11

lokka30 opened this issue Jan 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lokka30
Copy link
Member

lokka30 commented Jan 21, 2024

Suggestion

A per-world status indicator on the action bar and/or boss bar that shows how many people are sleeping

Suggested on spigot by https://www.spigotmc.org/members/michelle1492.1771172/

Objectives

  • Per-world action bar and/or boss bar status indicator
  • Auto-disable bar locations if the MC server version doesn't implement them
  • Configurable message in settings.yml
    • Translation of legacy color codes from the config string
    • Placeholders for world name, player sleeping count, online player count, percentage sleeping

Concerns

  • Vanished players support
    • We don't want to expose the actual player count, only the amount of online players that the player can see (Player#canSee iirc). But also handle cases e.g. where 1 remaining person who isn't sleeping is vanished. Vanish plugins should be tagging them as sleepingIgnored anyway.
  • Feature creep.
@lokka30 lokka30 added the enhancement New feature or request label Jan 21, 2024
@lokka30 lokka30 self-assigned this Jan 21, 2024
@lokka30
Copy link
Member Author

lokka30 commented Oct 1, 2024

I'm rather unsure about adding this feature, but steering on the side of being in favor of adding it, purely concerning keeping the plugin as thin as it can be.

@lokka30 lokka30 added the good first issue Good for newcomers label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant