-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
103 lines (91 loc) · 2.58 KB
/
config.lua
File metadata and controls
103 lines (91 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Config = {}
Config.ServerName = "GrowthCodeDev (Nom de ton serveur)"
Config.CurrencyName = "Coins"
Config.CheckoutCooldownMs = 1500
Config.MaxQtyPerPack = 50
Config.AllowedPayMethods = { coins = true }
add_ace group.admin growthcodedev.webstore.addcoins allow
-- IMPORTANT ESX VEH:
-- Par défaut: table "owned_vehicles" colonnes: owner, plate, vehicle, type, stored
-- Si ton serveur est différent -> adapte Config.Vehicle.*
Config.Vehicle = {
OwnedVehiclesTable = "owned_vehicles",
OwnerColumn = "owner",
PlateColumn = "plate",
VehicleColumn = "vehicle",
TypeColumn = "type", -- parfois "type" existe, sinon mets nil
StoredColumn = "stored", -- parfois "stored" existe, sinon mets nil
DefaultType = "car",
DefaultStoredValue = 1
}
-- Catalogue OFFICIEL (vérité serveur)
Config.Packs = {
vip_bronze = {
label = "VIP Bronze",
description = "Badge VIP + petits boosts RP.",
category = "VIP",
tags = {"VIP"},
price = 490,
actions = {
{ type="vip", level="bronze" } -- event externe
}
},
vip_silver = {
label = "VIP Silver",
description = "Accès VIP + bonus salaire + queue.",
category = "VIP",
tags = {"VIP","Queue"},
price = 990,
actions = {
{ type="vip", level="silver" }
}
},
vip_diamond = {
label = "VIP Diamond",
description = "Premium: queue + jobs + skin VIP.",
category = "VIP",
tags = {"VIP","Premium"},
price = 2490,
actions = {
{ type="vip", level="diamond" },
{ type="money", account="bank", amount=15000 }, -- exemple
}
},
pack_starter = {
label = "Pack Starter",
description = "Boost économie RP + starter kit.",
category = "Économie",
tags = {"Début"},
price = 350,
actions = {
{ type="money", account="cash", amount=2500 },
{ type="item", name="water", count=5 },
{ type="item", name="sandwich", count=3 },
}
},
car_sport = {
label = "Véhicule Sport",
description = "Un véhicule sport RP (ajout garage).",
category = "Véhicules",
tags = {"Car"},
price = 1200,
actions = {
{ type="vehicle", model="sultan" } -- modèle spawn GTA
}
},
house_basic = {
label = "Maison (Basic)",
description = "Propriété RP (hook externe).",
category = "Services",
tags = {"Housing"},
price = 1400,
actions = {
{ type="event", name="growthcodedev:webstore:grantHouse", data={ tier="basic" } }
}
}
}
Config.Promos = {
WELCOME10 = { type="percent", value=10 },
VIP20 = { type="percent", value=20 },
SAVE200 = { type="flat", value=200 },
}