Works with
关于 IQDefenderSupply
IQDefenderSupply 是一个用于 RUST 服务器的插件,它添加了新类型的空投。这些空投配备了额外的保护,例如盔甲、无人机*、NPC* 和炮塔,在游戏中提供更复杂和引人入胜的交互!适用于任何类型服务器的绝佳解决方案,无论是自动事件还是预定的手动启动!
该视频展示了启用的 NPC* 和无人机防御*的所有类型的保护。该视频演示了受保护空投的视觉演示、它们的部署以及玩家与受保护空投的交互!
您还可以在 “屏幕截图” 部分查看所有内容。请随意使用社交媒体和频道上的视频链接,作为玩家的更新和插件的演示。
插件安装:
当您下载资源时,您将收到一个包含“plugins”和“data”文件夹的存档。
- 将文件从“data”移动到存档中的确切路径 (oxide/data/IQSystem/IQDefenderSupply)。
- 此文件夹包含预先配置的标准头寸,并将保存您未来的头寸。
- 将 IQDefenderSupply.cs 从 “plugins” 移动到存档中的确切路径 (oxide/plugins)。
功能列表:
空投的保护和防御:

容易: 具有带有嵌入式炮塔的保护墙。无需门禁卡。
中型:具有带格栅的全封闭圆顶,门由门禁卡固定。
该卡可以设置为特定级别或随机分配。保护中不包括炮塔。
困难:具有类似于中级的全封闭圆顶,但包括两个防御炮塔。
NPC 和/或无人机保护:
每个保护级别都可以通过具有各种设置的 NPC* 和无人机*进一步增强。
您可以为每个预设为 NPC* 分配不同的服装和武器,并为无人机*使用自定义预设。
可自定义受保护空投周围的 NPC* 和无人机* 数量。
炮塔保护:
炮塔直接从游戏中使用,并且经过最少的修改,除了某些细节,例如:检测半径、准确性、生命值、武器和弹药。
炮塔的伤害更高,因此玩家可以用任何武器摧毁它们。摧毁的时间和弹药数量取决于炮塔的健康状况!

预设配置:
插件不限于三种保护类型;您可以使用三种保护类型创建无限数量的预设。
您可以在不同的预设中使用任何类型的保护,具有不同的防御设置、战利品掉落等。
战利品配置:
对于每个预设,您都可以在受保护的空投中配置战利品。您可以调整物品、掉落几率及其数量!
同样,您可以配置被杀死的 NPC* 掉落的物品。
该插件具有自己的随机化系统,可确保每次都获得独特且不重复的结果!
自动启动:
您可以使用基于计时器自动启动的插件!
它支持玩家的聊天和 GameTip 通知。
Discord 集成:
该插件包括与 Discord 的集成!
您可以向您的 Discord 聊天发送格式精美的消息,并提供@everyone支持,例如:空投飞机已起飞、飞机已投下货物、受保护的空投已被玩家打开或受保护的空投已被移除。
消息格式很好,并且可以在设置中进行配置。
G-Map 显示:
该插件支持在 G-Map 上显示每个预设,具有可自定义的标记颜色和边框设置。
注意:
无人机* – 需要 IQDronePatrol 插件。
对于无人机作和用无人机保护货物 – 需要一个额外的插件。
NPCs* – 需要 NPCSpawn 插件。
为了用 NPC 保护货物 – 需要一个额外的插件。
控制台和聊天命令列表:
注意:
* 使用需要管理员权限 (ownerID)。
* 用于设置和编辑位置的命令要求管理员在服务器上并在聊天或 F1 控制台中执行命令。
* 标有“*”的项目是必填参数。
* 您可以将预设指定为列表(lite_supply、middle_supply 等), 或者只使用一个。
iqds send.supply NamePos PresetName - send a plane to drop cargo at the specified position.
iqds setup.pos NamePos* PresetName (Example: iqds setup.pos myPosName lite_supply,middle_supply) - set a position linked to a monument.
iqds custom.pos NamePos* PresetName (Example: iqds custom.pos myPosName lite_supply,middle_supply) - set a custom position.
iqds remove.pos NamePos* - remove a position.
iqds edit.pos NamePos* PresetName (Example: iqds edit.pos myPosName lite_supply,middle_supply) - edit the coordinates of an existing monument-linked position.
iqds edit.custom NamePos* (Example: iqds edit.custom myPosName lite_supply,middle_supply) - edit the coordinates of an existing custom position.
iqds info.custom.pos - display all custom positions.
iqds info.monument.pos - display all monument-linked positions.
iqds info.all.pos - display all positions.
API 接口 :
Boolean IsValidTurret(UInt64 ownerID) // Returns true if it is a plugin turret
Boolean IsValidSupplyDrop(UInt64 ownerID) // Returns true if it is a plugin drop
List<String> GetAllPresetsKeys() // Returns a list of all preset keys from the configuration
List<String> GetAllPositionsKeys() // Returns all position keys for drop locations
List<String> GetParentPositionsKeys() // Returns all position keys for drop locations linked to monuments
List<String> GetCustomPositionsKeys() // Returns all position keys for drop locations not linked to monuments
void SendCargo() // Sends protected cargo to a random position with a random key
void SendCargo(String keyPreset) // Sends protected cargo to a random position with the specified preset key
void SendCargo(String keyPreset, String keyPosition) // Sends protected cargo to the specified position key with the specified preset key
配置示例 :
代码:
{
"Auto event settings for protected cargo plane launch": {
"Use automatic launch of planes with protected cargo (true - yes/false - no)": true,
"Preset list settings for automatic launch [Preset] = Chance (From 0 to 100)": {
"lite_supply": 80,
"middle_supply": 45,
"hard_supply": 10
},
"How often the protected drop will be launched automatically (specify the time in seconds)": 3600
},
"Other settings": {
"Time after which protected cargo will be removed after being fully looted": 180,
"When will the protected loot be removed if players do not loot it": 1800,
"Notification settings from the plugin": {
"IQChat: Notification format settings": {
"IQChat : Custom prefix in chat": "<color=#CD412B>[IQDefenderSupply]</color> ",
"IQChat : Custom chat avatar (If required)": "0"
},
"Use GameTip notification for cargo plane takeoff": true,
"Use chat notification for cargo plane takeoff": true,
"Use chat notification for dropped protected cargo": true,
"Use chat notification when player starts looting protected cargo": true
},
"Automatically clear custom drop positions on map change/server wipe (true - yes/false - no)": true,
"Discord notification settings. [MessageType (CargoSpawned - Plane departure, SupplyDropped - Supply drop, SupplyDestroyed - Supply removed, SupplyOpened - Supply opened)] = Setting": {
"CargoSpawned": {
"WebHook (leave empty to not use this type of notification)": "",
"Title": "Cargo plane launched",
"Description": "A plane has launched to your island, carrying a special cargo of scientists with special protection!",
"Color (Embed discord format)": 9824766,
"Footer text": "",
"Author name": "Scientist records intercepted",
"Author avatar (use direct .png link)": "https://i.ibb.co/RjyHCbs/air-plane-New.png",
"Thumbnail avatar (use direct .png link)": "https://i.ibb.co/RjyHCbs/air-plane-New.png",
"Message above embed (e.g., @everyone)": "@everyone"
},
"SupplyDropped": {
"WebHook (leave empty to not use this type of notification)": "",
"Title": "Supply dropped",
"Description": "Protected cargo has been dropped on your island. You can seize it! If you can...",
"Color (Embed discord format)": 9830049,
"Footer text": "",
"Author name": "Scientist records intercepted",
"Author avatar (use direct .png link)": "https://i.ibb.co/GM1hf85/supply.png",
"Thumbnail avatar (use direct .png link)": "https://i.ibb.co/GM1hf85/supply.png",
"Message above embed (e.g., @everyone)": ""
},
"SupplyOpened": {
"WebHook (leave empty to not use this type of notification)": "",
"Title": "Protected cargo opened",
"Description": "Protected cargo has started being looted!",
"Color (Embed discord format)": 16709013,
"Footer text": "",
"Author name": "Scientist records intercepted",
"Author avatar (use direct .png link)": "https://i.ibb.co/GM1hf85/supply.png",
"Thumbnail avatar (use direct .png link)": "https://i.ibb.co/GM1hf85/supply.png",
"Message above embed (e.g., @everyone)": ""
},
"SupplyDestroyed": {
"WebHook (leave empty to not use this type of notification)": "",
"Title": "Protected cargo removed",
"Description": "Protected cargo has been completely looted!",
"Color (Embed discord format)": 16684437,
"Footer text": "",
"Author name": "Scientist records intercepted",
"Author avatar (use direct .png link)": "https://i.ibb.co/GM1hf85/supply.png",
"Thumbnail avatar (use direct .png link)": "https://i.ibb.co/GM1hf85/supply.png",
"Message above embed (e.g., @everyone)": ""
}
}
},
"Protected cargo presets settings": {
"lite_supply": {
"Drop protection settings": {
"Drop protection level: 0 - Easy, 1 - Medium, 2 - Hard": 0,
"Drop protection settings with access card (for defender levels `Medium` and `Hard`)": {
"Use access cards for drop (true - yes/false - no)": false,
"Use random access card for drop": false,
"Required access card: 1 - Green, 2 - Blue, 3 - Red": 0
},
"G-Map marker display settings": {
"Display marker with protected cargo on the map (true - yes/false - no)": false,
"Main marker color": "#738D45",
"Outline marker color": "#C26D33",
"Marker radius on the map": 0.25
},
"Additional settings": {
"IQDronePatrol: Drone protection settings for the drop": {
"Use defender drones in this preset": false,
"Number of drones spawned to protect the drop": {
"Minimum quantity": 3,
"Maximum quantity": 6
},
"Number of drones that can attack one player simultaneously": 2,
"Drone preset settings and selection chance [PresetFromConfig] = Chance": {
"LITE_DRONE": 100
}
},
"NPCSpawn: NPC protection settings for the drop": {
"Use NPCSpawn in this preset": false,
"Number of NPCs to spawn near the drop": {
"Minimum quantity": 6,
"Maximum quantity": 6
},
"Bot settings": {
"Bot health": 150.0,
"Damage multiplier": 1.25,
"Aim cone multiplier": 1.0,
"Running speed": 7.0,
"NPC clothing": [
{
"Shortname": "roadsign.jacket",
"SkinID": 2991830202,
"Mods weapon": []
},
{
"Shortname": "coffeecan.helmet",
"SkinID": 2991835101,
"Mods weapon": []
},
{
"Shortname": "roadsign.kilt",
"SkinID": 2991832819,
"Mods weapon": []
},
{
"Shortname": "hoodie",
"SkinID": 2936196960,
"Mods weapon": []
},
{
"Shortname": "pants",
"SkinID": 2936196259,
"Mods weapon": []
},
{
"Shortname": "shoes.boots",
"SkinID": 2980941295,
"Mods weapon": []
}
],
"NPC weapon variation": [
{
"Shortname": "smg.mp5",
"SkinID": 2873774818,
"Mods weapon": [
"weapon.mod.flashlight"
]
}
],
"Drop loot settings from NPC": {
"Use custom loot list (true - yes/false - no)": true,
"Maximum loot drops": 3,
"List of loot drops": [
{
"Drop chance": 1,
"Shortname": "smg.mp5",
"SkinID": 2873774818,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 52,
"Shortname": "ammo.pistol",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 15,
"Maximum quantity": 60
}
},
{
"Drop chance": 12,
"Shortname": "metalpipe",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 3,
"Maximum quantity": 5
}
},
{
"Drop chance": 10,
"Shortname": "sheetmetal",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 3
}
},
{
"Drop chance": 10,
"Shortname": "metalspring",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 5
}
},
{
"Drop chance": 10,
"Shortname": "sparkplug3",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 20,
"Shortname": "smgbody",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 35,
"Shortname": "syringe.medical",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 3
}
},
{
"Drop chance": 15,
"Shortname": "largemedkit",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 50,
"Shortname": "bandage",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 3
}
},
{
"Drop chance": 8,
"Shortname": "pickaxe",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 5,
"Shortname": "knife.combat",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 20,
"Shortname": "weapon.mod.simplesight",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 15,
"Shortname": "weapon.mod.silencer",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 15,
"Shortname": "roadsign.gloves",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 10,
"Shortname": "roadsign.kilt",
"SkinID": 2991832819,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 20,
"Shortname": "grenade.beancan",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 25,
"Shortname": "grenade.flashbang",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 25,
"Shortname": "grenade.f1",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 30,
"Shortname": "grenade.molotov",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
}
]
}
}
}
}
},
"Turret settings for protected drop": {
"Will loot drop from the turret upon destruction? (true - yes/false - no)": false,
"Turret mode: true - passive / false - active": false,
"Enemy detection radius (according to the standard - 30.0)": 40.0,
"Turret accuracy (aimCone) (default 4)": 4.0,
"Turret health level (default 1000)": 1000,
"Turret weapon configuration": {
"Turret weapon": {
"shortname": "smg.thompson",
"skinID": 0
},
"List of weapon mods in turret": [
{
"shortname": "weapon.mod.silencer",
"skinID": 0
}
],
"List of ammo in turret": [
{
"shortname": "ammo.pistol.fire",
"amount": 150
},
{
"shortname": "ammo.pistol.hv",
"amount": 150
}
]
}
},
"Custom loot settings in drop": {
"Use custom loot list (true - yes/false - no)": true,
"Maximum loot drops": 8,
"List of loot drops": [
{
"Drop chance": 30,
"Shortname": "keycard_green",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 86,
"Shortname": "ammo.pistol",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 25,
"Maximum quantity": 93
}
},
{
"Drop chance": 63,
"Shortname": "ammo.shotgun",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 12,
"Maximum quantity": 42
}
},
{
"Drop chance": 53,
"Shortname": "ammo.rifle",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 25,
"Maximum quantity": 128
}
},
{
"Drop chance": 33,
"Shortname": "metal.refined",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 42,
"Maximum quantity": 100
}
},
{
"Drop chance": 73,
"Shortname": "metal.fragments",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 700,
"Maximum quantity": 3000
}
},
{
"Drop chance": 33,
"Shortname": "scrap",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 169,
"Maximum quantity": 320
}
},
{
"Drop chance": 25,
"Shortname": "hoodie",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 20,
"Shortname": "roadsign.kilt",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 5,
"Shortname": "metal.facemask",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 20,
"Shortname": "pants",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 3,
"Shortname": "metal.plate.torso",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 20,
"Shortname": "coffeecan.helmet",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 21,
"Shortname": "roadsign.jacket",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 20,
"Shortname": "bucket.helmet",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 20,
"Shortname": "jackhammer",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 10,
"Shortname": "explosive.timed",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 8,
"Shortname": "supply.signal",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 4,
"Shortname": "military flamethrower",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 13,
"Shortname": "smg.mp5",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 12,
"Shortname": "pistol.m92",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 2,
"Shortname": "rifle.ak",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 11,
"Shortname": "rifle.m39",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 15,
"Shortname": "pistol.prototype17",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 29,
"Shortname": "grenade.f1",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 3
}
},
{
"Drop chance": 35,
"Shortname": "explosive.satchel",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 2,
"Maximum quantity": 2
}
},
{
"Drop chance": 25,
"Shortname": "smg.thompson",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 25,
"Shortname": "smg.2",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 25,
"Shortname": "rifle.semiauto",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
},
{
"Drop chance": 12,
"Shortname": "shotgun.spas12",
"SkinID": 0,
"Drop quantity setting": {
"Minimum quantity": 1,
"Maximum quantity": 1
}
}
]
}
},
}
}