reading and writeing

Discussion in 'Bukkit Discussion' started by DarkScience, Jan 9, 2011.

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


    Curious as to how i would read/write settings to/from files in Bukkit plugin's? I tried my code from hmod but no luck.
    public PropertiesFile properties = new PropertiesFile("");
  2. Offline


    PropertiesFile is not being supported anymore. Until bukkit's solution is ready you can take the PropertiesFile class from hmod and put it in your own project.
  3. Offline


    Damned how would i do that exactly? My mod relies on this drastically.
  4. Offline


    Copy from the hmod source into your the directory with your plugins sources. If you are using Eclipse you can just drag and the fire directly into the correct package within the IDE.
    DarkScience likes this.
  5. Offline


    Works wonder's thanks.
  6. Offline


    Keep in mind that we don't recommend the propertiesfile at all for anything but settings loaded in at start-up and the rest in the database ;)
Thread Status:
Not open for further replies.

Share This Page