Creating a cache

You can only create a cache within the server.

Cache Arguments:

CacheName (String name of the cache | A unique string name for the cache to be identified by)

Properties (Table list of properties | DatastoreSave, Replicate, Global, Expire )

DefaultCache (Table cache | The default cache table)

Example Usage:


local InventoryCache = Cache:Create("Inventory", 
	{DatastoreSave = true, Replicate = true}, 
	
	{
		["Available Slots"] = 10,
		{Item = "Basic Sword",Level = 1, XP = 1},
		{Item = "Apple"},
	}
)