BentoBoxWorld / Warps

BentoBox add-on for Welcome Warp Signs
Eclipse Public License 2.0
10 stars 12 forks source link

Slow loading warp at startup #68

Closed Malachiel87 closed 1 year ago

Malachiel87 commented 4 years ago

Description I imported askyblock warp with success, it work fine but i think at startup is a little slow (took 1 minute for load all warp, i attached here the file)

Server Information:

....=>.... [16:57:04 INFO]: In esecuzione su PAPER 1.15.2. .... [16:57:04 INFO]: Versione BentoBox: 1.11.0 .... [16:57:04 INFO]: Database: JSON .... [16:57:04 INFO]: Mondi di gioco caricati: .... [16:57:04 INFO]: askyblock (BSkyBlock): Overworld, [nether_color]Nether, [end_color]End .... [16:57:04 INFO]: Addons caricati: .... [16:57:04 INFO]: Biomes 1.6.0.1 (ENABLED) .... [16:57:04 INFO]: BSkyBlock 1.10.0 (ENABLED) .... [16:57:04 INFO]: Challenges 0.8.0 (ENABLED) .... [16:57:04 INFO]: ControlPanel 1.7.0 (ENABLED) .... [16:57:04 INFO]: DimensionalTrees 1.6.0 (ENABLED) .... [16:57:04 INFO]: Level 1.9.0 (ENABLED) .... [16:57:04 INFO]: Limits 1.9.0 (ENABLED) .... [16:57:04 INFO]: Warps 1.9.0 (ENABLED)

Additional context Also when i open warp gui i see only 3 warp + random warp (not sure if is wanted) all warp work fine

tastybento commented 4 years ago

Okay. What is happening is that the addon is trying to read the warp sign content and that requires loading the chunk. How many warps do you have? I might have to switch them to be async.

Malachiel87 commented 4 years ago

Sorry forgot to attach the warp file warps.zip

Poslovitch commented 4 years ago

It might be better to store the sign's content in the database, dont you think?

Malachiel87 commented 3 years ago

any new about it? startup is slow, also i think it cause some cpu-overload

tastybento commented 3 years ago

Yes, a commit was made back in January. What version are you using?

Malachiel87 commented 3 years ago

warps-1.10.0.jar