Config Files
Information
Our configuration files are highly detailed and structured for easy understanding. To make it as simple as possible for you, an explanation is provided next to each setting.
All configuration files can be found in the /configs
folder.
Included configuration files:
---------------------------------------------------------------------------------------------------------------
-- If you have any questions or issues, feel free to open a ticket on our Discord.
-- https://discord.gg/unique
-- "true" = activated, "false" = deactivated. (Applies universally)
-- DO NOT TOUCH THE KEYS BEFORE THE "=" CHARACTER TO PREVENT ERRORS!
-- YOU CAN ONLY EDIT THE VALUES BEHIND THE "=" CHARACTER UNLESS MENTIONED!
UNIQUE = {}
-----------------------------------------------------------------------
-- [POSITIONS]
UNIQUE.Positions = {
['coords'] = vector3(-545.30, -203.77, 38.21), -- At which coordinates should the job center be accessible?
['Blip'] = {
['enabled'] = true, -- Would you like to activate the blip?
['name'] = "Jobcenter", -- Blip name.
['sprite'] = 177, -- Blip sprite. [https://docs.fivem.net/docs/game-references/blips/]
['color'] = 47, -- Blip color. [https://docs.fivem.net/docs/game-references/blips/#blip-colors]
['scale'] = 1.0, -- Blip scale. [0.1 - ∞]
},
['Marker'] = {
['enabled'] = false, -- Would you like to use a marker?
['type'] = 21, -- Marker Sprite. [https://docs.fivem.net/docs/game-references/markers/]
['rotate'] = true, -- Would you like the marker to rotate?
['bounce'] = true, -- Would you like the marker to bounce?
['color'] = {r = 241, g = 165, b = 2, a = 120}, -- Marker color. [RGB-Code]
['scale'] = {x = 1.0, y = 1.0, z = 1.0}, -- Marker scale.
['actiondistance'] = 1.0, -- Marker interaction radius.
['drawdistance'] = 10.0, -- Marker viewdistance. [Higher value = Higher usage.]
},
['NPC'] = {
['enabled'] = true, -- Would you like to activate the NPC?
['coords'] = {-545.30, -203.77, 37.21, 212.59, "a_m_y_business_02"}, -- (1=X, 2=Y, 3=Z, 4=Heading, 5=Model)
['Animation'] = {
['enabled'] = true, -- Would you like to assign an animation to the NPC?
['animdict'] = "anim@heists@heist_corona@single_team", -- Animation [https://gtahash.ru/animations/]
['animname'] = "single_team_loop_boss", -- Flag [https://gtahash.ru/animations/]
},
}
}
-- [POSITIONS]
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-- [NOTIFICATIONS]
UNIQUE.Locale = 'en' -- Select your language. ('en' or 'de')
UNIQUE.Customnotify = false -- Do you want to use your own notify?
function Notify(type, msg) -- Your Notify Trigger. ('msg' must be retained.)
if type == 'info' then
exports['unique_notify']:SendAlert('information', msg, 5000)
end
if type == 'success' then
exports['unique_notify']:SendAlert('success', msg, 5000)
end
if type == 'error' then
exports['unique_notify']:SendAlert('error', msg, 5000)
end
end
UNIQUE.Helpnotify = false -- Do you want to use a helpnotify?
function HelpNotify() -- Your Helpnotify Trigger.
exports['unique_helpnotify']:TriggerHelpNotify("PRESS E TO INTERACT.")
end
-- [NOTIFICATIONS]
-----------------------------------------------------------------------
------------------------------------------------------------------------
-- [MAIN SETTINGS]
UNIQUE.Settings = {
['Cooldowns'] = {
['enabled'] = true, -- Would you like to use a colldown for notifications?
['timer'] = 500, -- Cooldown in milliseconds for all notifications.
},
['Jobs'] = {
[1] = { -- Information about this job.
['Change_Job'] = {
['enabled'] = true, -- Do you want the person to receive a job upon selecting this job offer?
['jobname'] = 'cardealer', -- Enter the name of the job the player should receive here.
['jobgrade'] = 0, -- Enter the grade of the job the player should receive here.
},
['Waypoint'] = {
['enabled'] = true, -- Do you want to display a waypoint upon pressing the button?
['coords'] = vector3(-33.21, -1100.77, 0.0), -- Enter your desired coordinates for the waypoint here.
},
['title'] = "Autoverkäufer/in",
['subtitle'] = "PDM",
['img'] = 'Job1.jpg', -- Image name. (Images must be listed under /html/img/jobs/)
['salary'] = "Gehalt",
['salary_amount'] = "3.000$",
['salary_time'] = "/ STUNDE",
['description'] = "Beschreibung",
['description_text'] = "Du bist ein raffinierter Händler und Menschen finden dich sympathisch? Dann starte jetzt deine Karriere im Premium Deluxe Motorsport und sei eine Bereicherung für das Unternehmen. Hast du das Zeug zum Geschäftsführer?",
['information'] = "Informationen",
['Information_1'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Beruf:",
['highlighted'] = "Autohändler/in",
},
['Information_2'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Aufgaben:",
['highlighted'] = "Kundenberatung & Verkauf.",
},
['Information_3'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitszeiten:",
['highlighted'] = "Flexibel.",
},
['Information_4'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitskleidung:",
['highlighted'] = "Weißes Hemd, Schuhe & Jeans.",
},
['Information_5'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitsfahrzeuge:",
['highlighted'] = "Dubsta 2. und Revolter.",
},
['button'] = "Job Wählen",
},
[2] = { -- Job name.
['Change_Job'] = {
['enabled'] = true, -- Do you want the person to receive a job upon selecting this job offer?
['jobname'] = 'police', -- Enter the name of the job the player should receive here.
['jobgrade'] = 2, -- Enter the grade of the job the player should receive here.
},
['Waypoint'] = {
['enabled'] = true, -- Do you want to display a waypoint upon pressing the button?
['coords'] = vector3(427.0, -980.44, 0.0), -- Enter your desired coordinates for the waypoint here.
},
['title'] = "Soldat/in",
['subtitle'] = "ARMY",
['img'] = 'Job2.jpg', -- Image name. (Images must be listed under /html/img/jobs/)
['salary'] = "Gehalt",
['salary_amount'] = "8.000$",
['salary_time'] = "/ STUNDE",
['description'] = "Beschreibung",
['description_text'] = "Du liebst unser Land und möchtest es vor aussenstehenden Gefahren beschützen? Die Army von San Andreas sucht tatkräftige Unterstützung im Alter von 18-30 Jahren. <br> Wir sehen uns beim Training, Soldat.",
['information'] = "Informationen",
['Information_1'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Beruf:",
['highlighted'] = "Soldat/in.",
},
['Information_2'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Aufgaben:",
['highlighted'] = "Personenschutz & Verteidigung.",
},
['Information_3'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitszeiten:",
['highlighted'] = "4-6 Stunden / Tag.",
},
['Information_4'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitskleidung:",
['highlighted'] = "Spezielle Militärausrüstung.",
},
['Information_5'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitswaffen:",
['highlighted'] = "Pistole Mk2 & Spezialkarabiner.",
},
['button'] = "Job Wählen",
},
[3] = { -- Job name.
['Change_Job'] = {
['enabled'] = true, -- Do you want the person to receive a job upon selecting this job offer?
['jobname'] = 'taxi', -- Enter the name of the job the player should receive here.
['jobgrade'] = 0, -- Enter the grade of the job the player should receive here.
},
['Waypoint'] = {
['enabled'] = true, -- Do you want to display a waypoint upon pressing the button?
['coords'] = vector3(903.55, -165.31, 0.0), -- Enter your desired coordinates for the waypoint here.
},
['title'] = "Taxifahrer/in",
['subtitle'] = "DOWNTOWN",
['img'] = 'Job3.jpg', -- Image name. (Images must be listed under /html/img/jobs/)
['salary'] = "Gehalt",
['salary_amount'] = "2.250$",
['salary_time'] = "/ STUNDE",
['description'] = "Beschreibung",
['description_text'] = "Auto fahren macht dir Spaß und längere Strecken sind für dich kein Problem? Wir vom Downtown Cab Co. suchen genau nach so einer Person! Das eingenommene Trinkgeld wird natürlich an den jeweiligen Fahrer ausgezahlt.",
['information'] = "Informationen",
['Information_1'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Beruf:",
['highlighted'] = "Taxifahrer/in.",
},
['Information_2'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Aufgaben:",
['highlighted'] = "Personentransport.",
},
['Information_3'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitszeiten:",
['highlighted'] = "2-4 Stunden / Tag.",
},
['Information_4'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitskleidung:",
['highlighted'] = "Saubere, lockere Kleidung.",
},
['Information_5'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitsfahrzeuge:",
['highlighted'] = "Downtown Taxi.",
},
['button'] = "Job Wählen",
},
[4] = { -- Job name.
['Change_Job'] = {
['enabled'] = false, -- Do you want the person to receive a job upon selecting this job offer?
['jobname'] = 'jobname', -- Enter the name of the job the player should receive here.
['jobgrade'] = 0, -- Enter the grade of the job the player should receive here.
},
['Waypoint'] = {
['enabled'] = true, -- Do you want to display a waypoint upon pressing the button?
['coords'] = vector3(903.55, -165.31, 0.0), -- Enter your desired coordinates for the waypoint here.
},
['title'] = "JOBNAME",
['subtitle'] = "SUBTITLE",
['img'] = 'Job4.jpg', -- Image name. (Images must be listed under /html/img/jobs/)
['salary'] = "Gehalt",
['salary_amount'] = "5.000$",
['salary_time'] = "/ STUNDE",
['description'] = "Beschreibung",
['description_text'] = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.",
['information'] = "Informationen",
['Information_1'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Beruf:",
['highlighted'] = "Lorem Ipsum.",
},
['Information_2'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Aufgaben:",
['highlighted'] = "Lorem Ipsum.",
},
['Information_3'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitszeiten:",
['highlighted'] = "Lorem Ipsum.",
},
['Information_4'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitskleidung:",
['highlighted'] = "Lorem Ipsum.",
},
['Information_5'] = { -- If not desired, simply leave both fields empty.
['normal'] = "Arbeitsfahrzeuge:",
['highlighted'] = "Lorem Ipsum.",
},
['button'] = "Job Wählen",
},
}
}
-- [MAIN SETTINGS]
------------------------------------------------------------------------
-- https://discord.gg/unique
-- If you have any questions or issues, feel free to open a ticket on our Discord.
---------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------
-- If you have any questions or issues, feel free to open a ticket on our Discord.
-- https://discord.gg/unique
-- "true" = activated, "false" = deactivated. (Applies universally)
-- DO NOT TOUCH THE KEYS BEFORE THE "=" CHARACTER TO PREVENT ERRORS!
-- YOU CAN ONLY EDIT THE VALUES BEHIND THE "=" CHARACTER UNLESS MENTIONED!
------------------------------------------------------------------------
-- [SQL SETTINGS]
UNIQUE.SQL = {
['users_table'] = 'users', -- Table where all players are stored.
['identifier_column'] = 'identifier', -- Identifier.
['firstname_column'] = 'firstname', -- Firstname.
['lastname_column'] = 'lastname', -- Lastname.
}
-- [SQL SETTINGS]
------------------------------------------------------------------------
------------------------------------------------------------------------
-- [DISCORD LOGS]
UNIQUE.Logs = {
['enabled'] = false, -- Do you want to enable Discord logs?
['webhook'] = "", -- Webhook URL.
['color'] = "#F1A502", -- Embed color. [HEX-Code]
['header'] = "unique_jobcenter", -- Author text.
['header_link'] = "https://discord.gg/invite/unique", -- Author link.
['header_image'] = "https://unique-studio.de/UNIQUE/DESIGNS/Logo_New.png", -- Author image.
['thumbnail'] = "https://unique-studio.de/UNIQUE/DESIGNS/Logo_New.png", -- Thumbnail image.
['image'] = "https://unique-studio.de/Embeds/Thanks.png", -- Normal image.
['footer_date_format'] = "%d.%m.%Y 〢 %H:%M:%S", -- Date format. [%d = day, %m = month, %Y = year, %H = hour, %M = minute, %S = second.] <- Pay attention to the case sensitivity!
['footer_emoji'] = "📅", -- Footer emoji.
}
-- [DISCORD LOGS]
------------------------------------------------------------------------
-- https://discord.gg/unique
-- If you have any questions or issues, feel free to open a ticket on our Discord.
---------------------------------------------------------------------------------------------------------------
Last updated