Ok I found something more simple. Thanks for your help
look my code : https://pastebin.com/raw/ZJSBh4cU There is no way more simple to get the inventory in the file and just put restore it ? Like the...
value is the "v" in the file ? How do you change it Item per item
It works well now How can I load it now in the file and then put itemstacks in the inventory ? [ATTACH] @timtower
Yes that's what I did and it works lol Thank you now I will try to serialize the inventory And to answer your question , yes in the plugins...
Wtf it indicates me a folder which does not exist Will try something
File file = new FIle(main.getDataFolder() + "myfile.yml"); So after I tried to append InventorySerializer folder and the server said nop
I tried to let only that to see where the file is created and apparently GetDataFolder() returns the folder named "plugins". And I just would like...
@timtower Ok I tried to change the code as : File file = new File(main.getDataFolder() + "/InventorySerializer/" + "myfile.yml") but it doesn't...
Ok so I resolved a lot of problems. Now the problem is that the program failed to find the folder. I would like to put my file in...
Ok I found I think the only tutorial in French about that. I try something like that : https://pastebin.com/raw/v4bGkeWW The problem is on the...
@timtower Oh man I gonna be crazy. For a start, in French it's already complicated for me to undertsand all, but in english it's impossible. I...
:/ What are you speaking for ? Let's sum. I need to save the player inventory in a file. So I have to build a list which will contain the...
Ok so I changed : https://pastebin.com/raw/ebNrwsQq Now I don't know how to use getItemStack.
Yes I saw that in the java docs but I don't understand how to use it. Where do I have to put it in my code ?
Separate names with a comma.