Better Days

Better Days

1M Downloads

Config option suggestion: % of players for time speed-up

Cephelo opened this issue ยท 2 comments

commented

A config option that determines the percentage of players on the server that need to be sleeping for time-speed up to take effect would be awesome!

For example, if a server has 15 players online, and the config option is set to 50% (0.5), then 8 or more players must be sleeping to start the time speed-up. This is when the "sleepSpeedMin" option would be triggered. This would let server admins prevent everyone from skipping time if only one person is sleeping, and require coordination for mutual benefit if sleeping speeds up crop growth, for example.

To emulate the current way things are, this option could be set to 0.0, which would disable this feature (or render it ineffective)

Let me know what you think, or if there's any way I can help. Thanks!

commented

Actually, after a quick check, this is already possible. Just set the gamerule for playersSleepingPercentage and it will be honored.

commented

I think we never added this, as there are a bunch of sleep vote mods out there. I do think this is a reasonable request though. I'll look into this and see what I can do. Thanks for the suggestion!