Solved Attaching data to Entity on serverstart

Discussion in 'Plugin Development' started by Feindbild, Dec 14, 2014.

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

    Feindbild

    I am saving additional data per Entity, which is assigned by UUID and saved to files on server shutdown.
    Now, on server start, I need to retrieve this data again and reattach it to the entities.
    Looping through all entities on serverstart would probably not achieve what I want, since they can't be accessed without their chunk being loaded, right?
    Is there an event that gets triggered when an entity is loaded/restored on chunk load?
     
  2. Offline

    adam753

    Feindbild and Dragonphase like this.
Thread Status:
Not open for further replies.

Share This Page