Cuberite Forum
Keep chunk loaded. - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Keep chunk loaded. (/thread-861.html)



Keep chunk loaded. - ThuGie - 04-21-2013

Hey,

I was wondering is it possible for plugins to mark chunks as keep loaded ?
As for stuff like redstone when finished you sometimes might want a chunk to stay loaded so it keeps doing the stuff it needs to do.

For stuff like bukkit there is stuff like that really useful!
But mcserver does not have full redstone,

But it might be nice for future stuff to be able to let a plugin make a chunk loaded at all time.

Simple plugin could do if sign has [Chunk Loaded]
On line 1 it can mark it as to not unloaded and of course later again to do unload it normaly.

Just a thought.


RE: Keep chunk loaded. - xoft - 04-21-2013

Chunks kept loaded: possible and already considered. Half-implemented in the cChunkStay object, but it's not exported to the Lua API
Sign marking: not such a good idea. Needs to be more flexible, an on/off switch. Maybe rclk with an enchanted stick or something similar.


RE: Keep chunk loaded. - ThuGie - 04-21-2013

The sign marking was just a sample.
But it would still be a nice feature for the future when redstone is properly working.
And the mobs of course as well.


RE: Keep chunk loaded. - NiLSPACE - 04-28-2013

isn't it alrealdy possible using the OnChunkUnloading hook?