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 everywhere]
-- DO NOT TOUCH THE KEYS BEFORE THE "=" CHARACTER TO PREVENT ERRORS!
-- YOU CAN ONLY EDIT THE VALUES BEHIND THE "=" CHARACTER!
UNIQUE = {}
UNIQUE.Framework = exports['es_extended']:getSharedObject()
-----------------------------------------------------------------------
-- [POSITION]
UNIQUE.Position = {
['coords'] = { -- Here you can specify all positions where money laundering is suspected to be present.
vector4(145.49, -240.92, 51.48, 155.70),
-- vector4(128.97, -253.79, 51.39, 338.40),
},
['Blip'] = {
['enabled'] = true, -- Would you like to activate the blip?
['name'] = "Moneywash", -- 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'] = '#F1A502', -- Marker color. [HEX-Code]
['opacity'] = 120, -- Marker opacity. [0 - 255]
['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?
['model'] = 's_m_y_dealer_01', -- Ped Model. [https://docs.fivem.net/docs/game-references/ped-models/]
['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/)
}
},
}
-- [POSITION]
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-- [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 == 'success' then
TriggerEvent('unique_notify:Notify', 'success', msg, 5000) -- EXAMPLE
end
if type == 'error' then
TriggerEvent('unique_notify:Notify', 'error', msg, 5000) -- EXAMPLE
end
end
UNIQUE.HelpNotify = false -- Do you want to use a helpnotify?
function HelpNotify() -- Your Helpnotify Trigger.
ESX.ShowHelpNotification("PRESS E TO INTERACT.")
end
UNIQUE.Progressbar = false
function Progressbar(time) -- Your Progressbar Trigger. ['time' must be retained.]
TriggerEvent('unique_progressbar', "Your money is being laundered...", time)
end
UNIQUE.CancelProgressbar = false -- Do you want the progressbar to be canceled when leaving the radius?
function CancelProgressbar() -- Your Progressbar Cancel Trigger / Event.
TriggerEvent('unique_progressbar:Stop')
end
-- [NOTIFICATIONS]
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-- [MAIN SETTINGS]
UNIQUE.Settings = {
['Moneywash'] = {
['min_radius'] = 5.0, -- In this area, the person must be present when laundering their money.
['time_without_card'] = 10, -- Seconds to wash without the card item.
['time_with_card'] = 5, -- Seconds to wash with the card item.
['min_amount'] = 25000, -- Minimum amount from which the player can start laundering.
['max_amount'] = 1000000, -- Maximum amount the player can launder.
['Item'] = {
['enabled'] = false, -- "Would you like to activate the blackmoneycard item with its function?
['item'] = 'blackmoneycard', -- Item that saves fees.
},
['fixed_no_card'] = 85, -- Fixed amount without item. [Calculation -> $10,000 x 85% = $8,500)
['fixed_with_card'] = 95, -- Fixed amount with item. [Calculation -> $10,000 x 95% = $9,500)
['Randomizer'] = {
['enabled'] = false, -- Would you like to generate the money amounts randomly?
['no_card_start'] = 85, -- Currently generating a value between 85% - 90%.
['no_card_end'] = 90, -- [Calculation -> $10,000 x 90% = $9,000)
['with_card_start'] = 90, -- Currently generating a value between 90% - 95%.
['with_card_end'] = 95, -- [Calculation -> $20,000 x 95% = $19,000)
},
['Quickactions'] = {
[1] = {
['label'] = "100.000$", -- Display in the UI.
['amount'] = 100000, -- Amount to be laundered upon click.
},
[2] = {
['label'] = "250.000$", -- Display in the UI.
['amount'] = 250000, -- Amount to be laundered upon click.
},
[3] = {
['label'] = "500.000$", -- Display in the UI.
['amount'] = 500000, -- Amount to be laundered upon click.
},
}
},
['Blacklist'] = {
['enabled'] = false, -- Would you like to prohibit money laundering for specific jobs?
['Jobs'] = { -- All jobs listed here cannot launder money. [e.g., 'police')
'police',
-- 'police',
-- 'police',
}
},
['Cops'] = {
['required'] = false, -- Do you want police officers to be required for laundering?
['cops_needed'] = 1, -- How many police officers are needed?
['timer'] = 60, -- Number of seconds for counting all police officers.
['Jobs'] = { -- Enter all police jobs here [e.g., 'police', 'fib', ...).
'police',
-- 'police',
-- 'police',
},
['Dispatch'] = {
['enabled'] = false, -- Do you want police to receive a dispatch once a player launders money?
['randomized'] = false, -- Do you want the dispatch to be sent only at a specific percentage?
['percentage'] = 50, -- At what percentage should the dispatch be sent?
['cooldown'] = 2, -- Number of seconds for police to receive the dispatch.
['RandomizedBlipPosition'] = { -- Dispatch blip coordinates.
['min'] = -100,
['max'] = 100,
},
['Sound'] = {
['enabled'] = true, -- Would you like to enable a sound for the dispatch?
['audioname'] = "CHALLENGE_UNLOCKED", -- Audio name [https://altv.stuyk.com/docs/articles/tables/frontend-sounds.html]
['audioref'] = "HUD_AWARDS", -- Audio ref [https://altv.stuyk.com/docs/articles/tables/frontend-sounds.html]
},
['Blip'] = {
['name'] = "Suspected Money laundering", -- Blip name.
['sprite'] = 161, -- Blip sprite. [https://docs.fivem.net/docs/game-references/blips/]
['color'] = 3, -- Blip color. [https://docs.fivem.net/docs/game-references/blips/#blip-colors]
['scale'] = 2.0, -- Blip Scale. [0.1 - ∞]
['alpha'] = 100, -- Blip Opacity. [0 - 255]
['removetime'] = 120, -- Number of seconds after which the blip is removed again.
}
}
}
}
-- [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 everywhere)
-- DO NOT TOUCH THE KEYS BEFORE THE "=" CHARACTER TO PREVENT ERRORS!
-- YOU CAN ONLY EDIT THE VALUES BEHIND THE "=" CHARACTER!
------------------------------------------------------------------------
-- [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_moneywash", -- 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