Hello!
I've a simple question, who doesn't need "help format"...
Is it better to have data stored in one file or seperate? On event "chunk change" I'm checking if "chunk is set" in my file, so there is a lot of checking evolved for all players in server.
So is it better to have those chunks set in one file (skript will try to find a specific chunk through hundreds, even thousands of lines in file) or have every "setted chunk" stored as separate file in a some folder?
An example: My current situation - in one file
So in every chunk change skript checks if chunk is one of those setted chunks.
In other possible way every line in my example would be in separete file like
"chunk (-16,-20) of world.yml" in that file one word data1..
I've a simple question, who doesn't need "help format"...
Is it better to have data stored in one file or seperate? On event "chunk change" I'm checking if "chunk is set" in my file, so there is a lot of checking evolved for all players in server.
So is it better to have those chunks set in one file (skript will try to find a specific chunk through hundreds, even thousands of lines in file) or have every "setted chunk" stored as separate file in a some folder?
An example: My current situation - in one file
Code:
Data:
chunk (-16,-20) of world: data1
chunk (-12,12) of world: data1
chunk (-12,13) of world: data1
chunk (-12,10) of world: data2
chunk (-12,9) of world: data3
So in every chunk change skript checks if chunk is one of those setted chunks.
In other possible way every line in my example would be in separete file like
"chunk (-16,-20) of world.yml" in that file one word data1..