Config Preview
π§ See the current config files
Dream Fakeplates Config
DreamCore.lua
DreamLocales = {} -- Do not touch this!!!
DreamCore = {} -- Do not touch this!!!
-- Dream Fakeplates Settings
DreamCore.Language = 'en'
DreamCore.FakePlateItem = 'platechanger'
DreamCore.BreakChance = 15 -- 15% Chance to break the plate changer
DreamCore.PlateInputCriteria = {
Min = 4,
Max = 8,
Hide = false, -- Hide the input (****)
}
DreamCore.InformPolice = {
Enabled = true,
Chance = 25, -- 25% Chance to inform the police
Job = 'police'
}
DreamCore.CheckPlate = function(NewPlate)
-- Do your own criteria check here by using the variable NewPlate, return true or false
return true
end
Webhooks.lua
DreamCore.Webhooks = {
Enabled = true,
-- Base Data
Color = '10169855', -- Change the Color of the Webhook
Author = 'Dream Fake Plates', -- Change the Author of the Webhook
IconURL = 'https://i.ibb.co/KNS96CM/dreamservices-round.png', -- Change the IconURL of the Webhook
-- Webhook URLs
VehicleUpdate = 'https://canary.discord.com/api/webhooks/XXX/XXX',
PoliceInfo = 'https://canary.discord.com/api/webhooks/XXX/XXX',
}
Dream Fakeplates Locales
Reminder: You can create your own locale file in your language π
en.lua
DreamLocales['en'] = {
['NotifyHeader'] = 'Fake Plate',
['NotifyNoVehicleNearBy'] = 'There is no vehicle in your area. Go to the plate of a vehicle!',
['NotifyNewPlateSuccess'] = 'You changed the Plate: %s --> %s',
['NotifyDefaultPlateNotAllowed'] = 'You are not allowed to default the plate of this vehicle!',
['NotifyPlateBreak'] = 'Oh No! The Plate Changer broke while changing the plate...',
['NotifyInformPolice'] = 'Victim\'s statement: A fellow citizen saw masked persons changing the license plate from %s to %s.',
['NotifyPlateNotAccepted'] = 'The license plate does not meet the criteria!',
['PlateLookupLabel'] = 'Lookup Plate...',
['PlateContextHeader'] = 'Fake Plate',
['PlateContextOptionNewPlateTitle'] = 'New Plate',
['PlateContextOptionNewPlateDesc'] = 'Change the plate of the vehicle',
['PlateContextOptionDefaultPlateTitle'] = 'Default Plate',
['PlateContextOptionDefaultPlateDesc'] = 'Default the plate of the vehicle',
['PlateInputHeader'] = 'Fake Plate',
['PlateInputNewPlateHeader'] = 'New Plate',
['PlateInputNewPlateDesc'] = 'Enter here the desired new plate',
['PlateInputNewPlatePlaceholder'] = 'Example: A3F56S',
['PlateAdjustLabel'] = 'Apply Plate...',
}
Last updated