-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
36 lines (31 loc) · 817 Bytes
/
Copy pathconfig.lua
File metadata and controls
36 lines (31 loc) · 817 Bytes
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
---@class ChatConfig
Config = {}
-- Chat behavior
Config.Chat = {
-- IF TRUE: Everything typed is treated as a command (auto-prefixes /)
-- IF FALSE: Smart detection (checks if first word is a command)
ForceCommand = true,
-- Max messages to display before oldest get removed
MaxMessages = 50,
-- How long messages stay visible (ms) before fading
FadeTimeout = 8000,
-- Key to open chat (default T)
OpenKey = 'INPUT_MP_TEXT_CHAT_ALL', -- T key
-- Enable suggestions popup
EnableSuggestions = true,
-- Max suggestion results to show
MaxSuggestions = 5,
}
-- Position
Config.Position = {
-- 'left' or 'right'
Side = 'left',
-- Offset from edge (px)
OffsetX = 20,
OffsetY = 20,
}
-- Debug
Config.Debug = {
Enabled = false,
}
return Config