Implement World (un)load API #134
Labels
No labels
documentation
good first issue
help wanted
resolution: duplicate
resolution: invalid
resolution: won't fix
status: needs triage
type: bug
type: feature
type: performance
type: question
version: 1.19.4
version: 1.20
version: 1.20.1
version: 1.20.2
version: 1.20.4
version: 1.20.6
version: 1.21.11
version: 1.21.4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Minecraft/Folia#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem?
Yes, I need to load worlds on startup from my plugin
Describe the solution you'd like.
Implement the current Bukkit API instead of throwing an exception
Describe alternatives you've considered.
Other
Thre's been a PR on this subject, but it was closed. I didn't find any issue tracking this matter.
I'm waiting too a fix world API create/load
So, I'd uncommented "load world" function and it works perfectly. But I'm using it only on server startup. May be problems if use it during the game.
Uncommenting load world function probably works during startup. I use https://github.com/Folia-Inquisitors/MoreFoWorld
At least as a temporary solution, the world API should only be available from the start. The absence of this is still holding many plugins from moving to Folia.
Are there any news about un-/loading worlds? I also would need it during runtime.
From what I saw it is planed to add world loading support. Does this also include while running?
I was trying to migrate my client's server to Folia, but it seems that because you can't (dynamically) load/unload worlds, I can't do that. It's a server with a gimmick similar to skyblock (e.g. dynamic persistent small maps).
That's a bummer. 😆
If it's still a thing? Or am I doing something wrong?
World loading is relatively stable even during runtime (you just have to tweak the load code a bit)
World unloading kills the server though
I haven't had any significant success with it
The best result I had was not crashing the entire server but the world was technically still loaded even though not accessible