Data directory on Bukkit-based servers

Where is the data directory located on Bukkit-based servers, e.g. Paper, when using distant-horizons-plugin? the FAQ says its server_folder/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite. However, Bukkit moves dimensions to the main world folder (e.g. server_folder/DIMENSION_FOLDER/). Putting the .sqlite into server_folder/DIMENSION_FOLDER/data/DistantHorizons.sqlite does not seem to work. Neither does creating a server_folder/world/DIMENSION_FOLDER/data/ folder with the dimension name and putting the client .sqlite there In both cases, the .sqlite file seems to be simply ignored. Otherwise the plugin and mod are working, I would just like to avoid the server having to go through 18.000+ generation tasks while I do have the entire world already on my client.
Solution:
yeah I guess I am just letting it generate then. Not really seeing any code in the plugin for properly differentiating between bukkit worlds, so it seems to put all of them in the same DB? weird
Jump to solution
8 Replies
Puhpine
Puhpine2mo ago
You should never have to add an SQLite file, only replace it. It should be under the serverfolder/data folder
Malfrador
MalfradorOP2mo ago
The only .sqlite file from DH I can find is in /plugins/DHSupport/, and its a singular file (for all worlds?)
Puhpine
Puhpine2mo ago
oh maybe the plugin stores it at a different location then im not sure then
Solution
Malfrador
Malfrador2mo ago
yeah I guess I am just letting it generate then. Not really seeing any code in the plugin for properly differentiating between bukkit worlds, so it seems to put all of them in the same DB? weird
Jckf
Jckf2mo ago
There's a single SQLite DB for all worlds/dimensions, correct. And in any case, plugin and mod files are not compatible, so you cannot move a client DB to a server or vice-versa
Malfrador
MalfradorOP2mo ago
That should probably be clarified in the FAQ then. It suggests
Can I pre-generate LODs on server? 1) Use the clients generation 3) Copy generated LODs to server. (See LOD data layout)
Miki_P98
Miki_P982mo ago
You can’t do that IIrc The server side generated LODs are incompatible with client side generated ones
Malfrador
MalfradorOP2mo ago
Yes, I get that. But the FAQ currently makes it sound like you can

Did you find this page helpful?