An oil rig is a slow, steady income for a FiveM player. An admin gives someone a rig with the giveoil command (giveoil <player id> <type>), the rig adds money on a timer, and the owner walks to the NPC marked OilRig on the map and presses E to collect what has built up.
Rig types
| Type (example) | Pays | Cap |
|---|---|---|
| standard | 1,000 every 30 minutes | 50,000 |
| premium | 3,000 every 30 minutes | No cap |
Add as many types as you want. Each has its own payout and its own cap, and a cap of -1 means unlimited.
In the config
- How often money is added (every 30 minutes by default)
- Which account it goes to: cash, bank or black money
- Rigs per player: 5 by default, -1 for no limit
- Rigs are saved to the database every 5 minutes
- The command name
Works with ESX 1.1, 1.6 and 1.8, and with QBCore (experimental). Needs mysql-async, or oxmysql in mysql-async compatibility mode. Protected by Cfx asset escrow, with some parts left open; it needs current server artifacts and a valid Cfx license key.