- check_circle Functions
Published Sep 14th, 2021, 9/14/21 8:06 pm
- 2,696 views, 10 today
- 129 downloads, 0 today
0
Checks the current time when player joins if no other player is online adds time (/time add) based on current time, resulting in a time value between 0 and 1001 (morning), preventing joining your server at night.
Thank you The8BitMonkey for suggesting the use of /time add instead of set.
Motivation: I play on a private server with just a couple of friends, and I always hate it when we join to find it's night time.
Image: Complementary Shaders
Thank you The8BitMonkey for suggesting the use of /time add instead of set.
Motivation: I play on a private server with just a couple of friends, and I always hate it when we join to find it's night time.
Image: Complementary Shaders
Compatibility | Minecraft 1.17 |
to | Minecraft 1.18 |
Tags |
tools/tracking
5299571
119
server-sleeps-on-join
Create an account or sign in to comment.
When you use the command /set time 0 it also resets the Day count (in F3) and the local difficulty.
For some people this will mean that if they rely on local difficulty for mob farms then this will reduce spawn rates.
It'll also mean that people who keep track of how long a world has been activate for via the f3 screen they'll lose that info
Nevertheless a great idea for a pack, might just be better to do /time add X instead of /time set to fix this issue
You could store the current time in a scoreboard and then if the score is at certain values add X amount to make it to 0 (or morning)
Can't count the amount of times one of my packs broke something I didn't think would be an issue......until it was lol
I've updated the pack, sadly the time command doesn't take a variable so I had to put a couple of conditions based on current time, in the end you'll get a final time between 0 and 1001, but that's not a problem imo
Thanks again!