> For the complete documentation index, see [llms.txt](https://docs.tworst.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tworst.com/scripts/scrapyard-job/changelog/v3.0.0.md).

# v3.0.0

{% hint style="info" %}
Version numbers jump to 3.0 so that every Tworst job on tw-lib shares the same major version.
{% endhint %}

## New

* **Runs on tw-lib** (free, required). Framework, inventory, vehicle keys, fuel and clothing are detected automatically; `Config.Framework`, `Config.Inventory` and `Config.SQL` are gone.
* **Settings survive updates.** Every changed value is saved in the database and written back after an update. Your 1.x config, coordinates and texts are imported once on the first start.
* **In-game admin menu** `/twlib`: live lobbies, money paid, players, and job settings.
* **Reward split:** the lobby owner sets each member's share of the money reward.
* **Hooks folder:** your own start/end functions and notifications in `hooks/`, never overwritten by an update.
* **One job at a time** across Tworst jobs, with an offer to leave the other job.
* **Leaderboard** and **hint cards** on the job prompts.
* **Update notice** in the server console.
* **New job menu** on the shared Tworst UI, with the scrapyard colours.
* **Interaction choice once for all jobs** (`Config.InteractionHandler = 'default'`), plus `qb-target` and `auto`.
* **Job uniform** now works with any clothing script, or none: the player's own clothes come back at the end.
* Many more supported inventories, key and fuel scripts (see [Overview](/scripts/scrapyard-job.md#supported-systems-auto-detected-by-tw-lib)).

## Fixed

* The rental deposit is paid back when the job is reset or the renter leaves the crew.
* The NPC rental truck keeps its plate, so key scripts give the right key.
* Scrap sells only next to a sell NPC.
* Crafting: the cost is taken whole or not at all; a reward that does not fit waits; a collected craft is removed from the saved data.
* Level-up keeps the XP above the requirement.
* Bonus tasks need real progress.
* With `finishJobOnReturn = false` the finished tasks still pay the crew.
* The cooldown counts every crew member, not only the owner.
* The job rule (`['job']`) is checked on the server, also when an invite is accepted; the region level is checked on the server.
* Pressed items no longer vanish mid-cycle; moulds no longer come back after collecting; shredder grates come back after a reconnect.
* German, Portuguese and Russian texts were in French.
* Security: many more server-side checks on job actions and rewards.

## Removed

* `config/` and `locales/` folders → now `defaults/`.
* mysql-async / ghmattimysql support → oxmysql only.
* PolyZone requirement.

## Update

Copy the new `tw-scrapyard` over the old folder, install **tw-lib**, add `ensure tw-lib` before the job. See [Installation → Updating from 1.x](/scripts/scrapyard-job/installation.md#updating-from-1-x).
