Geitenijs / KeepChunks

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

Server crash when selecting chunks #58

Closed einznoah closed 1 year ago

einznoah commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Execute command '/kc keepregion coords 188 -426 292 -663 world'
  2. Use feature 'Marking chunks to keep loaded'
  3. See error

Expected behavior Chunks being marked by the plugin

Environment (please complete the following information):

Additional context Works when marking single chunks

See log file in attachment latest.log

Aridean commented 2 years ago

Have the exact same error on purpur 1.19 latest

Manually using a range of chunks eg. 'keepregion coords x1 z1 x2 x2 world' Get the exact same error as above, causing a loop and crashing the server outright.

dorrzun commented 1 year ago

Hi guys,

This is actually a false alarm! Some of our commands require chunk coordinates instead of player/world coords. If you use the inputs above, it's trying to load hundreds of thousands of chunks at once!

While we're still working to incorporate async loading to scale with larger load requests, there will be an adjustable maximum number of chunks (#53) that any command may load at once, to avoid accidents.