Skip to content

Configuration

Every option of Cuxial Chipeo: shared/config.lua block by block, plus the data files for pieces, portable speakers, vehicles, the workshop and ambient filters.

Everything is set in shared/config.lua and in the files of data/. Restart the resource after a change. The options marked live can also be changed from the Staff panel without restarting; the panel saves them in the database and "Factory" brings back the values of the file.

General ​

OptionTypeDefaultWhat it does
debugbooleanfalsetrue = test mode: staff skip items and jobs and get the test commands. Keep false on a live server.
remoteRangenumber12.0Metres from which the owner (or a public medusa) can still control the radio from outside the car.
remoteMarginnumber3.0Extra metres before the tablet closes when walking away.

ui ​

OptionTypeDefaultWhat it does
accentstringconfigurableAccent colour of the interface (hex).
allowAccentbooleanfalsetrue = each player can pick their own colour.
allowBackgroundbooleantruetrue = each player can set a background image on the tablet.
allowAcousticsbooleanfalsetrue = each player can turn off 3D audio and occlusion for themselves.
cameraKeystring'Alt'Key held to free the mouse and move the camera (Alt, Control or Shift).
cameraMovebooleantruetrue = while holding that key the player can also walk, run and drive.

commands ​

Each command is a table with name. Set name = '' to not register the commands that allow it. Full list in Commands & permissions.

OptionDefaultNotes
open{ name = 'chipeo', keybind = 'F4' }keybind = '' registers no key.
repairrepairchipeoOnly exists with mechanic.enabled = true.
removeAll, removeNearby, emergencyremoveallchipeo, removechipeo, chipeoemergenciarestricted = false checks admin.permission; an ACE group such as 'group.admin' also restricts them through ox_lib.
workshoptallerchipeo
musicVolume, updateRatevolumenmusica, intervalomusicaPersonal options.
adminchipeoadminStaff panel.
requestpedircancionSong requests.
debugtableNames of the test commands, only registered with debug = true.

logs ​

OptionTypeDefaultWhat it does
enabledbooleanfalsetrue = send logs to Discord.
convarstring'cuxial_chipeo_webhook'Server convar that holds the webhook URL (set, never in this file).

delays ​

Client waits in milliseconds: boot (after the character loads, before asking for placed medusas), settings (after start, before sending settings to the interface), watch (distance checks with the tablet open), control (wait for network control of the car when touching doors and windows) and settle (pause before reading the new state of a door or window). The defaults work for most servers.

items ​

OptionTypeDefaultWhat it does
installstring'chipeo_radio'Item that installs the head unit.
unmountstring'chipeo_unmount'Item that removes it and gives the head unit back.
usbtableusb_8 = 8 … usb_128 = 128USB item → number of songs.
usbFallbackstring'usb_8'Item given back on eject if the saved capacity matches none.
debugUsb, debugMedusastring'usb_32', 'chipeo_medusa_l'What the test commands hand out.

install ​

OptionTypeDefaultWhat it does
timeMs / unmountTimeMsnumber5000 / 5000Duration of installing and removing.
ownerOnlybooleanfalsetrue = only the owner of the vehicle can install.
unmountOwnerOnlybooleantruetrue = only the owner or whoever installed it can remove it.
rangenumber4.0Metres to the vehicle.
rangeMarginnumber1.5Tolerance added by the server to range.
checkGraceMs / checkExpireMsnumber500 / 60000Lag tolerance and validity of the check made before the progress bar.
animtablemini@repair / fixing_a_pedAnimation for installing, removing and repairing.

radio ​

Stock radio: every eligible car plays music with no item or installation, within its own caps. Mounting speakers or a sub in the workshop turns it into a full sound system.

OptionTypeDefaultWhat it does
enabledbooleantruetrue = every eligible car comes with a stock radio · false = only cars with an installed head unit play music.
typestableautomobile, bike, boatVehicle types (as returned by GetVehicleType) with a stock radio: true or false per type. heli, plane, submarine, trailer and train default to false. Models in the blacklist of data/vehicles.lua never get one.
maxVolumenumber1.5Maximum volume of the stock radio.
distancenumber8.0Metres at which it is heard outside the car.
maxBassnumber40Maximum bass (0 to audio.maxBass).
eqRangeDbnumber6± dB of the equalizer.

The stock radio has no punch or sub crossover control, does not overheat, does not drain the battery and causes no shake or sparks. Until the car has speakers or a sub mounted it plays as a stock radio, even with chipeo_radio installed; models with builtin = true in data/vehicles.lua always count as a full system.

audio ​

OptionTypeDefaultWhat it does
defaultDistancenumber10.0Metres a car without pieces is heard at.
maxVolumeBoostnumber5.0Top of the volume knob (1.0 = normal).
volumeCapnumber10.0Live. Server-wide volume cap, above any car.
defaultVolume / defaultBassnumber1.0 / 30Starting volume and bass of a radio.
proximityMsnumber250Client distance checks; also the default update rate.
rangeMarginnumber5.0Extra metres where the client already prepares the source.
maxBass / maxPunchnumber100 / 100Scale of the bass and punch knobs.
bassHztable60–200, 110Subwoofer cut-off range and default.
eqBandstable31, 62, 125, 250, 500, 1000, 2000, 4000, 8000, 16000Equalizer bands in Hz. The first and the last are shelves.
eqLegacyBandstable60, 170, 350, 1000, 3500, 10000Bands of earlier versions. Equalizers and presets saved with them are converted when read.
eqRangeDbnumber12± dB per band.
presetSlotsnumber5Equalizer presets per player.
musicVolumeMaxnumber2.0Top of the personal music volume (2.0 = double).
updateOptionstable100, 250, 500Update rates (ms) a player can choose.
idleSuspendMsnumber5000Ms with nothing playing before the interface audio sleeps. 0 = never.

emergency, social, groups, buckets ​

OptionTypeDefaultWhat it does
emergency.removeMedusasbooleanfalseLive. true = the emergency also removes every placed medusa.
social.showNamesbooleanfalsetrue = notices and lists show the character name; false = only the ID.
social.request.enabledbooleantrueSong requests on or off.
social.request.whostring'all''all' = anyone nearby · 'passengers' = only inside the car · 'list' = only the jobs and permissions in list.
social.request.listtableemptyWith who = 'list': jobs = { mechanic = 0 } (minimum grade) and permissions = { 'vip' }.
social.request.range / notifyRangenumber25.0 / 60.0Metres to request, and metres at which the owner is notified.
social.request.maxPending / perPlayernumber8 / 1Pending requests per system and per player.
social.request.cooldownSec / ttlSecnumber30 / 300Seconds between requests of a player, and lifetime of a request.
social.share.enabled / range / ttlSectrue / 4.0 / 30Sharing a list with a nearby player.
groups.enabledbooleantrueSynced groups on or off.
groups.maxMembersnumber6Systems per group, master included.
groups.maxDistance / inviteRangenumber150.0 / 60.0Metres before a member drops out, and metres to invite.
groups.inviteSecnumber30Seconds an invitation lasts.
groups.tickMs / refreshMsnumber2000 / 3000Group checks and refresh of the open Group app.
buckets.enabledbooleanfalsetrue = players only hear their own routing bucket · false = everything is heard.
buckets.shareDefaultbooleanfalsetrue = bucket 0 is heard from every bucket.
buckets.pollMsnumber1000Bucket checks of players and cars.
buckets.maxnumber65535Highest bucket staff can give an installation.
buckets.staffMovebooleantruetrue = "Go there" in the panel also moves staff into that bucket.
buckets.movePermissionstring/nilnilPermission for that move; nil = admin.permission.

fixed ​

OptionTypeDefaultWhat it does
enabledbooleantrueFixed installations on or off.
netBasenumber65536Internal ID base. Do not change.
spawnRange / controlRangenumber150.0 / 4.0Metres at which props are created, and metres to the controller to use it.
placeRange / maxSpreadnumber40.0 / 60.0Gizmo reach, and maximum distance from controller to piece.
maxPieces / maxInstalls / maxPerOwnernumber24 / 60 / 2Pieces per installation, installations on the server, installations per non-staff creator.
usbCapacitynumber60Songs of the virtual USB of each installation.
tickMsnumber30000Schedule checks.
defaultVolume / defaultMaxVolume / defaultMaxRangenumber1.0 / 3.0 / 120.0Starting values of a new installation.
modelstablemedusa L and SProp models allowed as controller.
zoneRadiusnumber1.6Target distance of a zone controller.
creatorstableall offWho else can create (only their own): permission (Cuxial Bridge permission), jobs ({ club = 2 }) or export ({ resource = 'x', name = 'y' }, called with the player ID, returns boolean).

session and limits ​

session holds server timings: cabin report range and lifetime (cabinRange, cabinTtlMs, cabinResendMs), end-of-track margin (endMarginSec), maximum seek (maxSeekSec), the cabin value under which a car counts as closed (closedBelow), heat and pressure tick (tickMs), cleanup of radios whose car is gone (cleanupMs), owner cache (ownerCacheMs) and the minimum gap between two notices of lowered windows to other players (windowsPushMs).

limits caps how many requests of each kind a player can send: { max = n, windowMs = ms } per action (control, panel, USB, songs, install, medusa actions, groups, import, fixed installations, library, requests, shop, workbench, billing, boss menu…). Raise a value only if legitimate players hit "busy" messages.

persist ​

OptionTypeDefaultWhat it does
unownedstring'memory'Where the equipment of cars without an owner (no row in the framework's vehicle table) is kept. 'memory' = only while that car exists: it is not saved to the database and another car with the same plate does not inherit it · 'sql' = saved per plate, like owned cars.

With 'memory', if the car gets an owner while it exists (for example, when it is bought), its equipment is saved under its plate.

overheat and pressure ​

OptionTypeDefaultWhat it does
overheat.enabledbooleantrueThe equipment can fry.
overheat.seconds / bassThresholdnumber15 / 80Without pieces: seconds above that bass level until it fries.
overheat.fireSecondsnumber20Seconds the trunk burns.
overheat.cooldownPerSecondnumber2How fast it cools down.
overheat.fxRangenumber424.0Metres at which the smoke and broken glass are seen when a system fries.
overheat.damagedMaxVolume / damagedMaxBassnumber1.0 / 20Limits while fried.
overheat.mounted.enabledbooleantrueLive. With pieces, heat depends on watts, volume, bass, closed boxes and voltage drop.
overheat.mounted.refWatts / minRate / enclosed / sagHeatnumber2500 / 0.3 / 1.2 / 1.0Watts that heat 1 point per second at full, heat rate under which it cools, extra for closed boxes, extra at maximum drop.
pressure.enabledbooleantrueWindows burst in a closed car at high volume.
pressure.volumeThreshold / secondsnumber0.7 / 10Fraction of full volume (sound.fullVolume, or the car's maximum if lower) where pressure builds, and seconds at full until a window bursts.
pressure.cooldownPerSecond / breakCooldownnumber2 / 12Cool-down, and grace seconds after a window bursts.
pressure.gaintablebase 0.6, bass 0.4, punch 0.3, min 0.35Weight of each knob in the rise.
pressure.cabinRefDb / cabinFactor115.0 / 0.3–3.0With pieces: bass dB inside the cabin that equal normal pressure, and multiplier limits.

acoustics, sound and cabin ​

OptionTypeDefaultWhat it does
acoustics.spatialbooleantrue3D audio from the camera.
acoustics.occlusionbooleantrueWalls and buildings muffle the sound.
acoustics.occlusionRays / occlusionHeight / occlusionSpread3 / 0.6 / 0.6Rays per source (1–3), their height and side spread. The central ray leads; the side rays only refine.
acoustics.groupRaysnumber1Rays per emitter group (1–3). More is finer and costs more with many cars.
acoustics.occludeObjects / objectMinSizefalse / 3.0false = only walls and buildings muffle (recommended) · true = large objects too, from that diagonal in metres.
acoustics.occlusionSmoothnumber0.350–1, how fast occlusion moves to a new value. Lower is smoother.
acoustics.interiorFloornumber0.350–1, minimum occlusion between two different interiors: an open door or shutter lets the rest through.
acoustics.farFrom / farEvery60.0 / 4From that distance in metres, occlusion of a source is recalculated once every farEvery passes.
sound.hearDbnumber83.0Level under which the street no longer hears the car; sets the range.
sound.maxRangenumber250.0Live. Metres, range cap of any system.
sound.reachTilttablesub 0, mid -3, high -7dB per band subtracted only to calculate the range.
sound.interiorSpl / refDbnumber98.0 / 112.0dB of the factory radio, and dB that equal gain 1.0.
sound.closedDb / closedLowpass-18.0 / 400Loss and filter of a closed deployable piece.
sound.trunktablesub -3, mid -15, high -15dB per band for a piece inside a closed trunk.
sound.airAbsorbFromnumber30.0Metres from which the air eats the highs.
sound.groupsPerVehicle / groupsTotalnumber4 / 16Emitter groups per car and per player. Every nearby source keeps at least one.
sound.fullVolumenumber2.0Session volume that counts as full for power draw, heat and pressure.
sound.crossovertablelow 120, high 3000Hz between lows, mids and highs.
sound.special.mufflebooleanfalseCars with a Special project: false = no muffling from walls, cabin, trunk, closed pieces or facing away · true = like the rest.
sound.special.gainDbnumber6.0Extra dB of volume and per-band cap for a Special project. The limiter stays on.
sound.refDistancenumber2.0Metres up to which the stock radio sounds at full from outside; farther, it falls with distance like the pieces.
sound.hrtf.near / far / sources20.0 / 60.0 / 3Detailed 3D audio at full up to near metres, simple pan from far, and how many of the closest sources get it at once.
sound.bassCompbooleantrueSoft compressor on the bass only (under 150 Hz) before the limiter, so the kick does not bury the vocals.
sound.drivestring'clean'Live. Sound character: 'clean' = full bass and clear vocals, only bass peaks are rounded · 'warm' = some colour in the bass and a little more volume · 'loud' = as loud as possible, saturates with big builds.
sound.loud.enabled / driveDb / knee / gluetrue / 4.0 / 0.7 / 0.8Soft saturation of the 'loud' mode: push in dB (0–9), level where rounding starts, and level where the final mix is rounded. 'clean' and 'warm' only take the push, capped at 3 and 5 dB.
sound.loud.pushDb / specialPushDbnumber10.0 / 8.0dB above the normal ceiling that still get louder (a stronger system sounds louder), and extra for a Special project.
sound.loud.bandstablesub 0.75, mid 0.7, high 0.45Ceiling of each band in the saturation (0.3–1).
sound.duck.enabledbooleantrueThe world (engine, ambience, traffic, weather, weapons, peds) goes down with the dB reaching you; voice chat does not. Uses the audio scenes of cuxial_chipeo_assets.
sound.duck.scenestableworld, cabin, workshopScenes that can be turned off one by one: the world, the outside with your cabin closed, and the open workshop.
sound.duck.fromDb / fullDbnumber105.0 / 135.0dB at your position where the world starts to go down and where it reaches the minimum.
sound.duck.attackMs / releaseMs / tickMsnumber400 / 1500 / 100How fast it goes down and comes back, and tick.
sound.filters.enabledbooleantrueLive. Ambient filters (profiles in data/filters.lua).
sound.filters.maxStack / fadeMsnumber3 / 900Profiles combined per source, and fade between them.
cabin.door / trunk / window / roofnumber0.45 / 0.3 / 0.3 / 0.9How much each opening opens the cabin (0 closed, 1 open air).
cabin.anglenumber1.5Door angle multiplier.

fx and feel ​

OptionTypeDefaultWhat it does
fx.tickMsnumber300Sparks and shake tick.
fx.firetableboot, core particlesBone, particle names, sizes and draw range of the trunk fire.
fx.sparkletableboot, minBass 60Sparks when the bass is high: particle, size, bone, threshold, interval, range.
fx.shaketableenabled true, 0.5, 40Simple camera shake, used when feel.enabled = false.
feel.enabledbooleantrueLive. Camera and body shake with the bass that reaches the player.
feel.minDb / fullDbnumber92.0 / 126.0Bass dB where shaking starts and where it is at full.
feel.camMaxnumber0.3Live. Camera shake cap.
feel.insideBoostnumber1.4Multiplier inside the car that plays.
feel.body / bodyForcetrue / 0.6Live. Body rocking per hit and its force.
feel.bodyMaxSpeed / bodyGapMsnumber1.5 / 180Speed above which the body does not move, and minimum gap between hits.
feel.tickMs / levelsMs / meterMsnumber50 / 100 / 250Shake tick, bass level updates, dB meter updates.
feel.bassKnob.enabledbooleantruetrue = the radio's bass knob raises or lowers shake, kicks and the screen effect (relative to audio.defaultBass) · false = only the system and the volume count.
feel.bassKnob.cutDb / boostDbnumber30.0 / 6.0Most dB removed with the bass at 0, and most dB added with the bass at maximum.
feel.kick.enabledbooleantrueLive. Camera kick on every bass drum hit that reaches you, only where it already shakes.
feel.kick.camMaxnumber0.3Live. Strength of the strongest kick (0.1–0.6; above 0.5 it makes players dizzy).
feel.kick.shakestring'JOLT_SHAKE'Game shake: 'JOLT_SHAKE' = short and sharp · 'SMALL_EXPLOSION_SHAKE' = longer.
feel.kick.holdMs / calm200 / 0.6Kick length, and continuous shake while kicks happen (1 = same, 0.5 = half).
feel.kick.minDb / fullDbnumber-42.0 / -12.0Level of the kick band in what you hear where it starts hitting and where it reaches maximum.
feel.kick.riseDb / fullRiseDbnumber6.0 / 18.0Jump of the kick over the background to count as a hit, and jump for a full-strength hit.
feel.kick.minGapMs / refractoryMsnumber125 / 140Minimum time between kicks, and wait after one so it does not fire twice.

electric ​

OptionTypeDefaultWhat it does
enabledbooleantrueLive. false = infinite power.
batteryAh / alternatorAnumber60.0 / 110.0Stock battery and alternator.
idleDraw / factoryWattsnumber3.0 / 60Amps of the radio with no music, watts of the factory speakers.
efficiency / musicLoadnumber0.75 / 0.2Amplifier efficiency, average share of RMS power that music draws.
drainMultipliernumber1.0Live. Speed of discharge and charge (1 = real, 2 = twice as fast).
wireOhm / batteryOhmnumber0.0025 / 0.004Resistance of wiring and battery (drop = amps × ohms).
restFull / restEmpty / chargingnumber12.7 / 11.6 / 14.2Volts at rest full and empty, and charging.
sagFrom / cutVoltsnumber11.8 / 10.5Volts where the drop is noticed, and where the radio cuts out.
resumeSocnumber0.15Charge needed to power on again with the engine off.
hitVolts / capPerFaradnumber3.0 / 0.3Drop per hit that turns the lights fully off, and share each farad removes.
effectstabledropDb 6, bassDb 8, drive 4, lights 0.75Effects at maximum drop. lights is live.
defaultstableper typeValues for electrical pieces without their own electric field in data/components.lua (an alternator without its own value gives 250 A).
amps.enabledbooleantrueSpeakers need amplifier watts.
amps.builtin / maxDropDb / drive600 / 12.0 / 3.0Watts of the head unit alone, dB lost without amplifier, distortion without amplifier.
fuse.margin / peakShare / tripSec1.2 / 0.5 / 4.0Overload margin, share of peaks counted, seconds of overload until it blows.
fuse.itemstring/false'chipeo_fuse'Item used to reset it; false = free.

medusa ​

OptionTypeDefaultWhat it does
pairRange / controlRangenumber15.0 / 4.0Metres to a car to pair, and metres to a medusa to control it.
maxPerPlayernumber3Medusas out of the inventory per player.
placeRange / pickupRange / targetDistance / panelRangenumber6.0 / 3.0 / 2.5 / 3.0Distances to place, pick up, see target options and show the corner panel.
cursorKeystring'LMENU'Key held to use the panel while walking (left Alt).
cooldownMs / tickMs / nearbyMsnumber800 / 1000 / 5000Gap between actions, cable checks, refresh of nearby cars.
cable.enabledbooleantrueDraw the cable from the medusa to the trunk.
cable.length / reconnectnumber14.0 / 8.0Cable metres, and distance at which it plugs back in.
cable.vehicleBone / rearHeight'boot' / 0.45End point on the car, and fallback height.
cable.slack / taut / rangenumber0.5 / 0.05 / 60.0Slack, minimum slack at full length, draw range.
cable.ropetablebraided blackcustom = true uses the braided texture of the assets; false uses the game rope defaultType.
carrytableRandom knob touches, knob smoothing, blend times, animation range, fallback animation.
putdown / pickuptable1600 msDuration and fallback animation.
pole.maxPerPlayernumber2Tripods per player.
pole.placeRange / moveRange / maxSlopenumber4.0 / 8.0 / 30.0Placement reach, how far a placed tripod can be moved, maximum ground slope.
pole.spotMargin / settleMsnumber1.5 / 10000Metres a moved tripod may end up from the accepted spot (otherwise the server puts it back there), and how long it is checked.
pole.keystableE, Backspace, wheel, arrowsControls while placing.
place.maxDistance / maxSlopenumber3.0 / 35.0Metres from the player to the spot where Place puts the medusa, and maximum surface slope.
place.alignNormalbooleantrueTilts the medusa so it sits on sloped surfaces.
place.fallbackToPedbooleantruetrue = if you do not aim at a valid spot, confirming drops it at your feet.
place.ghostAlpha / badAlphanumber150 / 60Ghost opacity with a valid spot and without one.
place.wheelStep / turnSpeednumber15.0 / 120.0Degrees per wheel step, and degrees per second with the arrows.
place.spotMargin / settleMsnumber1.0 / 8000Metres the medusa may end up from the accepted spot, and how long it is checked.
place.keystableE or click, Backspace or right click, wheel, arrowsControls while placing the medusa.

mounts and anim ​

OptionTypeDefaultWhat it does
mounts.maxPerVehiclenumber24Sound pieces per car. Electrical parts count apart. limits.total in data/vehicles.lua changes it per model.
mounts.maxElectricnumber10Electrical parts per car: amplifiers, batteries, capacitors, fuse blocks and alternator. limits.electric changes it per model.
mounts.specialMaxnumber60Pieces drawn on a car with a Special project, which has no class or total limits.
mounts.internalMsnumber5000Progress bar when installing an internal part (alternator) without the workshop job (0 = no bar).
mounts.limitstablesub 6, mid 6, high 6, tower 2, box 2, gate_wall 1, roof_wall 1, cable 1, amp 4, battery 4, capacitor 2, fuse 4, alternator 1Pieces per class. A model can change any of them in data/vehicles.lua.
mounts.wiring.enabled / rangefalse / 20.0true = visible cables are drawn between electrical pieces · false = never. Draw range.
mounts.wiring.perVehicle / total / slack / radius8 / 24 / 1.08 / 0.008Cable limits, slack and thickness.
mounts.wiring.diffuse / diffuseNeg / normalstringbraided red / blackTextures of the positive and negative cables.
mounts.editRange / renderRangenumber6.0 / 80.0Metres to open the workshop, and draw range of pieces.
mounts.offsetLimit / envelope1.5 / 1.6 × 6.5 × 3.5How far a piece can stick out of the car.
mounts.targetDistance / ghostAlpha2.5 / 150"Sound workshop" target distance, ghost opacity.
mounts.removeReturnstring'owner'Where a removed piece goes: 'owner' = to the owner of the car if nearby and with room, otherwise to whoever removes it · 'remover' = always to whoever removes it.
mounts.removeOwnerRangenumber15.0Metres from the owner to the car for removeReturn = 'owner'.
mounts.openCooldownMsnumber4500Gap between opening and closing a piece without animation length.
mounts.auto.defaultbooleantrueCars start with Automatic on.
mounts.auto.closeDelayMs / pauseCloseMsnumber8000 / 60000Closing delays without music and in pause (0 = pause never closes).
mounts.auto.openMaxSpeed / closeSpeed / speed3.0 / 14.0 / trueSpeed rules in m/s; speed = false = only the music decides.
anim.range / maxAnimatednumber40.0 / 16Cone animation range and pieces animated at once.
anim.smooth / minLevel / fallbackHz / waveHz0.35 / 0.04 / 2.0 / 9.0Hit smoothing, minimum bass level, fallback beat, cone sway.

mechanic and admin ​

OptionTypeDefaultWhat it does
mechanic.enabledbooleantrueRepair of fried equipment.
mechanic.timeMs / rangenumber30000 / 5.0Repair duration and distance.
mechanic.jobstable{ mechanic = true, taller_chipeo = true }Jobs that repair, and that can mount pieces on any car. Add your own mechanic jobs.
mechanic.requirementstable4 materials{ item, amount, label } taken on each repair.
admin.permissionstring'admin'Cuxial Bridge permission for staff commands, the panel and test mode.
admin.nearbyRadiusnumber30.0Radius of /removechipeo.
admin.blockMinutesnumber15Minutes an owner blocked from the panel cannot play music.
admin.logSize / refreshMs / gotoLift50 / 4000 / 1.0Log entries, panel refresh, height when teleporting.
admin.settingstableMinimum, maximum and step of the live number settings.
admin.specialRangenumber8.0Metres to the closest car when a Special project is enabled without a plate.

shop ​

The workshop business: counter, workbenches, bays, office, work orders, invoices and boss menu. How it is used in game: Workshop business.

Sale price, currency, label and installation price of each article, the repair price and the currencies are set by staff in the Staff panel. The values below and in data/shop.lua are the factory values the panel starts from.

OptionTypeDefaultWhat it does
enabledbooleantruefalse = shop, points and workshop off.
job.enabledbooleantruetrue = workshop job with workbenches, orders, invoices and boss · false = counter only, and each player installs their own items.
job.name / label / typestring'taller_chipeo' / workshop name / 'mechanic'Job of the workshop. Cuxial Chipeo does not create it: paste it from install/jobs/ into your framework. Without it the counter keeps working.
job.defaultDuty / offDutyPaybooleanfalse / falseOn duty when connecting (otherwise clock in at the office), and pay while off duty.
job.gradestable3 gradesGrades 0, 1 and 2 with name, payment and isboss. Keep them equal to install/jobs/.
rankstableper gradePer grade: install ('all' or a table of piece types), repair, charge (bill) and boss (boss menu). By default grade 0 installs speakers, boxes and connectors; grades 1 and 2 install everything, repair and bill; only grade 2 opens the boss menu.
bayOnlybooleantruetrue = mechanics only install on other people's cars inside a bay.
bayOverridesOwner / ownerRangetrue / 15.0true = in a bay and on duty the owner does not need to be there · false = the owner must be within ownerRange metres.
installMsnumber6000Progress bar when confirming an installation with the job (0 = no bar).
installGraceMs / installExpireMsnumber800 / 60000Lag tolerance for that bar, and how long it stays valid once finished.
currencystring'bank'Currency (a key of currencies) of an article without its own.
currenciestablecash, bank, coins (VIP)Factory currencies: key, label, account (framework money account) and vip. VIP currencies are consumed and never go to the society.
income.societystring/false'taller_chipeo'Society account that receives counter sales in regular currencies and paid invoices (only with the job). false = nowhere.
prices.installtabledefault 250 + per typeFactory installation price per piece type (sub, mid, tower, gate_wall…).
prices.repairnumber1500Factory price of a repair added to the order.
bench.pickMs / pickExpireMsnumber2500 / 300000Progress bar when picking up a part at the bench, and how long the part stays valid before it is installed.
bench.markRangenumber30.0Metres at which the benches are marked while the mechanic has to go to one.
carry.cancelKeystring'X'Key to drop the part (each player can rebind it).
carry.maxDistance / scanRangenumber40.0 / 6.0Metres from the car at which the part is dropped, and metres at which Install appears on a car.
carry.anim / box / selftableCarry animation, packed box model with its bone and offset, and default bone and offset of a piece carried as itself.
carry.types / components / offsetstableWhat is carried per piece type ('self' or 'box'), exceptions per piece, and optional offsets per type.
cart.maxLines / maxQtynumber20 / 10Lines per purchase and units per line.
points.targetDistance / spawnRange / serverMarginnumber2.0 / 40.0 / 2.5Target distance of each point, distance at which targets are created, and server tolerance.
points.bayRadiusnumber4.0Radius of a new bay.
invoice.range / ownerRangenumber5.0 / 30.0Metres from the mechanic to a chosen customer, and from the owner to the car to bill them directly.
invoice.expireMsnumber90000Time the customer has to pay.
invoice.accountstable{ 'bank', 'cash' }Regular currencies the customer can pay with.
orders.maxLines / keepDaysnumber40 / 90Lines per order, and days paid orders and their invoices are kept.
boss.statsDays / hireRange / recent / rowsnumber14 / 5.0 / 20 / 50Days covered by the charts, metres to hire a nearby player, unpaid invoices listed, and maximum rows in the mechanic and item lists.
log.keepDays / recentnumber30 / 100Days counter sales are kept, and rows staff see in the panel.
removeRangenumber12.0Metres from any workshop point at which the boss can remove pieces outside a bay.
seedbooleantruetrue = create the points of data/shop.lua when there are none.
bliptableenabled, sprite 72, color 1, scale 0.8Map icon over the counter.

Updating from an earlier version: replace the whole shop block with the new one. These options no longer exist: storage, takeMs, ranks[].storage, boss.prices, boss.stock, boss.currency, boss.priceMin, boss.priceMax, invoice.enabled, invoice.max and the old carry.model, bone, pos, rot. mounts.removeReturn = 'stock' now works as 'remover'.

library ​

OptionTypeDefaultWhat it does
autoNextbooleantruetrue = repeat all when a session starts; false = stop at the end of the queue.
fadeSecnumber3Default crossfade (0–8).
normalizebooleantrueEven out the volume of direct songs by default.
normalizeTarget / normalizeMaxDbnumber-14.0 / 6.0Loudness the songs are levelled to (approximate LUFS; lower is softer), and the most dB a song is raised or lowered.
prevRestartSecnumber4After this, "previous" restarts the song.
queueMaxnumber200Songs in the queue.
maxNameLength / maxUrlLengthnumber60 / 500Name and link length.
allowedExtensionstablemp3 wav ogg m4a aac flac opus webmAccepted direct audio files.
allowedHoststablecommon hosting servicesDomains allowed for direct links, subdomains included: Discord, Catbox, Dropbox, GitHub raw and archive.org by default. Empty = any domain. YouTube, SoundCloud and Spotify do not depend on it.
platforms.youtube / soundcloud / spotifybooleantrueLive. Accept links of each platform. Spotify needs the YouTube key.
platformEffectsbooleanfalseLive. Equalizer, bass and 3D on YouTube and SoundCloud for players who enable it.
streamerForcedbooleanfalseLive. Streamer mode for everyone.
streamer.unknownstring'licensed'Without an answer from YouTube: 'licensed' mutes, 'free' plays.
streamer.soundcloud / spotify / directstring'unknown' / 'licensed' / 'free'How each source counts for streamer mode.
streamer.replacementstring/falsefalseDirect link to a free track played instead, or silence.
streamer.cacheSecnumber86400How long the licence of a video is remembered.
playlist.enabledbooleantrueYouTube playlist import (needs the key).
playlist.maxTracks / maxPages / maxDurationSecnumber100 / 6 / 0Songs per import, pages of 50, longest song (0 = no limit).
playlist.dailyUnitsnumber3000YouTube quota units per day for imports (0 = no cap).
playlist.cacheSec / cacheMax / maxConcurrent / holdSec / queueExtraMax600 / 30 / 2 / 300 / 100Cache, imports at once, time to choose queue or USB, songs from outside the USB in a queue.
lists.max / maxSongs / nameLength / historyMaxnumber12 / 200 / 32 / 30Lists per USB, songs per list, name length, recent songs.
waveBarsnumber96Bars of the saved waveform.
resolve.keyConvarstring'chipeo_youtube_key'Convar with the YouTube key.
resolve.timeoutMs / cacheSec / cacheMax / maxInflight6000 / 21600 / 500 / 8Link lookups.
resolve.searchResults / durationSlackSecnumber5 / 12How a Spotify song is matched to a YouTube video.

Data files ​

FileWhat it holds
data/components.luaCatalogue of pieces: item, model, type, mount point, power (RMS and peak), sensitivity and acoustics. Change items or power here.
data/medusas.luaItem → medusa model, size and LED colour, and the tripod item. Add an entry to sell a medusa with another LED colour (red, blue, white).
data/vehicles.luablacklist of models that cannot get a head unit (nor a stock radio), and per model: builtin (factory sound system: counts as a full system without pieces), distance, volume, fire and spark bones, spl (dB of the stock system), openBed (open bed: rear pieces are not muffled as in a trunk), limits (total, electric or any class) and mounts (where each piece appears when placed, by slot or by piece, with bone, offset and rot). The included models are examples.
data/shop.luaFactory catalogue of the counter (item, category, price, and optional currency, label and install) and the points created the first time (shop, bench, bay, boss, placed at the workshop map). Staff edit the articles and the points from the panel.
data/filters.luaAmbient filter profiles (low-pass, high-pass, reverb) and the rules that apply them: interiors, rooms, tunnels, underwater, other car, distance, rain.

Common changes ​

shared/config.lua
lua
install = {
    ownerOnly = true,
    unmountOwnerOnly = true,
    -- ...
},

© Cuxial