Shopkeepers

Shopkeepers

2M Downloads

Savefile getting empied on restart

blablubbabcDEV opened this issue ยท 2 comments

commented

Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/354

Originally posted by dierke9 (Dec 17, 2015):

HelloOn my server there is a sheduled daily restart. The problem now is every time that the restart appens the save.yml file gets empied so i loose my shopkeepers until i place a backup from it in the files and i restart then they are back but it is kind of annoying.What steps will reproduce the problem?

  1. Sheduled restartWhat is the expected output? What do you see instead?
    The savefile to keep what was in there.What version of the product are you using?
    v 1.61Do you have an error log of what happened?
    http://www.mediafire.com/download/qvbr596fflzf36j/2015-12-17-1.logPlease provide any additional information below.
commented

Originally commented by blablubbabc (Dec 17, 2015):

There exists a bukkit/spigot bug, which occurs when a plugin tries to save a custom player head item (a player head with custom texture property) to file.
Either make sure that you don't have any shopkeepers with trades involving custom player heads, or try out the latest shopkeeper version: The latest shopkeeper version should skip saving of trades involving those custom player heads -> the affected trades will be lost after reload nevertheless, however at least it should no longer clear all your other trades and shopkeepers as well.

commented

Originally closed by blablubbabc (Dec 17, 2015)