-
Notifications
You must be signed in to change notification settings - Fork 6
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
Configurable Cache for NetherPortalSearcher.java #37
Comments
I don't really see the use of making these things configurable. Is there a measurable reason to do so? Keep in mind that for actual searching, it defers to Minecraft servers own search, for which paper's (per-world) portal search configuration already applies. Searching for portals also isn't as laggy as it used to be, as nowadays that information is tracked in the POI (point of interest) files. |
The LOAD_LIFETIME might be interesting to make configurable I guess, as it reduces the number of times the chunk area in the nether/overworld load and unload as people come and go. |
First of all, I'm the opinion to make thinks configurable if posible. But I try to explain what is the problem for me: Steps to reproduce:
|
I see, feels more like I need to get rid of that 32x4x32 way of caching entirely then. I'll have to fix that as using portals like this is common for nether-hub systems. |
Is this still in doing and planed or whats the current state? |
oh, I kinda forgot. One sec |
https://ci.mg-dev.eu/job/MyWorlds/304/ Adds a config.yml option:
|
A world specific configuration to enable/disable/change the cache lifetime + cache search range would be nice.
So basicly:
MyWorlds/src/main/java/com/bergerkiller/bukkit/mw/portal/NetherPortalSearcher.java
Line 198 in 51440de
MyWorlds/src/main/java/com/bergerkiller/bukkit/mw/portal/NetherPortalSearcher.java
Line 259 in 51440de
The text was updated successfully, but these errors were encountered: