Version 1.0.15
1,420 downloads
Are your players tired of waiting for Airdrops? This little plugin makes them appear almost instantly, no cargo plane, no parachutes. Airdrop will spawn wherever the supply signal lands. The delay can be modified in the config file. The default is 5 seconds to allow the supply signal to land and smoke briefly.
Config File
{
"Delay Before Spawn": 5.0,
"Use Permission": false,
"Prevent Deploying Inside (Players will only be able to deploy supply signals outside)": false,
"Skin IDs To Ignore": []
}
if "Use Permission" is set true then permission to be set is
instantairdrop.use
If "Prevent Deploying Inside" the Airdrop will be cancelled, the supply signal will be refunded to the player and a message will inform the player that supply signals can only be deployed outside. This is to prevent instant airdrops spawning inside of bases and is optional.
Developer Integration
1. IsInstantAirdrop(SupplyDrop supplyDrop) - Takes a SupplyDrop object and returns true if it's an instant airdrop
2. IsInstantAirdropByEntity(BaseEntity entity) - Takes any BaseEntity and returns true if it's an instant airdrop
Usage Examples for Other Plugins:
// Check if a supply drop is an instant airdrop
var instantAirdrop = plugins.Find("InstantAirdrop");
if (instantAirdrop != null)
{
bool isInstant = (bool)instantAirdrop.Call("IsInstantAirdrop", supplyDrop);
if (isInstant)
{
// Handle instant airdrop differently
Puts("This is an instant airdrop!");
}
}
// Or using BaseEntity
bool isInstantByEntity = (bool)instantAirdrop.Call("IsInstantAirdropByEntity", entity);
This integration allows other plugins to:
- Prevent their plugin from calling in more airdrops
- Apply different loot rules to instant vs regular airdrops
- Show different notifications for instant airdrops
- Track instant airdrop statistics separately
- Apply special effects only to instant airdrops
- Modify damage/protection rules for instant drops
Tested to work nicely along side other plugins such as:
Heli Signals
Bradley Drops
Fancy Drop
Loot Defender
Signal Cooldown
Helpful Supply
Supply Lock
Vehicle Airdrops (fix coming soon)
Note: The plugin is designed to operate without causing issues when used with these plugins. However, it does not integrate or alter the functionality of these plugins.