PaperMC / Folia

Fork of Paper which adds regionised multithreading to the dedicated server.
GNU General Public License v3.0
3.37k stars 405 forks source link

Implement World (un)load API #134

Open kyngs opened 1 year ago

kyngs commented 1 year ago

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.

KonusIntelliJ commented 1 year ago

I'm waiting too a fix world API create/load

maglink commented 9 months ago

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.

kaxlabs commented 9 months ago

Uncommenting load world function probably works during startup. I use https://github.com/Folia-Inquisitors/MoreFoWorld

kyngs commented 9 months ago

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.

TrueMB commented 1 month ago

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?