Configuration
Configuration of Cherry Collection
There are two config files:
config.lua: every setting of the devices and apps. Every player downloads this file.config_server.lua: keys, tokens, webhooks and Wi-Fi passwords. Loaded on the server only.
Texts in config.lua can be one string ('Police') or one per language ({ en = 'Police', tr = 'Polis' }). The one for Config.Locale is used.
Quick start
Most servers only change these. Everything else works as it is.
# | Setting | What it is |
|---|---|---|
1 |
| Language: |
2 |
|
|
3 |
| Default keys (players can change them in their FiveM settings) |
4 |
| Item names. The ready item lists for your inventory are in |
5 |
| Your Discord ID: CHERRY admin (blue checks, campaigns, log test) |
6 |
| Your banking resource and who runs Flecca campaigns |
7 |
| The garage script for the Garage app and the valet |
8 |
| Fivemanage (photos and video), Discord logs, YouTube key |
After a restart, the server console shows CHERRY setup check: what was found and what is still missing.
Language, framework and voice
Config.Locale = 'en' -- 'en' | 'tr'. Add your own in locales/
Config.Framework = 'auto' -- 'auto' → qbx_core → qb-core → es_extended | 'qbcore' | 'qbox' | 'esx' | 'custom'
Config.Inventory = 'auto' -- 'auto' → ox_inventory → tgiann-inventory → qb-inventory → framework | 'ox' | 'tgiann' | 'qb' | 'framework'
Config.Notify = 'auto' -- 'auto' | 'qb' | 'esx' | 'ox' (ox_lib) | 'native'
Config.Voice = 'auto' -- 'auto' → pma-voice → saltychat → mumble-voip | 'pma-voice' | 'saltychat' | 'mumble-voip' | 'custom'
Config.AutoCreateTables = true -- false → import install.sql yourselfDevices
Config.Phone = {
enabled = true, -- false = no CHERRY phone (you run another phone): tablet, CherryBook, Watch and Pods still work
command = 'phone', -- /phone
key = 'F1',
items = { 'cherry_phone', 'phone' }, -- the first one is the item the store sells
requireItem = true, -- false → everyone can open the phone without an item
walkWhileOpen = true,
lockScreen = true,
useFrameworkNumber = true, -- QBCore / Qbox: charinfo.phone. ESX: Config.ESX.phoneColumn
numberFormat = '555#######',-- generated numbers (# = random digit) when the framework has none
time = 'real', -- 'real' (player's PC time) | 'game' (in-game time)
position = 'right', -- 'right' | 'center'
-- ...
}
Config.Tablet = {
command = 'tablet', -- '' = only with the item
key = '',
items = { 'cherry_tablet', 'tablet' },
-- ...
}
Config.Laptop = {
command = 'laptop',
key = '',
items = { 'cherry_book_pro', 'cherry_book_one' },
placeable = true, -- using the item puts the CherryBook down; anyone next to it opens it with the target
target = 'auto', -- 'auto' | 'ox_target' | 'qb-target'
-- ...
}
Config.Watch = {
items = { 'cherry_watch' },
command = 'watch',
key = 'F6',
maxApps = 6,
-- ...
}
Config.Pods = {
items = { 'cherry_pods' },
voiceVolume = 0.3, -- other players' voices with Noise Cancellation (0.0 - 1.0)
batteryMinutes = 300, -- how long a full charge lasts while worn
callVolume = 100, -- pma-voice call volume while the Pods are in
-- ...
}Prices, colours and hand props
Config.Devices holds the label, price, weight, default colour and the colours of every device (phone, tablet, bookpro, bookone, pods, watch). The colour is stored on the item and shown on the device frame, in the item tooltip and in the store.
Device | Price | Colour ids |
|---|---|---|
| 2499 |
|
| 3299 |
|
| 4999 |
|
| 2799 |
|
| 649 |
|
| 999 |
|
The hand props are set per device in Config.Devices.<device>.prop (model, bone, offset, rotation) and can be set per colour (prop = 'model_name'). If a model isn't streamed, the vanilla prop is used.
CHERRY Store
Config.Store = {
enabled = true,
accounts = { 'bank', 'cash' },
blip = { sprite = 521, color = 1, scale = 0.75, label = { en = 'CHERRY Store', tr = 'CHERRY Mağazası' } },
ped = 'a_f_y_business_02', -- false = no ped, only a marker
locations = {
vector4(194.12, -935.36, 30.69, 145.0), -- Legion Square
},
}Admins
Config.Admins = {
discord = {
'123456789012345678', -- your Discord user ID
},
framework = true, -- also your framework's admins (ACE vorty.admin, QBCore admin / god)
}The Discord ID is the long number: Discord → Developer Mode → right-click your name → Copy User ID. CHERRY admins give blue checks and run the other in-app admin actions. It is checked on the server only.
Bank and money apps
Config.Flecca = {
enabled = true,
name = 'Flecca Bank',
provider = 'auto', -- 'auto' | 'tgiann-bank' | 'Renewed-Banking' | 'okokBanking' | 'qb-banking' | 'framework'
admins = { '123456789012345678' }, -- Discord IDs of the people who run campaigns
limits = { min = 1, max = 1000000, maxBonus = 100000, maxPercent = 50 },
chips = { enabled = true, value = 1, minRedeem = 50, maxPerDay = 1000, staffEarn = false, maxRate = 0.5 },
}
Config.Jobby = {
enabled = true,
invoiceMax = 100000,
commission = 0.10, -- share of a paid invoice for the employee who wrote it
society = 'auto', -- qb-banking / qb-management / Renewed-Banking / esx_addonaccount, or false
}
Config.TapPay = { enabled = true, range = 3.0, timeout = 60, min = 1, max = 250000, business = true }Flecca Chips: admins open a chip campaign for a business in the app ("spend $100, get 10 chips"). Players collect chips with every purchase there and turn them into bank money. Other scripts can count a purchase with exports['vorty-cherry']:AddSpend(source, 'beanmachine', amount) (server).
Garage and valet
Config.Garage = 'auto' -- 'auto' = JG Advanced Garages when installed, otherwise the framework's columns | 'jg' | 'qb'
Config.Valet = {
enabled = true,
price = 250,
account = 'bank',
ped = 's_m_y_valet_01',
distance = { min = 90, max = 170 }, -- metres from the player where the valet starts
timeout = 240,
}City apps
Setting | App |
|---|---|
| Carrier app (default HonorCell): starter balance and data / SMS / minute packages. With |
| Munch food delivery: restaurants (job, menu), delivery fees by distance, commission, promo code. |
| e-City: licences with fee, |
| Rides: start fare, fare per km, search radius, commission, |
| Services app: police, ambulance, mechanic, taxi, lawyer, news, with their jobs. |
| News: the reporter jobs that can publish. |
| Wi-Fi networks at venues. Public networks are logged for |
| Places in Maps, with reviews. |
| Freelancer gig categories (CherryBook only). |
| Velvet creator memberships: price limits and commission. |
Phone features
Setting | What it does |
|---|---|
| Battery drain while open and in the pocket, extra drain per use, PowerBank and Magnetic Battery Pack. |
| Tracker update interval, Lost Mode and Device Lock ( |
| CherryTag: tags per character, "Unknown CherryTag" alert time. |
| Emergency SOS: |
| Burner phone item and its apps. |
| The "CHERRY Demo" contact that answers texts and calls. |
| Ring time, hidden caller prefix |
| Mail domains players can choose from and reserved names. |
| Recorder and voicemail limits. |
| Radio stations, YouTube search, music heard by nearby players ( |
| Ringtones heard by nearby players. |
| CHERRY Drive (phone music through the car). Needs |
| CherryShare (send a contact, photo or place to a player next to you). |
| Setup Assistant and the apps a new device starts with ( |
| Chirp length, post cooldown and verified handles. |
| Words masked or blocked in social apps ( |
| How many days messages, calls, mail, ads and other data are kept. |
| Apps to turn off. |
| Built-in wallpapers and the hosts allowed for wallpaper links. |
| qb-phone compatibility (mail and notifications from other scripts). |
| The Software Update screen and its notes. |
Camera and photos
Config.Camera = {
enabled = true,
storage = 'local', -- without Fivemanage: 'local' (vorty-cherry/media, served by the server) | 'database'
maxPhotos = 100, -- per character
video = true,
videoAudio = true,
videoSeconds = 30,
width = 1920,
quality = 0.92,
mouseLook = true,
walking = true,
}config_server.lua
ConfigServer = {
Fivemanage = {
token = '', -- Media token from fivemanage.com
folder = '',
},
Upload = { url = '', headers = {}, formField = 'file', urlField = 'data.url' }, -- other upload service (optional)
YoutubeKey = '', -- optional YouTube Data API v3 key for music search
WifiPasswords = {
burgershot = 'burger123',
beanmachine = 'coffee42',
bahama = 'party2026',
},
Logs = {
botName = 'CHERRY Logs',
webhook = '', -- one webhook for every channel
webhooks = { -- optional: a channel's own webhook ('' = uses `webhook`)
money = '',
security = '',
safety = '',
admin = '',
},
},
}Log channel | What is logged |
|---|---|
| Transfers, Tap to Pay, Flecca deposits, withdrawals, bonuses and chips, invoices, licence fees, food orders and refunds, Velvet, carrier packages |
| Devices erased past Device Lock, |
| Emergency SOS, Lost Mode, CherryTag paired, hidden, found or removed |
| Flecca campaigns, licence decisions, blue checks, |
Every line shows the character, server ID, citizenid and Discord. Message texts, passcodes, photos and positions (except an SOS) are never logged.
Last updated: December 6, 2026