Need to know when the world is saved

Discussion in 'Plugin Development' started by AmShaegar, Aug 18, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    AmShaegar

    I am creating chests at random locations in the world inside a world border. Those chests have a special function. If the server restarts, they loose their functionality. That's why I need to keep track of them in a backup file. I want to save them in a file when the world is saved to keep it consitent. Otherwise the backup/chests are out of sync if the server crashes without save. The problem is, that I cannot use the WorldSaveEvent because it is never triggered... Could you think of a solution to this problem?

    This is related to this thread: https://forums.bukkit.org/threads/worldsaveevent-never-called.81055/
     
  2. Offline

    AmShaegar

    Does anyone have a better idea to create random chests?
     
Thread Status:
Not open for further replies.

Share This Page