01-12-2016, 09:27 PM
I think exporting cFastNBT to Lua is not a good idea, it doesn't have the kind of interface that plugin writers expect, it would be very difficult to use. We need a higher level API.
Still, I think the best way to go would be to make a standalone executable, a tool that could convert back and forth between the two formats.
Maybe even better, make the server read "<playername>.dat" files if the JSON player file is missing, so it could import the world from vanilla effortlessly.
I'm wondering, why do we even use JSON files? I don't see any other than historic reasons; we could go full NBT DAT files and thus make the server a bit more compatible with vanilla.
Still, I think the best way to go would be to make a standalone executable, a tool that could convert back and forth between the two formats.
Maybe even better, make the server read "<playername>.dat" files if the JSON player file is missing, so it could import the world from vanilla effortlessly.
I'm wondering, why do we even use JSON files? I don't see any other than historic reasons; we could go full NBT DAT files and thus make the server a bit more compatible with vanilla.