Configuration
Explore and fine-tune your settings effortlessly. Customize your script experience according to your preferences
Configuration File
-- [General]
Config = {}
Config.Notify = 'lvs_lib'
-- [Date Format]
Config.DateFormat = '%H:%M' -- To change the date format check this website - https://www.lua.org/pil/22.1.html
-- [Over head text]
Config.OverHead = {
method = 'html', -- html | 3d
time = 10000, -- Time to display the text (in ms)
-- HTML
offset = vector3(0,0, 1.25),
-- 3D
font = 0, -- Text font
scale = 0.5, -- Text scale
}
-- [Commands]
Commands = {}
-- ooc
Commands.ooc = {
enable = true,
distance = 20.0,
overhead = nil
}
-- Me
Commands.me = {
enable = true,
showName = false,
distance = 20.0,
overhead = { -- you can remove this table if you don't want this
text3D = { color = { 120, 200, 30 } },
html = {
icon = 'fa-hiking',
label = '[ME]',
color = '0,0,0', -- custom color for command no longer support
}
}
}
-- Do
Commands['do'] = {
enable = true,
showName = false,
distance = 20.0,
overhead = { -- you can remove this table if you don't want this
text3D = { color = { 245, 215, 18} },
html = {
icon = 'fa-street-view',
label = '[DO]',
}
}
}
-- Job message
Commands.job = {
enable = true,
command = 'chat-job',
cooldown = 1, -- in munutes
}
-- Police
Commands.police = {
enable = true,
command = 'chat-police',
job = 'police'
}
-- Ambulance
Commands.ambulance = {
enable = true,
command = 'chat-ems',
job = 'ambulance'
}
-- Anonymous
Commands.anonymous = {
enable = true,
command = 'chat-anon',
money = 'cash', --(blackmoney)if you want anonymous messages to have a cost, you can configure this with money account or simply set it to false
price = 300, -- price of message if money not false
cooldown = 5, -- in minutes
JobsCantSee = {
'police',
'ambulance'
}
}
-- Try
Commands.try = {
enable = true,
command = 'chat-try',
}
-- Clear
Commands.clear = {
enable = true,
command = 'chat-clear',
}
--- ## STAFF CHAT ##
-- Announcement
Commands.announcement = {
enable = true,
command = 'chat-announcement',
AcePermsNeed = {'command'} -- Groups that can access the this command
}
-- Operator to player (direct message from operator to player)
Commands.operator = {
enable = true,
command = 'chat-operator',
AcePermsNeed = {'command'} -- Groups that can access the this command
}
Commands.help = {
enable = true,
command = 'chat-help',
AcePermsCanView = {'command'} -- Groups that can view this messages
}
-- [Auto Message]
Config.AutoMessage = {
enable = true,
time = 10, -- (in minutes) will send messages every x minutes
messages = {
'The server restarts every day at 6:00 AM and 7:00 PM UTC -3',
'Report errors on our Discord. Detail how to reproduce them with images or video',
'Upgrade your vehicle with a racing chip',
'Leave your opponents behind, install the nitro kit in your vehicle',
'Install the drift kit in your vehicle and experience realistic drift handling',
'Free gangs available.',
'Visit LVS Store at https://lvs.tebex.io/category/np-inspired',
}
}
-- ### PAY ATTENTION! ###
-- The RGB values below are expressed in table type and not as strings like in the other LVS scripts.
Config.UI = {
colors = {
primary = {0, 248, 185}, -- table: {R, G, B} (https://g.co/kgs/6PaotAk)
secondary = {0, 102, 76},
red = {248, 105, 105},
}
}
Last updated