ChunkCache question
#4
The hooks are already available: HOOK_CHUNK_GENERATED, HOOK_PLAYER_BREAKING_BLOCK.
There will be way too many files - one file for each chunk, and you need to take care of all of them, so that you can restore the world back once players start digging. I recommend saving each chunk as a .schematic file in a folder; make one folder per 32x32 chunks (so the path will be something like "SavedChunks/r.-1.0/ch.-2.5.schematic" for chunk [-2, 5])
I use ZeroBrane Studio - I wrote a plugin so that it can debug MCServer plugins directly while the server is running, and the entire thing is awesome. Set it up according to this guide: http://mc-server.xoft.cz/LuaAPI/SettingUpZeroBrane.html
Reply
Thanks given by:


Messages In This Thread
ChunkCache question - by sphinxc0re - 10-16-2014, 11:07 PM
RE: ChunkCache question - by xoft - 10-16-2014, 11:40 PM
RE: ChunkCache question - by sphinxc0re - 10-21-2014, 05:42 AM
RE: ChunkCache question - by sphinxc0re - 10-17-2014, 12:19 AM
RE: ChunkCache question - by xoft - 10-17-2014, 04:51 AM
RE: ChunkCache question - by sphinxc0re - 10-17-2014, 04:45 PM
RE: ChunkCache question - by xoft - 10-17-2014, 06:11 PM
RE: ChunkCache question - by sphinxc0re - 10-17-2014, 08:39 PM
RE: ChunkCache question - by xoft - 10-18-2014, 02:19 AM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 06:17 AM
RE: ChunkCache question - by xoft - 10-18-2014, 06:25 AM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 07:24 PM
RE: ChunkCache question - by NiLSPACE - 10-18-2014, 07:41 PM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 07:45 PM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 10:01 PM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 08:31 PM
RE: ChunkCache question - by ambushed01 - 10-18-2014, 08:38 PM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 08:40 PM
RE: ChunkCache question - by ambushed01 - 10-18-2014, 08:41 PM
RE: ChunkCache question - by xoft - 10-18-2014, 09:24 PM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 09:38 PM
RE: ChunkCache question - by NiLSPACE - 10-18-2014, 09:53 PM
RE: ChunkCache question - by NiLSPACE - 10-18-2014, 10:10 PM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 10:20 PM
RE: ChunkCache question - by NiLSPACE - 10-18-2014, 10:31 PM
RE: ChunkCache question - by xoft - 10-18-2014, 10:50 PM
RE: ChunkCache question - by sphinxc0re - 10-20-2014, 03:40 AM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 11:47 PM
RE: ChunkCache question - by NiLSPACE - 10-18-2014, 11:51 PM
RE: ChunkCache question - by sphinxc0re - 10-18-2014, 11:56 PM
RE: ChunkCache question - by xoft - 10-20-2014, 06:04 AM
RE: ChunkCache question - by sphinxc0re - 10-22-2014, 02:20 AM
RE: ChunkCache question - by xoft - 10-22-2014, 05:13 AM
RE: ChunkCache question - by sphinxc0re - 10-23-2014, 01:31 AM
RE: ChunkCache question - by xoft - 10-23-2014, 02:29 AM
RE: ChunkCache question - by sphinxc0re - 10-23-2014, 03:07 AM
RE: ChunkCache question - by xoft - 10-23-2014, 06:30 AM
RE: ChunkCache question - by sphinxc0re - 10-23-2014, 04:53 PM
RE: ChunkCache question - by sphinxc0re - 11-05-2014, 05:47 AM
RE: ChunkCache question - by sphinxc0re - 11-06-2014, 08:54 AM
RE: ChunkCache question - by sphinxc0re - 11-11-2014, 06:45 AM



Users browsing this thread: 1 Guest(s)