-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathconfig-example.toml
More file actions
140 lines (103 loc) · 4.54 KB
/
config-example.toml
File metadata and controls
140 lines (103 loc) · 4.54 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# ─────────────────────────────
# Store Plugin Configuration
# ─────────────────────────────
[DatabaseConnection]
# Hostname or IP address of the MySQL server
Host = ""
# MySQL server port (usually 3306)
Port = 3306
# Username for database authentication
User = ""
# Password for database authentication
Pass = ""
# Name of the database to be used
Name = ""
# Table used to store player data (credits etc.)
StorePlayersName = "store_players"
# Table used to store the store item data
StoreItemsName = "store_items"
# Table used to store which items players have equipped
StoreEquipments = "store_equipments"
# ─────────────────────────────
[Commands]
# Command aliases that can be used by players. You may add more aliases as needed.
Credits = [ "credits", "tl" ]
Store = [ "store", "shop", "market" ]
Inventory = [ "inv", "inventory" ]
GiveCredits = [ "givecredits" ]
Gift = [ "gift" ]
ResetPlayer = [ "resetplayer" ]
ResetDatabase = [ "resetdatabase" ]
RefreshPlayersCredits = [ "refreshcredits" ]
HideTrails = [ "hidetrails" ]
PlayerSkinsOff = [ "model0", "modeloff" ]
PlayerSkinsOn = [ "model1", "modelon" ]
# ─────────────────────────────
[DefaultModels]
# Default player models for each team. Leave empty if not used.
Terrorist = [ "characters/models/tm_leet/tm_leet_variantj.vmdl" ]
CounterTerrorist = [ "characters/models/ctm_fbi/ctm_fbi_variantb.vmdl" ]
# If true, disables the legs of default models.
DefaultModelDisableLeg = false
# ─────────────────────────────
# Credit earning rules for specific permission groups.
# High-priority permission entries should be placed above lower ones.
# Do NOT include 'Start', 'IgnoreWarmup', or 'IntervalActiveInActive' in any group other than "default".
[Credits."@css/root"]
AmountActive = 30 # Credits earned when active
AmountInActive = 3 # Credits earned when inactive
AmountKill = 3 # Credits earned per kill
[Credits."@css/vip"]
AmountActive = 20 # Credits earned when active
AmountInActive = 2 # Credits earned when inactive
AmountKill = 2 # Credits earned per kill
[Credits."default"]
# These fields are ONLY allowed in the "default" group
Start = 0 # Starting credit balance for new players
IgnoreWarmup = true # If true, disables credit earning during warmup
IntervalActiveInActive = 60 # The interval (in seconds) at which players earn credits.
AmountActive = 10 # Credits earned when active
AmountInActive = 1 # Credits earned when inactive
AmountKill = 1 # Credits earned per kill
# ─────────────────────────────
[Menu]
# Enables the confirmation menu before finalizing a purchase
EnableConfirmMenu = true
# Type of menu interface to use
# Supported values: ConsoleMenu, ChatMenu, CenterHtmlMenu, WasdMenu
MenuType = "WasdMenu"
# Users with this flag can equip items without paying
# Leave empty to disable VIP privileges
VipFlag = "@css/root"
# Sound to play for positive
MenuPressSoundYes = ""
# Sound to play for negative
MenuPressSoundNo = ""
# If false, the menu will remain open until you close it.
CloseMenuAfterSelect = false
# ─────────────────────────────
[Settings]
# Message prefix for store plugin messages (supports color codes like {red}, {green})
Tag = "{red}[Store]"
# Maximum health allowed via store items (0 = infinity)
MaxHealth = 0
# Maximum armor allowed via store items (0 = infinity)
MaxArmor = 0
# Ratio of credit received when selling an item (e.g., 0.6 = 60% of value)
SellRatio = 0.6
# Delay in seconds before a player skin is applied after selection
ApplyPlayerskinDelay = 0.1
# If true, selling returns credit based on the price the player paid
# If false, selling returns credit based on the current store price
SellUsePurchaseCredit = false
# Enables compatibility adjustments for CS2 fixes
EnableCs2Fixes = false
# If true, all credit transactions will be logged into daily log files
# If false, no logs will be saved
EnableLog = false
# ─────────────────────────────
[Permissions]
# Required flag to toggle player model (model0/model1) features
Model0Model1Flag = "@css/root"
# Required flag to access /givecredits command
GiveCredits = "@css/root"