The ChunkUnloadEvent occurs when a world chunk is unloaded from the server’s memory.
Printing all ChunkUnloadEvents when they occur.
Events.on('ChunkUnloadEvent'):call(function(event)
print(string.format("Unloaded world chunk at %s,%s", event.chunkX, event.chunkZ))
end)
The ChunkUnloadEvent class is a subtype of the ChunkEvent class and inherits all its properties and functions.