-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.lua
42 lines (40 loc) · 1.73 KB
/
config.lua
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
Config = {}
Config.Mysql = 'mysql-async' -- mysql-async, ghmattisql, oxmysql
Config.StatusMax = 1000000
Config.TickTime = 10000 -- Client Update
Config.UpdateInterval = 20000 -- Send Data to server interval
Config.SaveDelay = 15000 -- Server Save to SQL interval
Config.OnTick_Value_only = true -- more optimized if you want to get value only
Config.SaveLoop = false -- save loop in server
Config.Multiplier = 1.0 -- multiplier value of remove value for status
-- change to license: , if you are using licensed in identifier
Config.identifier = 'license:'
Config.multichar = false -- KASHACTERS, cd_multicharacter, etc...
--IMPORTANT PART IF USING Multicharacter
-- if multichar_advanced is false == using steam: format or the config.identifier
Config.multichar_advanced = true -- Using Permanent Char1,Char2 up to Char5 identifier from database. ( This means the identifier reads by ESX or other framework will have Char1:BLAHBLAHBLAH instead of steam:BLAHBLAHBLAH ( from xPlayer.identifier for example))
Config.characterchosenevent = 'kashactersS:CharacterChosen' -- this event contains charid (IMPORTANT and will read only if using advanced)
Config.charprefix = 'Char' -- dont change unless you know what you are doing
Config.register_status = {
'hunger',
'thirst',
'stress',
'energy',
'poop',
'pee',
'hygiene',
}
Config.UseEffects = true -- use effects from effect.lua
Config.status_start_value = { -- starting points for status
['hunger'] = 1000000,
['thirst'] = 1000000,
['stress'] = 0, -- need to be a zero value
['energy'] = 1000000,
['poop'] = 1000000,
['pee'] = 1000000,
['hygiene'] = 1000000,
}
Config.Admins = {
'steam:11000013ec77a2e',
'df845523fc29c5159ece179359f22a741ca2ca9a'
}