# Money Laundering

> Instead of traditional "click-and-wait" mechanics, this system ties the cleaning of illegal funds directly to your business's legitimate activity. By "mixing" dirty cash into legal sales, players can grow their criminal empire through their front-facing businesses.

{% hint style="info" %}
The config file for this system can be found in **av\_business/server/editable/\_laundry.lua**
{% endhint %}

<figure><img src="https://1688068901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9bCwnajAqpi3Viykb5Wi%2Fuploads%2FzYV5zwT1yraXVd62BKnp%2F%7BE21420D7-BE3D-4406-A3C0-183120E66ECA%7D.png?alt=media&#x26;token=bf7b618e-ec5b-4ae4-b314-10d8ad3ab575" alt=""><figcaption></figcaption></figure>

#### 1. The Physical Vault

Authorized businesses have a dedicated Vault Stash. Players must physically deposit their illegal items (e.g., `markedbills` or `black_money`) into this stash to begin the process.

> As an admin you need to generate the vault zone first, using the Admin Panel > Create Job Zone > Vault.

#### 2. Mixing

Money is not cleaned instantly. It is "mixed" every time a business activity occurs. Valid activities include:

* Front Desk (Cashiers): Direct sales to customers.
* Deliveries: Missions completed by employees.
* Invoices (Billing): Customer payments (can be toggled per business).
* You can add your own activities by triggering a cleanMoney() export, check the [#server](https://docs.av-scripts.com/laptop-pack-v3/exports#server "mention")

#### 3. The Multiplier Effect

To ensure balance between different types of businesses, the script uses a Laundry Multiplier. This determines how much dirty money is processed per $1 of legal sales.

* *Example:* If UwU Cafe has a 10.0x multiplier, a $100 coffee sale will "mix" and process $1,000 from the dirty stash.

The system is highly configurable. You can set different rules for every business:

* **Custom Fees:** Set a global fee (default: 15%) or specific fees per job (e.g., 10% for high-tier businesses).
* **Activity Control:** Decide exactly which activities wash money for which job. One business might only wash via deliveries, while another has special permission for billing.

#### Anti-Abuse Protections

* **Order Caps:** The `MaxPerOrder` setting prevents "friend-to-friend" abuse by capping how much of a single large sale counts toward the mixing process.
* **"Tsunami" Limits:** Every business has a maximum washing capacity per server restart. Once the cap is reached, no more money can be cleaned until the next restart.

#### Discreet Banking Logs

Cleaned funds are transferred to business accounts with professional, customizable descriptions to avoid suspicion from law enforcement or auditors:

* **"Misc. Store Extras"** by default

#### Business Owner Only

The only allowed person to access the Laundry tab is the Business Owner, no other employees can access the Laundry tab or the Vault zone.
