Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable saving loaded chunks to disk #25

Closed
SecretlyJealous opened this issue Jun 17, 2021 · 2 comments
Closed

Disable saving loaded chunks to disk #25

SecretlyJealous opened this issue Jun 17, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@SecretlyJealous
Copy link

Is it possible to add some sort of option that allows me to load chunks beyond the view distance set by the server but not save them to the disk either? Optifine is able to achieve the same thing this mod does without saving the region file to the disk so I was hoping it would be possible to implement something similar in this mod. The problem I'm experiencing at the moment is that when playing on creative servers with large buildings the folder in .bobby becomes very large because it's storing region files for every area that I visit

@Johni0702
Copy link
Owner

Yes, removing that functionality should be fairly simple. My main use-case is on a (relatively) fixed size map, so I had not yet given much thought to disk usage.

It's quite the downgrade though cause just like Optifine (well, not exactly, there is an additional unloading delay in bobby) if you teleport away and then back (or reconnect), you'll have to run around to load stuff again.
So, depending on your use-case there may be better solutions, may I suggest one of:

  • Automatically clear the .bobby cache on disconnect
  • Automatically remove any region files which have not been accessed (or updated?) in the last X days (with the special case of 0, this also allows for essentially the same behavior as the other option)

@SecretlyJealous
Copy link
Author

Yes, removing that functionality should be fairly simple. My main use-case is on a (relatively) fixed size map, so I had not yet given much thought to disk usage.

It's quite the downgrade though cause just like Optifine (well, not exactly, there is an additional unloading delay in bobby) if you teleport away and then back (or reconnect), you'll have to run around to load stuff again.
So, depending on your use-case there may be better solutions, may I suggest one of:

  • Automatically clear the .bobby cache on disconnect
  • Automatically remove any region files which have not been accessed (or updated?) in the last X days (with the special case of 0, this also allows for essentially the same behavior as the other option)

Both of those solutions sound good to me :)

@Johni0702 Johni0702 added the enhancement New feature or request label Jun 17, 2021
@Johni0702 Johni0702 self-assigned this Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants