ShopHistory

data class ShopHistory(val limit: Int, val lastSold: MutableList<ItemStack>) : MongoConvert<MongoShopHistory> (source)

Shop history data for a player

Constructors

Link copied to clipboard
constructor(limit: Int, lastSold: MutableList<ItemStack>)

Properties

Link copied to clipboard
val lastSold: MutableList<ItemStack>

The last sold items

Link copied to clipboard
val limit: Int

Maximum amount of items that can be remembered in the history

Link copied to clipboard
open override val mongo: MongoShopHistory

Gets MongoDB representation of this object