Slimefun

Slimefun

3M Downloads

I have encountered problems with reloading worlds

xSavior-of-God opened this issue · 1 comments

commented

❗ Checklist

  • I am using the official english version of Slimefun and did not modify the jar.
  • I am using an up to date "DEV" (not "RC") version of Slimefun.
  • I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • I searched for similar open issues and could not find an existing bug report on this.

📍 Description

Hi, I'll go to the point, I'm trying to create a multi world skyblock, so each island has a world saved on a database, so as to save space on the main machine...

In doing this I encountered a problem, being that I unload the worlds after starting 2 minutes later, I have encountered problems with duplication of locations or lack of unloading of networks (which appeared to be duplicates), or that some machines no longer work .. I was wondering if there is a way to unload the various slimefun blocks, instead of just saving them, as happens now.

Or a help where you simply tell me mainly the classes that I should touch/look at in order to understand how to fix the problem... for now I have tried to fix the networks, I actually managed to do it, at least that's what I hoped for... but the problem persists...

(I solved the problem of networks by unloading them when the world is unloaded (onWorldUnload event), using the method provided)

📑 Reproduction Steps

to reproduce this problem you need 1 plugin that allows you to Unloose and load worlds (like SlimeWorld or MultiverseCore)

  1. at startup place slimefun blocks in a new world (not the main one!), create 1 network (cargo or Energy) and the furnaces that generate electricity (i.e. the head)

  2. Unload the world with /mv unload worldName or /swm unload worldName (make sure there is nobody in this world when you do these commands!)

  3. Wait a few minutes and reload the world with /mv load worldName or /swm load worldName.

💡 Expected Behavior

depends on what you place, I found errors in the console (in the case of the furnaces that generate electricity, due to lack of network) or simply the various blocks stop working properly (since are duplicated, or unusable due to the existence of a duplicate router)

📷 Screenshots / Videos

No response

📜 Server Log

No response

📂 /error-reports/ folder

No response

💻 Server Software

Yatopia

🎮 Minecraft Version

1.16.x

⭐ Slimefun version

I use a recoding of the v4.9

🧭 Other plugins

AdvancedSlimeWorldManager

commented

I forgot the error reports, sometimes, also gave them problems in the creation due to a method that tries to take the info of the old location of the block, that doesn't returns the world, since the world was unloaded after its creation, and on reloading it persist.