Geitenijs / KeepChunks

The most powerful chunk loading plugin!
Other
42 stars 9 forks source link

Plugin doesn't load my chunks #48

Closed zKyros closed 2 years ago

zKyros commented 2 years ago

Hi, I just downloaded and installed the plugin, but when I ask it to chunk load it doesn't, for example, I got a sugarcane farm that is chunk loaded correctly, ▧▧▧▧▧ ▧ Marked (no farm) ▧▧▧▧▧ ▣ Marked (sugarcane farm) ▧▧▣▧▧ ▧▧▣▧▧ ▧▧▧▧▧ ▧▧▧▧▧ but actually, if I go very far away and then do /gamerule randomTickSpeed 900 for 10-15 seconds nothing happens. Fix? I'm running the latest Paper1.17.1 Actually if I set a command block to spam in the chat it works even if I'm far away.

To Reproduce Steps to reproduce the behavior:

  1. Place some sugar canes
  2. Chunkload the chunks where the sugar canes are
  3. Go away 3000 blocks
  4. run /gamerule randomTickSpeed 900
  5. wait 15 seconds
  6. run /gamerule randomTickSpeed 3
  7. Get back to the sugar canes and see that they didn't grow.

Expected behavior The sugar canes should have grown.

Screenshots I could do a video. Ask for that if needed

Environment (please complete the following information):

Cosmiiko commented 2 years ago

Same situation here, sugarcane farm too, running latest paper 1.18 build (updated daily) and latest plugin version.

Chunks marked by the following pattern:

▧▧▧▧▧     ▧ Marked (no farm)
▧▧▧▧▧     ▣ Marked (sugarcane farm)
▧▧▣▧▧
▧▧▧▧▧
▧▧▧▧▧

Relevant logs with debug turned on: _118_mc_1_logs.txt, even though they don't show any issue whatsoever.

zKyros commented 2 years ago

In a discussion made in a discord server we tested a bunch of things: We placed down a command block that spams commands in chat, chunkloaded it, and then I went far away. Actually it kept working, but the sugar canes weren't growing whatsoever. (Did the randomTickSpeed thingy too.) A dev said that probably KeepChunk's chunkloading doesnt't affect the Random Tick. Maybe it's not even a problem of the plugin, but a fix would still be appreciated.

Cosmiiko commented 2 years ago

I did some further reading and it seems that despite chunks being loaded, block events (ie crops and plantations growing) are not processed when no player is nearby. Seems it has nothing to do with this plugin, it's a Minecraft mechanic. I've tested that the crops don't even grow on the spawn chunk when no player is around.

zKyros commented 2 years ago

So there is no fix?

Cosmiiko commented 2 years ago

As far as I'm aware, no, there isn't. Despite extensive research I can't find any plugin that does the job, so my guess is this is not something plugins can easily change. My personal solution will be to make a bot with Mineflayer as soon as it is updated to 1.18 and make it join my server.

Geitenijs commented 2 years ago

It's indeed not possible to do this with the current chunk loading implementation in Spigot. Once it is (if ever), KeepChunks will be the first plugin to support it.