Solved Metadata clear after restart

Discussion in 'Plugin Development' started by MpPozor, Dec 30, 2013.

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

    MpPozor

    Hello. I have problem. My metadata aren't loaded after reboot but after reload it works...
     
  2. Offline

    NathanWolf

    If you're taking about Bukkit's metadata system, it is not persistent. You have to save and load the data yourself.
     
  3. Offline

    aredherring

    Metadata is simply attached to the object that you attach the metadata to; once that object is destroyed so is the metadata.
    As NathanWolf said you will need to save/load the data in some data storage yourself.
     
Thread Status:
Not open for further replies.

Share This Page