Skip to main content

Config

RiP-Invest takes your economic system to a whole new level. Some options are explained here. However this does not represent the original config file.

RiP.MaxStocks

RiP.MaxStocks = 999                         -- [INTEGER] maximum amount per stock/cryptocurrency

RiP.MaxAmoumt

RiP.MaxAmoumt = 99                          -- [INTEGER] maximum pricechange of a stock/cryptocurrency

RiP.Locations

RiP.Locations = {
vector3(-1370.4995117188,-503.23257446289,33.157379150391), -- [VECTOR] location to access invest menu (x,y,z)
-- ...
}

RiP.Blip

RiP.Blip = {
Name = 'RiP-Invest', -- [STRING] blip label
Type = 100, -- [INTEGER] blip type
Scale = 0.9, -- [DECIMAL] blip size
Display = 4, -- [INTEGER] blip display type
Color = 13 -- [INTEGER] blip color
}

RiP.Marker

RiP.Marker = {
Type = 22, -- [INTEGER] marker type
Size = {X = 1.0, Y = 1.0, Z = 0.9}, -- [DECIMAL] marker scaling
Color = {R = 117, G = 94, B = 170} -- [INTEGER] marker color (rgb)
}

RiP.Commands

Command names and permissions

RiP.Commands = {
['createStock'] = { -- [STRING] create new stock (do not change)
Name = 'createStock', -- [STRING] command name
Perms = 'admin' -- [STRING] command permissions
},
['createCrypto'] = { -- [STRING] create new cryptocurrency (do not change)
Name = 'createCrypto',
Perms = 'admin'
},
['deleteInvest'] = { -- [STRING] delete stock/cryptocurrency (do not change)
Name = 'deleteInvest',
Perms = 'admin'
},
['updateInvest'] = { -- [STRING] update stock/cryptocurrency price (do not change)
Name = 'updateInvest',
Perms = 'admin'
},
}

RiP.Discord

RiP.Discord = {
Webhook = 'https://discord.com/api/webhooks/', -- [STRING] discord webhook for all logs
Enable = {
Updates = true, -- [BOOLEAN] logs for all stock/crypto prices on resource start
Logs = true -- [BOOLEAN] logs for create/delete investments
}
}