Writing to yml files problem

Discussion in 'Plugin Development' started by ChromeHD__, May 10, 2015.

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

    ChromeHD__

    okay i am having a problem when a event runs it writes the all the items from one yml file to another and i load and save it properly what could be causing this
     
  2. Offline

    Emalton

    @ChromeHD__ Can you explain your problem more or could we see some source code?
    Try taking a look here.
     
  3. Offline

    ChromeHD__

    @Emalton The problem is that when one of my events run it takes all the data from my arenas.yml and puts it in the playerdata.yml and same with the playerdata.yml in the arenas.yml
     
  4. Offline

    Abs0rbed

    @ChromeHD__ could you provide your code where you write to configs? The explanation is hard to understand
     
  5. Offline

    ChromeHD__

    [​IMG]
    there are too many claesses where it writes to it but anytime it checks for a string it messes up because the player data .yml gets put in the arenas.yml and the arenas.yml get put in the playerdata.yml
     
  6. Offline

    Abs0rbed

    Without seeing how you save it, the best I can say is make sure you're reading and not writing, and that you have the correct files loaded. Also the two images that you posted above are identical (I believe)
     
Thread Status:
Not open for further replies.

Share This Page