Hello,
i'm trying to use JSON file for my mod configuration.
Actualy i use TOML, but ConfigValue does not allow HashMap.
What i'm trying to do is:
- Put default Question/Anwser into a hashmap (map.put("QUESTION", ANWSER");)
- save default hashmap into the configuration
- allow user(me) to edit the configuration to add other question without editing the code
I do not know if i can do that with TOML or idk.
All other things in my mode is done, i just need that, but i'm stuck.
If anyone can help me, that would be great.
Edit: sorry for english