HexscriptsVersion 3.0Identity
Configurations
Here you will get all configurations & open source files that are included within this script.
Config Files
Config = {}
Config.Debug = false -- Set to true to enable debug messages in the console
Config.Locale = 'automatic' -- automatic, en, de, es, fr, it, nl, pl, pt, tr, ar
Config.Framework = 'automatic' -- automatic, esx, qbcore, standalone
Config.ServerName = 'HEXSCRIPTS'
Config.DiscordLink = "discord.gg/hexscripts"
--[[
If true, the skinchanger will open every time when a character is created or changed,
else it will only open if no skin was found for the character.
]]
Config.OpenSkinChangerEverytime = true
Config.ServerInfoText = [[
Liebe Hexscripts Community,
bevor Du diesen Server weiter nutzen, möchten wir sicherstellen, dass Du die Regeln gelesen und akzeptiert haben. Die Regeln sind wichtig, um die Sicherheit und den reibungslosen Betrieb des Servers zu gewährleisten.
Daher fordern wir Sie auf, die Regeln vollständig durchzulesen und sicherzustellen, dass Sie diese akzeptiert haben. Durch die Nutzung des Servers erklären Sie sich automatisch damit einverstanden, die Regeln einzuhalten.
Falls Sie Fragen zu den Regeln haben sollten, wenden Sie sich bitte an das Support-Team, das Ihnen gerne weiterhilft.
Vielen Dank für Ihr Verständnis und Ihre Kooperation.
Mit freundlichen Grüßen,
Das Server-Team.
]]
Config.Commands = {
['resetchar'] = {
enabled = true,
command = 'resetchar', -- resetchar <id>
access = {
'projektleitung',
'superadmin',
'admin',
'user'
}
}
}
Config.Formatting = {
NameBlacklist = {
'nigger',
'hurensohn',
'hitler',
'pimp',
'benz',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
'8',
'9',
'0',
'bastard',
'fotze',
'pic',
'pimmel',
'muschi',
'schwanz',
'titten',
'mustermann',
'nix',
'negro',
'nuttensohn',
'modder',
'eulen',
'cheats',
'nuttensohn',
'nutte',
'oruspu',
'ghetto',
'lass',
'Carlito',
'visky',
'miglo',
'hamza',
'bubu',
'stuf',
'ananni',
'sikim',
'lümmel',
'nazi',
'gaskammer',
'Siegheil'
},
Date = 'DD.MM.YYYY',
Name = {
Min = 2,
Max = 20
},
Height = { -- in cm
Min = 140,
Max = 200
},
Age = {
Min = 18,
Max = 100
}
}Client Open Source Files
if Config.Framework == 'automatic' then
if GetResourceState('es_extended') == 'started' then
Config.Framework = 'esx'
elseif GetResourceState('qb-core') == 'started' then
Config.Framework = 'qbcore'
else
Config.Framework = 'standalone'
end
end
function Notify(title, message, notifyType, timeout)
if timeout == nil then timeout = 5000 end
if notifyType == nil then notifyType = 'info' end
if GetResourceState('hex_final_hud') == 'started' then
exports['hex_final_hud']:Notify(title, message, notifyType, timeout)
elseif GetResourceState('hex_2_hud') == 'started' then
exports['hex_2_hud']:Notify(title, message, notifyType, timeout)
elseif GetResourceState('hex_future_hud') == 'started' then
exports['hex_future_hud']:Notify(title, message, notifyType, timeout)
elseif GetResourceState('hex_1_hud') == 'started' then
exports['hex_1_hud']:Notify(title, message, notifyType, timeout)
elseif GetResourceState('hex_hud_prem') == 'started' then
exports['hex_hud_prem']:Notify(title, message, notifyType, timeout)
elseif GetResourceState('hex_hud') == 'started' then
exports['hex_hud']:Notify(title, message, notifyType, timeout)
elseif GetResourceState('hex_4_hud') == 'started' then
exports['hex_4_hud']:Notify(title, message, notifyType, timeout)
else
print(('Notify: %s, %s, %s, %s'):format(title, message, notifyType, timeout))
end
endServer Open Source Files
if Config.Framework == 'automatic' then
if GetResourceState('es_extended') == 'started' then
Config.Framework = 'esx'
elseif GetResourceState('qb-core') == 'started' then
Config.Framework = 'qbcore'
else
Config.Framework = 'standalone'
end
end