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

Manipulate gamerule (variable?) playerSleepingPercentage for decreased chat announcments #184

Open 1nfameArts opened 8 months ago

1nfameArts commented 8 months ago

Is your feature request related to a problem? Please describe.

Going afk is annoying with this plugin when there are > 4 players online. Chat messages disappear because of announcements "[Sleep-Most] To skip the night, need [1/2] players! [Sleep-Most] Night skipped! [Sleep-Most] To skip the night, need [1/2] players! [Sleep-Most] Night skipped!" and that makes messages disappear.

Describe the solution you'd like

Make the plugin manipulate gamerule/variable playerSleepingPercentage to make sleep more natural & removed need for announcements of night skipping.

Do you have a suggestion for a new command? Include all details below.

/legacysleep Will be beneficial if this gets added for weak hosts like Aternos Toggles the sleep method before this change.

Another way to approach this issue

Make the skip announcement as a bossbar. Or on the experience bar. Either way makes it better, just for it to not appear in chat.