cc_boards troubleshooting
Start here: the server console line when cc_boards starts, and /boardsadmin status in game.
Start here: the server console line when cc_boards starts, and /boardsadmin status in game.
cc_boards 2.0.0 ready: 6 live board(s), money source: qbServer console errors
Could not find dependency cc_lib / Could not find dependency oxmysql
cc_boards started before them, or they are missing. In server.cfg, put ensure oxmysql and ensure cc_lib above ensure cc_boards.
attempt to index a nil value (global 'MySQL')
oxmysql is not started, or a copy of fxmanifest.lua was edited and @oxmysql/lib/MySQL.lua moved out of server_scripts. Restore the original manifest.
attempt to index a nil value (global 'CC') or field 'hooks'
cc_lib is missing or older than 1.12.0. Update cc_lib and start it before cc_boards.
cc_boards config: ...
One line per mistake in your config, saying what is wrong and what was used instead. A board with a problem is hidden until fixed. Fix the line and restart cc_boards.
cc_boards: cc_raceleague_results unreadable (Table ... doesn't exist)
A racing (or business) board is configured, its resource is started, but its table does not exist yet. Start that resource once so it creates its tables, or remove the board.
cc_boards: score flush failed (...)
The database refused the write (connection lost, disk full, permissions). Scores are kept in memory and retried every minute; fix the database and they are written.
Resource does not start, no error at all
A UTF-8 BOM was added to fxmanifest.lua by an editor. Re-save it as "UTF-8" (without BOM).
In game
/boards does nothing
Config.Commandwas changed or set tofalse.- Another resource registers the same command. Rename ours in
config.lua. - F8 shows
No such export/CCerrors: see the console errors above.
The board is empty
- Money boards fill from payouts made after cc_boards started; old payouts are not read.
- Your job scripts' payout reasons do not match the board. Run
/boardsadmin reasons, add the reasons toServerConfig.Boards, restart. - Not QBCore/Qbox/ESX? The money event does not exist there: use the
AddScoreexport (money source: exports onlyin the start line). - Scores are written once a minute (
Flush.ms) and reads are cached a minute (Cache.ms).
A board I configured is missing from the menu
- It has a
requiresresource that is not started (racing, business). - It failed validation: look for
cc_boards config:in the console.
Transfers / refunds are counting
Add a pattern for their reason to ServerConfig.Never. Anything matching Never counts nowhere.
Nobody got rewards on the 1st
Awards.enabled = false, or the month is beforeAwards.first.- Rewards start at
Awards.houronAwards.day; the check runs every 15 minutes. - Give them by hand:
/boardsadmin award 2027-01(safe to repeat; nobody is rewarded twice).
"That reward has already been asked for"
Each plate/outfit reward can be requested once. Staff see it with /boardsadmin requests.
The plate a winner asked for is refused
It must match ServerConfig.Plate (default 2-8 of A-Z, 0-9 and space).
My HUD does not show titles
cc_boards does not draw titles itself. Read LocalPlayer.state.ccBoardsTitle (or the GetTitle export) in your HUD/nametag script. See EXPORTS.md.
FAQ
Does it reset? No. All-time boards keep growing; monthly boards start fresh each month automatically. Old monthly rows can be pruned with Retention.months.
Can it give money or items as rewards? Not by itself — rewards are cosmetic by design. If you want to, do it in your own script from the afterAward hook, on your own responsibility.
Can players see each other's identifiers? No. The menu receives names and scores only.
Does it slow my server? The client runs no threads. The server adds to an in-memory table per payout and writes once a minute in a single query.