Comments (4)
Oh that's super weird! That's one of the things that I specifically tested to make sure it was working. Just tested again to confirm, and with exactly those datapacks installed it works fine for me.
Need some more info:
- Do all players online have the
afk
tag?/tag @a list
- Are there any other data packs installed, and what are they?
- What game version are you running?
- If you're an admin (I'm assuming you are?) can you run the following commands and send the output:
/scoreboard players get #do_daylight_cycle pause_daylight_cycle.dummy
/scoreboard players get #is_paused pause_daylight_cycle.dummy
- Is there anything else that might be relevant?
I truly don't know how this could have broken because the only thing that changed was the name of the folders, there literally wasn't a change in the logic at all haha.
My only guess is that while the daylight cycle was paused, somehow the scoreboard that it uses to keep track of how it was paused got reset, so it thought a player had disabled the daylight cycle and didn't resume it. That's what I'm trying to find out with those scoreboard values.
After you've given me the result of those commands, I think this will fix it:
/function pause_day_cycle:uninstall
/gamerule doDaylightCycle true
/reload
But if it breaks after that, I'll have to keep digging to figure out what the problem is. I even tested both cases of upgrading the world from 1.20.x to 1.21 while the daylight cycle is and isn't paused.
from datapacks.
Oh one more thing actually. Because datapacks are world based I can actually do this debugging myself if you're willing to send me the world file - I'm @clo4 on Discord if you want to DM it to me.
from datapacks.
i was able to patch it just by turning on the gamerule back on and it worked perfectly even when no players are online. not sure why it was paused to start with upon world launch. not sure why but it's fixed now and works as intended.
from datapacks.
Extremely strange. I’ll keep a lookout for that on my own worlds too. Thanks for letting me know, appreciate it!
from datapacks.
Related Issues (20)
- Update the description of Detect AFK Players to point to the addons that are now public
- Send an alert when addons are installed but `afk` isn't found HOT 1
- Rewrite README to include chickenfix and pause day cycle HOT 1
- Rewrite to guarantee ordering HOT 1
- WIP builds should be marked as such in the version file HOT 1
- Test and release Pause Day Cycle
- Make a better icon for chickenfix
- Set a team to restore to
- AFK team should have PVP disabled by default
- Delete original release
- Can you add support for 1.20.1? HOT 2
- Don't remove AFK tag from players if they have it before becoming AFK HOT 1
- playersSleepingPercentage values over 100% don't work as expected HOT 1
- Rewrite build system in Literally Anything Other Than Bash HOT 4
- Store seconds not moved instead of loops HOT 1
- Release new versions with support up to 1.21 HOT 5
- Pack format extensibility
- Nix builder: low hanging fruit improvements HOT 1
- Remove mcmeta-summary input from examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datapacks.