It runs but do you think is it possible to connect him directly is the main class (in onEnable() section), because there is a connection...
Here is the whole SqlDatabase class : https://pastebin.com/raw/G8GTHnYv
Thank you very much for the tutorials
EDIT : Here...
Here the new code for the InventorySerializer class : https://pastebin.com/20XuawmY
@KarimAKL Where ?
Sure : https://pastebin.com/raw/BfHWr49d
Ok I tried I have an error like that*
The string is running because I tested it. And for the database, it's just a string which I have...
Hum... Yes, I really don't know how to do that.
You mean inv = new InventorySerializer(); ?
@KarimAKL what ? Inv is InventorySerializer no ?
Just an sql.saveInventory(p);
Here the code : https://pastebin.com/raw/xK1Zf502
@KarimAKL I tried that : https://pastebin.com/raw/aazGQDpU
The string is working but now I have this error when I perform /test command :...
Finally I don't want to save the string into a file but a database (it will be more simple for me who is a beginner).
So the difficulty is only...
@maxwell71 no problem
@KarimAKL I tried that :https://pastebin.com/raw/igmK3e8N
I have two problems. I don't how to convert the enchantments, and...
@maxwell71 This is not solved. I really don't know how to transform the inventory to a String to save it in a file
Ok thanks I will try that
@KarimAKL I suspected that but How to put the data in the file ?
Separate names with a comma.