# Gravity Airdrop
Bring your server to life with supply drops players will actually fight over. A plane flies in, a crate parachutes down, guards defend it, and the best crews walk away with cash, weapons and loot. Everything is controlled from a clean in-game admin panel and a tablet your players can carry.
▶ Watch the trailer: Preview
## What players get
- A plane and parachute crate you can see coming, with smoke, dust and screen shake on landing
- Crates guarded by AI guards
- A skill check to open the crate, and loot split fairly between nearby gang members
- Common, Rare and Legendary drops with their own loot, cash and weapons (weapons can have serials, quality, durability and ammo)
- An airdrop flare: fire it into the sky to call a drop yourself
- A tablet item with:
- a live satellite radar map with planes moving in real time
- a drop list you can filter by phase
- a schedule with countdown rings and a timeline of what is coming
- a loot log with top looters
- an informant that reveals where inbound drops will land (for a price)
## What admins get
- A modern admin control center: live drops, analytics and loot history in one place
- Quick Drop in under a minute: random or specific location, tier, your own cash amount, your own items and your own number of guards
- Saved Events with a step-by-step builder: drop zones (circle or polygon), plane flight path, guards, vehicles and an extraction point
- Saved locations and prize presets you can reuse
- Rules per event: weapon limits, first person only, reduced damage, target or E-key opening
- Streamer mode that hides coordinates and names
- Automatic scheduled drops, with minimum player counts and cooldowns
## Built to be safe
- The server decides everything: unlock timers, attempts, rewards and who can open a crate
- Rewards are written to a journal before they are given, and rolled back if something fails. Stuck payouts are never given twice
- Flares are refunded if a drop fails or a player disconnects
- Recovers by itself when a dependency restarts
## Easy to set up
- One clean `config.lua` with numbered sections and short comments
- Every message players see is in the config, so you can translate it
- Bridges included for Qbox, QBCore, ESX and standalone; inventory options for ox_inventory, qb-inventory, qs-inventory or your own
- Target options: ox_target, qb-target, your own, or none
- Hooks for your dispatch and phone scripts (see INTEGRATIONS.md)
- Database tables are created automatically
## Requirements
- OneSync
- ox_lib
- oxmysql
- A supported framework (Qbox, QBCore, ESX or standalone)
- ox_inventory (required for the flare and for Qbox)
## Installation
1. Put the resource in your resources folder
2. Add the two items from `install/ox_inventory_items.txt` to ox_inventory and copy the two icons from `install/images`
3. Start it after your framework, inventory and target resources
4. Give your admins the permission: `add_ace group.admin gravity.airdrop.admin allow`
5. Edit `config.lua` to match your server
## Commands
- `/airdrop` starts a random drop
- `/startairdrop` starts a drop with status messages
- `/airdropadmin` opens the admin control center
## Good to know
- Protected with Tebex escrow. `config.lua` and the framework bridge files stay open for you to edit
- The tablet and admin panel are built in. A phone app can be connected to your phone script with the included export
- Full documentation is included (README and INTEGRATIONS)
## Support
Questions or ideas? Join our Discord: https://discord.gg/dTAe4w9MsQ