Hey guys!
I'm writing a plugin for my server which needs to store a bunch of additional data for every player. (e.g. nickname, settings, owned lands, friends, blocked, etc..)
Currently I'm storing in this in a yml file which looks something like this:
uuid:
data1: value
data2: value
data3: value
etc...
This works fine, however I need to be able to store the data for 10k+ players, which makes the yml file extremely big. If I try to load the file configuration I get memory heap warnings in chat.
So my question is, what is the best way to store lots of data for thousands of players locally?