- Fougerite Compatibility
- 1.9.2 or +
- Plugin's Engine
- Jint2 (Jint)
Airdrop To Random Player
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Description
Automatically spawns airdrops near a random player at configurable intervals. Simple, lightweight and fully customizable.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
To change the airdrop interval, simply modify this value (milliseconds):
var AIRDROP_INTERVAL = 7200000;
Default: 2 hours
You can set any custom time by adjusting this number.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Optional Broadcast
You can enable a global message announcing near which player the airdrop spawned.
Just remove the // from this line in the code:
// Server.Broadcast("Airdrop spawned near " + player.Name);
Uncomment it to activate the notification.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Commands
| Command | Description |
|---|---|
| /airdrop | Shows time remaining until the next airdrop |
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
How it works
- Timer runs automatically in loop
- A random player is selected
- Airdrop spawns near that player
- Next airdrop is scheduled automatically
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
- Random player targeting — dynamic drop locations
- Loop system — stable and automatic
- Custom timer — easy configuration
- Optional broadcast — announce drop location
- Lightweight — no performance impact
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Installation
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
- Place the plugin file inside your JsPlugins folder
- rust_server\Save\JsPlugins
- Reload plugins or restart the server
- Done — airdrops will start automatically
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬