forked from VORPCORE/vorp_core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
155 lines (133 loc) · 5.45 KB
/
config.lua
File metadata and controls
155 lines (133 loc) · 5.45 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
----------------------------------------------------------------------------
------------ VORP SHARED CONFIG ------------
----------------------------------------------------------------------------
Config = {
defaultlang = "en",
----------------------------------------------------------------------------
----------------------- STARTING POINT -------------------------------------
initGold = 0.0,
initMoney = 200.0,
initRol = 0.0,
initXp = 0,
initJob = "unemployed",
initJobGrade = 0,
initGroup = "user",
Whitelist = false, -- LEAVE TO FALSE IT'S NOT WORKING
AllowWhitelistAutoUpdate = false,
MaxCharacters = 5, --MAX ALLOWED TO BE CREATED
Permissions = {'admin', 'mod', 'user'},
------------------------------------------------------------------------------
------------------------------ WEBHOOKS --------------------------------------
--TODO
-----------------------------------------------------------------------------
---------------------------- VOICE ------------------------------------------
ActiveVoiceChat = false,
KeySwapVoiceRange = 0x80F28E95, --[L] KEY
DefaultVoiceRange = 5.0,
VoiceRanges = {2.0, 5.0, 12.0},
-----------------------------------------------------------------------------
------------------------- SHOW OR HIDE UI's ---------------------------------
HideUi = true, --show or hide the UI includes gold cash ID and level bar the cash gold ID are now being displayed in the inventory. you can disable this one if yo ulike it more
mapTypeOnFoot = 2, -- 0 = Off(no radar), 1 = Regular 2 = Expanded 3 = Simple(compass), for on foot
mapTypeOnMount = 2,-- 0 = Off(no radar), 1 = Regular 2 = Expanded 3 = Simple(compass), for on horse
enableTypeRadar = false, --- if true the above will work, if false players can choose their radar type in the game settings.
------------------------------------------------------------------------------
------------------------------- RESPAWN --------------------------------------
RespawnTime = 10, --seconds
RespawnKey = 0xDFF812F9, --[E] KEY
RespawnTitleFont = 1, -- for the draw text message
RespawnSubTitleFont = 1, -- for the draw text message sub title font
CombatLogDeath = true, -- people who combat log now spawn in dead rather than force spawned
ShowUiDeath = true, -- show or hide the UI if player is dead
camDeath = false, -- enable or disable the camera death function
sprite = true, --- enable text with sprite or disable
spriteGrey = false, -- if set to false will enable RED sprite true will be grey
hospital = {
Valentine = {
name = "Valentine",
x = -283.83,
y = 806.4,
z = 119.38,
h = 321.76
},
Saint = {
name = "Saint",
x = 2721.4562,
y = -1446.0975,
z = 46.2303,
h = 321.76
},
Armadillo = {
name = "Armadillo",
x = -3742.5,
y = -2600.9,
z = -13.23,
h = 321.76
},
bw = {
name = "bw",
x = -723.9527,
y = -1242.8358,
z = 44.7341,
h = 321.76
},
rhodes = {
name = "rhodes",
x = 1229.0,
y = -1306.1,
z = 76.9,
h = 321.76
},
},
-----------------------------------------------------------------------------
HeadId = false,
HeadIdDistance = 15,
ModeKey = true,
KeyShowIds = "0x8CC9CD42", -- Press X
ActiveEagleEye = true,
ActiveDeadEye = false,
----------------------------------------------------------------------------
--------------------------- COMMAND PERMISSION -----------------------------
Group = {
Admin = "admin", --- group for all commands
Mod = "moderator", --- second group for all commands
},
--------------------------------------------------------------------------------------
-----------------------------BUILT IN RICH PRESENCE DISCORD --------------------------
maxplayers = 128, -- change to the number of players that can get in to your server
appid = nil, -- Application ID (Replace this with you own)
biglogo = "synred", -- image assets name for the "large" icon.
biglogodesc = " Redm Server Connect: ",-- text when hover over image
smalllogo = "smallboy", -- image assets name for the "small" icon.(OPTIONAL)
smalllogodesc = "Join us for a good time", -- text when hover over image
discordlink = "https://discord.gg/", -- discord link
shownameandid = true, --show player steam name and id
---------------------------------------------------------------------------------------
--------------------------------- LOGGING ---------------------------------------------
log = {
file = {
enabled = true,
debugInfo = false
},
discord = {
username = "VORP Logs",
webhooks = {
["default"] = "https://discord.com/api/webhooks/964861207498604626/S5iSSdps_AfQ9fCvOwqKKkSloVoUCDgEsFlmncgDgcgj4C5o2SFDr-e1qwfIhze_QFZJ",
["admincommands"] = "",
},
colors = {
["default"] = 16711680,
["red"] = 16711680,
["blue"] = 25087,
["turqois"] = 62207,
["lightgreen"] = 65309,
["green"] = 762640,
["orange"] = 16743168,
["yellow"] = 15335168,
["pink"] = 16711900,
["white"] = 16777215,
["black"] = 0,
}
}
},
}