I dont have getAllStacks on my server and Im not admin on the server so I cant just update it. Is there a way I can get info about content in chest? 
 
I have tried this
 
	
	
	
		
 
but it fails with a diamondchest if there are not item in 100 slots.
				
			I have tried this
		Code:
	
	for i = 0,(n-1) do
    local itemInfo = chest.getStackInSlot(i)
    if itemInfo ~= nil then
        logLine(itemInfo["name"])
        os.sleep(1)
    end
  endbut it fails with a diamondchest if there are not item in 100 slots.
 
				
		
 Thank you very much @Bomb Bloke
 Thank you very much @Bomb Bloke