Changelog
All notable changes. Format: Keep a Changelog; versions: semver.
All notable changes. Format: Keep a Changelog; versions: semver.
2.2.0 — 1 Dec 2026
Security
search:startnow sends the target's model hash instead of a kind index. The server works out the kind from its own model lists (Config.Kinds[i].models). A model that is not a configured dumpster or bin is refused and flagged (search_model), and the client can no longer choose the kind.- New
ServerConfig.Guard.newSpotsPerHour(default 60): how many brand-new dumpster spots one character may open per rolling hour. It limits invented dumpsters, which a server cannot see. The cap is keyed by character, so relogging does not reset it. Refused searches are flagged (search_new_spots). - New
ServerConfig.Recycler.cardValue: cash-like finds (for example a scratch card that your lottery script pays out) count toward the hourly cash cap. This covers wallet bonus items too.
Added
Config.Interaction('auto','target'or'prompt') to force the key prompt or the target script.- Complete German, Spanish and French locales. A test checks that every language has every key and keeps every placeholder.
docs/: installation, configuration, exports and hooks, compatibility, troubleshooting.tools/build.ps1: builds the Keymaster-ready zip withtar.exe.- The bridge override files (
client/bridge_ext.lua,server/bridge_ext.lua) are now escrow-ignored.
Changed
- Every function now has a doc comment with its arguments and return values.
Upgrading from 2.1.0
Replace the folder and keep your config. Add newSpotsPerHour = 60 to ServerConfig.Guard and cardValue = {} to ServerConfig.Recycler if you keep your own server/config.lua. Without them the new-spot cap is off, and no item counts as cash.
2.1.0 — 1 Nov 2026
Now shows the shared Cartel homebar: theme switch, your GMS name and portrait. Needs cc_lib 1.7.0+.
2.0.0 — 27 Oct 2026 — first Code Cartel product release
Breaking
ox_libandoxmysqlare no longer hard dependencies;cc_lib(>= 1.3.0) is the only one. Remove@ox_lib/init.luafrom any fork of the manifest.- Default loot, recycler and wallet tables are vanilla/neutral. Item renames from 1.0.x:
md_oldcan->tin_can,md_oldtyre->old_tyre,md_oldcoppercord->copper_cord,sdcard->sd_card,md_piggybank->piggy_bank,md_oldpocketwatch->pocket_watch,cotton->cloth,scratchcard_rogue_riches->scratch_ticket;ls_empty_baggy,mustardandwooddropped. A 1.0.x setup keeps its tables with a preset (Config.Preset). ServerConfig.Logsis now{ username, channels = { economy, finds, security, admin } }(the 1.0.x flat shape is still read). Recycler sales moved fromfindstoeconomy.ServerConfig.Dispatch.titlemoved to the locale (dispatch.title); setting it still overrides.sql/cc_dumpster.sqlis nowsql/install.sql+sql/migrations/.
Added
Config.Features: a switch for every feature (hazards, gloves, careful, areas, dispatch, progression, hide, recycler, shop, wallet, panel, board).Config.Preset+presets/: swap whole economies in one line.- Hooks:
canSearch,filterFinds,afterSearch,canHide,beforeSell,afterSell,beforeBuy,beforeWallet,afterWallet— all narrowing, re-capped by the server. - Exports
getLevel,getStats,isHidden,isSearching,forceOut,countPicked, plusgetVersion/getApi/getHooksthroughCC.api. The 1.0.x exports remain. - Outbound server events
cc_dumpster:server:searchCompleted|junkSold|itemBought|walletOpened|hidden|hiderFound. - Economy log channel: every sale, purchase, wallet and cash find, with inputs and results.
- Boot validation of types, ranges and item names against ox_inventory, qb-core or ESX; a missing config table refuses requests with one clear line instead of erroring.
- Schema version table and numbered migrations applied on start; KVP storage without oxmysql.
- Key-prompt fallback for searching on servers with no target resource.
install/items/for ox_inventory, qb-inventory and ESX;Config.UIaccent theming;de/es/frlocale stubs;tests/config.lua(broken-config boot).
Fixed
- A search started while the database was still migrating could read and write stats from the wrong store.
- Legendary
moneyfinds now pay through the framework account on every framework (was an inventory item, which only worked on ox_inventory).
Origins
1.0.0 and 1.0.1 (24 Oct 2026) were the version built for one city: shared dumpsters, five loot tiers with area modifiers, four hazards, ten scavenger levels, hiding with police checks, the recycler and the lost wallet, on Qbox + ox. 2.0.0 is the same game, made portable.