Creating NBT file from plugin
#3
It is not possible. If you'd like, you might want to explore the cFastNBTWriter and cParsedNBT classes, if their interface is exportable to Lua (but I doubt it); and anyway NBT files are usually compressed with gzip or zlib, too, so that would take some extra handling.

Note, however, that there's one exception to this. MCServer plugins can read and write .schematic files, which are NBT inside. Use the cBlockArea class for that:
http://mc-server.xoft.cz/LuaAPI/cBlockArea.html
Reply
Thanks given by:


Messages In This Thread
Creating NBT file from plugin - by SamJBarney - 11-10-2013, 08:36 AM
RE: Creating NBT file from plugin - by NiLSPACE - 11-10-2013, 08:43 PM
RE: Creating NBT file from plugin - by xoft - 11-10-2013, 10:33 PM



Users browsing this thread: 3 Guest(s)