Yamipa

Yamipa

3.7k Downloads

Disappearing images after restart

atesz19 opened this issue ยท 4 comments

commented

Sorry for my bad english, i'll try my best to describe what happens.

So if i place down images its working fine until i restart my server. After restart the YamipaPlugin/chace folder was empty, the images.dat still contains the locations, but after another restart this file empty too.

(Maybe its not the plugin, i dont know why but sometimes normal maps are just dissapears and stays emty ultil i hold them in hand, and i tried this plugin: https://dev.bukkit.org/projects/imagemaps
but this plugin does the same bug)

Maybe can you help me even if its not the plugin?
im on spigot 1.16.5-R0.1 this is the latest jar what my hosting enable to use

And some logs:
[16:32:16] [Server thread/INFO]: [YamipaPlugin] Enabling YamipaPlugin v1.0.3
[16:32:16] [Server thread/WARN]: [YamipaPlugin] Invalid fake image properties: Elad.png;spawn_new;-211;64;356;SOUTH;NONE;1;1
[16:32:16] [Server thread/WARN]: [YamipaPlugin] Invalid fake image properties: vasarlas.png;spawn_new;-205;64;388;NORTH;NONE;1;1
[16:32:16] [Server thread/WARN]: [YamipaPlugin] Invalid fake image properties: Elad.png;spawn_new;-215;64;356;SOUTH;NONE;1;1
[16:32:16] [Server thread/WARN]: [YamipaPlugin] Invalid fake image properties: vasarlas.png;spawn_new;-209;64;388;NORTH;NONE;1;1
[16:32:16] [Server thread/WARN]: [YamipaPlugin] Invalid fake image properties: vasarlas.png;spawn_new;-219;64;376;SOUTH;NONE;1;1
[---]
//I dont know why are these here but this is the only ERROR messages in the log
[16:45:23] [Netty Epoll Server IO #0/ERROR]: java.lang.NullPointerException
[16:45:23] [Netty Epoll Server IO #0/ERROR]: java.lang.NullPointerException
[16:45:23] [Netty Epoll Server IO #0/ERROR]: java.lang.NullPointerException
[---]
[16:47:35] [Craft Scheduler Thread - 16/INFO]: [YamipaPlugin] Saved placed fake images to disk
[---]
[16:48:08] [Server thread/INFO]: [YamipaPlugin] Disabling YamipaPlugin v1.0.3

commented

Okay, so i switched to paper and now the default maps dont disapearing, only the custom maps gone.

(Left - plugin custom img | Right - Default Mc map)

[Before restart]
image

[After restart]
image

commented

Hi, @atesz19!

Looking at the logs you provided I see you're placing images in a non-standard world ("spawn_new"), so most surely the bug has something to do with that. Probably Yamipa is being loaded before whatever plugin you're using to add more worlds.

What plugin are you using for that? Multiverse?
I've just created a pre-release version that should fix this bug (assuming it's caused by Multiverse not being loaded yet). Could you try it on your server and see if it works?

commented

Hello, thank you for the fast fix, i'll test it soon.
And yes, i use Multiverse

commented

Okay its working :D
i tested and now after restart the pictures dont disapear

Thank you for the fast fix :D