Installation
Requirements
Required
- ox_lib - UI and utility library (GitHub (opens in a new tab))
Optional (Auto-detected)
- ox_target or qb-target (for NPC/crate interaction)
- QB-Core, QBX-Core, or ESX (for notifications and item checks)
The resource auto-detects your framework and targeting system. It will work standalone if no framework is detected.
Installation Steps
Step 1: Download the Resource
Download legends_airdrop from your Keymaster grants or the store.
Step 2: Extract to Resources
Place the legends_airdrop folder into your server's resources directory.
resources/
└── legends_airdrop/
├── fxmanifest.lua
├── config.lua
├── props_config.lua
├── client/
│ └── main.lua
├── server/
│ ├── main.lua
│ └── utils.lua
├── editable/
│ ├── client.lua
│ ├── server.lua
│ └── framework.lua
└── lang/
├── locale.lua
└── en.jsonStep 3: Add to Server Config
Add the following to your server.cfg:
ensure ox_lib
# Optional: targeting system
ensure ox_target # or qb-target
ensure legends_airdropImportant: ox_lib must start before legends_airdrop.
Step 4: Configure Admin Permissions
To use the /airdrop admin command, add the following ACE permission:
add_ace group.admin command.airdrop allowThis grants the admin group permission to use the airdrop command.
Step 5: Add Required Item (Optional)
If using NPC interaction, add the required item to your inventory system.
For ox_inventory
Add to ox_inventory/data/items.lua:
['usb_airdrop'] = {
label = 'Airdrop USB',
weight = 50,
stack = true,
close = true,
description = 'Contains coordinates for an airdrop location.'
}For qb-core
Add to qb-core/shared/items.lua:
['usb_airdrop'] = {
name = 'usb_airdrop',
label = 'Airdrop USB',
weight = 50,
type = 'item',
image = 'usb_airdrop.png',
unique = false,
useable = false,
shouldClose = true,
description = 'Contains coordinates for an airdrop location.'
}Step 6: Configure (Optional)
Customize settings in config.lua. See the Configuration page for all options.
Step 7: Restart Server
Restart your server or use the refresh and ensure legends_airdrop commands.
Verification
After installation:
- Use
/airdrop 1as admin to spawn a test airdrop - Travel to the location (check your map for the blip)
- Fight the guards and collect the crate
- Verify items are added to your inventory
Admin Commands
| Command | Usage | Description |
|---|---|---|
/airdrop | /airdrop [locationId] | Spawn airdrop at specified location (1-7), or random if not specified |
Admin commands require ACE permission: add_ace group.admin command.airdrop allow
Custom Maps Installation
The resource includes custom map props that spawn at drop locations. These are handled automatically through props_config.lua.
If you need to add custom MLO or map modifications:
- Ensure the MLO/IPL is loaded before the airdrop spawns
- Adjust guard spawn locations in
config.luato match your map
Need help? Join our Discord (opens in a new tab) and open a support ticket!