Declaration event OnPrePurchase(player entity<Player>, shopItem entity<ShopItem>) go Parameters Name Type Description Player Player Players who purchased goods Shop Item ShopItem Goods