Description
# FearX-Moneywash
**A free, persistent money laundering system for FiveM — drop it in, configure your launderettes, done. Compatible with ESX Legacy, QBCore, and QBox out of the box.**
A community-ready laundering script from FearX. Set up dirty-money washing in minutes — point at an interior, drop in a few wash machine coords, and you're live. Every wash is a database row, so timers survive disconnects and server restarts without any state loss.
Designed to do one job well: turn dirty money into clean cash on a real-time timer, with a clean NUI, busy-machine locks, and an atomic payout state machine that doesn't lose money under load.
## Features
- **Persistent Wash Timers** — DB-backed; players can log off, the server can restart, and the wash keeps running
- **Unlimited Wash Machines Per Location** — Add as many machines as you want; each one locks to a single player while in use
- **Mid-Wash Cancel** — Players can cancel and get a proportional clean payout plus the rest as dirty money back
- **Live NUI Preview** — As the player types an amount, the panel recomputes Dirty / Tax / You Receive / Wash Time live
- **Multi-Framework** — ESX Legacy, QBCore, and QBox auto-detected at boot. No bridge dependency
- **Multi-Inventory** — Works with ox_inventory, qb-inventory, qs-inventory, codem-inventory, or ESX legacy via a swappable bridge
- **Interior Teleport Flow** — Optional third-eye outside greeter that teleports the player into a configurable interior
- **Server-Side Validation** — Distance checks, identifier verification, busy-machine locks, restart-lockout gating
- **Discord Webhook Logging** — Deposit, withdraw, cancel, refund, police alert, and suspicious-activity events with per-event toggles
- **Police Alert Hook** — Configurable % chance per deposit fires a dispatch-agnostic server event
- **Auto-Migrating Schema** — The DB table is created and forward-migrated on first start; no manual SQL import needed
- **Locale System** — English filled; Spanish, German, French stubs ready for translation
- **Free Release** — No paywall, no encrypted core, no licensing tied to the resource
## Compatibility
- **Frameworks:** ESX Legacy · QBCore · QBox (auto-detected)
- **Inventories:** ox_inventory · qb-inventory · qs-inventory · codem-inventory · ESX legacy
- **Dependencies:** ox_lib · ox_target · oxmysql
- **Dispatch:** ps-dispatch · qs-dispatch · cd_dispatch · any custom system (hook the event)
- **txAdmin:** scheduled-restart aware out of the box
- **FiveM build:** any recent build with `lua54` support
## Want more?
Browse the rest of the FearX catalog at **[fearx.store](https://fearx.store)** — robberies, dispatch, gang systems, and more.
## Support
- **Discord:** `discord.gg/fearxscripts`
- **Docs:** Installation, configuration, exports, troubleshooting — all in the bundled GitBook docs
---
*Built by FearX. Free release. discord.gg/fearxscripts*