Answers to the usual questions and the fixes for problems that come from installation or configuration.
FAQ
How do I get a YouTube key?
The key is free and optional. Without it, YouTube and SoundCloud play, but YouTube shows no duration when a song is added, Spotify links are rejected and playlists cannot be imported.
- Open the Google Cloud console with a Google account and create a project.
- APIs & Services → Library → search YouTube Data API v3 → Enable.
- APIs & Services → Credentials → Create credentials → API key. Copy it.
- On the key, API restrictions → Restrict key → tick only YouTube Data API v3.
- Recommended: Application restrictions → IP addresses → the public IP of your server.
- Add it to
server.cfgwithset(notsetr) and restart the resource:
set chipeo_youtube_key "YOUR_KEY"The free quota is 10,000 units per day. Adding a YouTube link costs 1 unit; a Spotify link about 101 (search); each page of 50 videos of a playlist import costs 2. Links already read are cached and songs saved on a USB are not looked up again. Imports have their own daily cap in library.playlist.dailyUnits.
Where is the equipment saved?
By plate. The head unit, the pieces, the damage, the USB inserted in the car and the Special project belong to the plate.
- Cars without an owner: with
persist.unowned = 'memory'(default) their equipment only lives while that car exists and does not pass to another car with the same plate; with'sql'it is saved like any other. - Plate change, deletion and transfer: with Cuxial Garages they are handled on their own (the equipment moves to the new plate or is deleted with the car). With another garage script, call
MigratePlate,PurgePlateandVehicleSpawned(Exports & events).
Does it work with other inventories?
The items are written for ox_inventory: they use its item exports and keep the songs of each USB in the item metadata.
Why does YouTube play without equalizer or bass?
YouTube and SoundCloud play inside their official player. Their terms do not allow altering their audio, so by default only volume, distance and cabin apply. To enable effects:
- Staff turn on Platform effects in the Staff panel (or
library.platformEffects = true). - Each player turns on Platform effects in Settings → Just for you.
If a player's game client does not allow it, that source plays without effects for that player and the equalizer shows as locked. For full effects, use direct audio links.
Can I keep only direct links?
Yes. Set library.platforms.youtube, soundcloud and spotify to false, or turn them off live from the panel.
What happens to equalizers saved before version 2.3.0?
Equalizers and presets saved with the old six bands are converted to the ten new bands the first time they are read. Nothing has to be done; the old bands are listed in audio.eqLegacyBands.
Problems
The resource does not start: missing dependency
Cause: a resource of the dependencies list is missing or starts later: ox_lib, oxmysql, cuxial_bridge, cuxial_chipeo_assets or object_gizmo, or OneSync is off.
Fix: install the missing one and follow the start order. cuxial_chipeo_assets must start before cuxial_chipeo.
The tablet does not open or the screen stays empty
Cause: the web/dist folder is incomplete, usually after a partial upload.
Fix: copy the cuxial_chipeo folder again from the package and restart the resource.
Using an item does nothing
Cause: the item is missing its client = { export = 'cuxial_chipeo.<item>' } line (pieces also need consume = 0), the resource folder was renamed, or the item name differs from shared/config.lua.
Fix: copy the entries of install/items.lua again, keep the folder name cuxial_chipeo and check the names in items and data/components.lua.
Pieces, medusas or tripods are invisible
Cause: cuxial_chipeo_assets is not started, or starts after cuxial_chipeo.
Fix: ensure cuxial_chipeo_assets before ensure cuxial_chipeo. Players who joined before the fix must reconnect.
The LEDs and cones do not pulse with the music
Causes and fixes:
- The piece is closed. Deployable pieces only move when open: open them from the Equipment app or turn on Automatic.
- The player is farther than
anim.range(40 m), or more thananim.maxAnimatedpieces are near. Get closer or raise those values. - The song comes from YouTube or SoundCloud without platform effects. There is no real bass level to read, so the cones follow a steady fallback beat (
anim.fallbackHz). Direct links, or platform effects on, give the real beat. - The track is very quiet. Below
anim.minLevelthe cone stays still.
Spotify links or playlist import fail
Cause: no YouTube key, the key is restricted to another API or IP, or the daily quota is spent.
Fix: check set chipeo_youtube_key in server.cfg and the key restrictions. The console warns once with the response code when YouTube refuses the key. The quota resets every day.
A direct link is rejected
Cause: its extension is not in library.allowedExtensions, its domain is not in library.allowedHosts, or it is longer than library.maxUrlLength. The player sees "That site isn't allowed for direct links" when the domain is the reason. allowedHosts comes with common hosting services (Discord, Catbox, Dropbox, GitHub, archive.org) and includes their subdomains. Songs saved on a USB from a domain that is no longer allowed are skipped.
Fix: use a direct link to the audio file from an allowed domain, add your domain to library.allowedHosts, or leave the list empty to accept any domain. YouTube, SoundCloud and Spotify do not depend on this list.
Other players do not hear the music
Causes and fixes:
- They are in another routing bucket. With
buckets.enabled = trueeach player only hears their own bucket;buckets.shareDefault = truemakes bucket 0 heard from all. - Their streamer mode is on and the track has rights.
- They are out of range. The stock radio is heard at
radio.distance; without pieces a car is heard ataudio.defaultDistance; pieces set a larger range up tosound.maxRange. - The emergency is active, or the owner was blocked from the panel.
A public medusa does not let other players add songs
Cause: by design. From a public medusa other players control playback, but adding, removing or importing songs on the USB is kept for the owner of the car, whoever installed the head unit and the players inside the car.
Fix: add the songs from inside the car. Other players can still send a song request.
A big build does not fit: "No more parts fit"
Cause: one of the limits is reached. "maximum number of parts" is mounts.maxPerVehicle (sound pieces), "No more electrical parts fit" is mounts.maxElectric, and "No more parts of this type fit" is the class limit in mounts.limits. A model can have its own values in data/vehicles.lua.
Fix: raise those values, or give that model its own limits in data/vehicles.lua. For a showcase build, staff can enable a Special project on the car.
The radio cuts out or will not play
Cause: the electrical system. With the engine off the battery drains, and below electric.cutVolts the radio cuts out. A blown fuse also cuts the power.
Fix: start the engine, add an AGM battery or a capacitor, reset the fuse from the Equipment app with a chipeo_fuse, or set electric.enabled = false for infinite power.
The head unit cannot be removed
Cause: the car still has pieces mounted, or the player is not the owner or the installer (install.unmountOwnerOnly = true).
Fix: remove every piece in the workshop first.
A car has no radio
Cause: the stock radio is off (radio.enabled = false), the vehicle type is false in radio.types (helicopters, planes, submarines, trailers and trains come that way), or the model is in the blacklist of data/vehicles.lua.
Fix: turn on radio.enabled, set the type to true in radio.types or remove the model from blacklist. If you only want cars with equipment to play music, keep radio.enabled = false and install chipeo_radio.
"A mounted sound system is required (stock radio)" when creating a group or pairing a medusa
Cause: the car only has the stock radio. Groups and medusas need a sound system.
Fix: install chipeo_radio and mount speakers or a sub in the workshop.
"Sound workshop" does not appear on a car
Cause: the option only shows on foot and on cars with a head unit or pieces. Once opened, only the owner, the installer, the jobs in mechanic.jobs, workshop members and staff can mount pieces.
Fix: install the head unit first, or add the job to mechanic.jobs. /tallerchipeo next to the car opens the same workshop.
"Install" does not appear on the car while carrying a part
Causes and fixes:
- The car is farther than
shop.carry.scanRange. Get closer. - A workshop mechanic used the item from the inventory on someone else's car. On customers' cars the part is picked up at a workbench: open the workshop of the car, choose the piece and go to the bench.
- With the workshop job: the mechanic is off duty, the car is not inside a bay (
shop.bayOnly = true) or the grade does not allow that piece type (shop.ranks). - The part picked up at the bench expired after
shop.bench.pickExpireMs. Pick it up again.
The workbench option does not show up
Cause: Pick up (piece) only appears after choosing a piece in the workshop of a customer's car, and only with shop.job.enabled = true.
Fix: go on duty at the office, open the workshop of the car in a bay, choose the piece and then go to the bench. If there are no benches, add them from /chipeoadmin → Workshop → Points.
The invoice does not reach the customer
Causes and fixes:
- The owner is farther than
shop.invoice.ownerRangefrom the car, or the chosen customer is farther thanshop.invoice.rangefrom the mechanic. - The mechanic is off duty, too far from the car, or their grade has no
chargeinshop.ranks. - The order is empty or already has a pending invoice, or the customer already has another invoice open.
- The customer did not answer within
shop.invoice.expireMs. The order stays open and can be billed again.
The money does not reach the society, or the counter says the workshop's account is unavailable
Cause: the society account of shop.income.society does not exist in your banking or society system. The console warns about it on start.
Fix: create the society account of the job (on ESX, install/jobs/esx.sql creates it) and restart. Sales in VIP currencies never go to the society.
The boss cannot fire offline members
Cause: Cuxial Bridge is older than 2.19.1.
Fix: update Cuxial Bridge to 2.19.1 or later.
The owner cannot remove pieces from their car
Cause: with shop.job.enabled = true, only the boss of the workshop (on duty, in a bay or near a workshop point) and staff remove pieces.
Fix: take the car to the workshop, or set shop.job.enabled = false if your server does not use the workshop job.
The medusa cable or the electrical cables look like a plain rope
Cause: another resource also replaces the game rope textures (rope.ytd), and the last one loaded wins.
Fix: keep a single resource that streams rope.ytd, or set medusa.cable.rope.custom = false to use the game rope.
Everyone can install and repair without items
Cause: debug = true.
Fix: set debug = false in shared/config.lua and restart.
"Wait a moment" appears often
Cause: the player hit a request limit of limits.
Fix: only raise the value of that action if legitimate use hits it.
