From d260d4c630d8b82fb80254043f6925c3b4b4c3fc Mon Sep 17 00:00:00 2001 From: Andrei Mihu Date: Fri, 26 Jul 2024 13:03:31 +0100 Subject: [PATCH] Configuration to allow fake receipt purchases. --- economy.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/economy.go b/economy.go index 5c788b9..5c50eae 100644 --- a/economy.go +++ b/economy.go @@ -44,10 +44,11 @@ var ( // EconomyConfig is the data definition for the EconomySystem type. type EconomyConfig struct { - InitializeUser *EconomyConfigInitializeUser `json:"initialize_user,omitempty"` - Donations map[string]*EconomyConfigDonation `json:"donations,omitempty"` - StoreItems map[string]*EconomyConfigStoreItem `json:"store_items,omitempty"` - Placements map[string]*EconomyConfigPlacement `json:"placements,omitempty"` + InitializeUser *EconomyConfigInitializeUser `json:"initialize_user,omitempty"` + Donations map[string]*EconomyConfigDonation `json:"donations,omitempty"` + StoreItems map[string]*EconomyConfigStoreItem `json:"store_items,omitempty"` + Placements map[string]*EconomyConfigPlacement `json:"placements,omitempty"` + AllowFakeReceipts bool `json:"allow_fake_receipts,omitempty"` } type EconomyConfigDonation struct {