原创地址Meteor 事件 – 插件 – Codefling
关于 Meteor Event
RUST 插件测试服务器
在那里测试我的插件!
连接 play.thepitereq.ovh:28050
Meteor Event 插件允许您在服务器上创建自定义流星雨事件。
您可以设置触发流星雨的定时事件,其中包含无限可能的实体和激活需要炸药才能摧毁的大石头的选项。
来自 Meteor 的资源可以成倍增加和修改。
此外,您可以使用完全自定义的收集源创建自定义全局事件。
- 设置自定义定时事件。
- 创建无限数量的 Meteor 预设。
- 支持两种类型的流星:需要爆炸物的普通流星和大型流星。
- 配置流星鳞片、产量、爆炸伤害、辐射、物品输出等各个方面。
- 运行自定义事件、按玩家事件和随机玩家事件。
- 流星数量可根据在线玩家数量进行调整。
- 完全自定义任何 RUST 实体和环境事件的掉落物,并选择使用哪些工具来收集流星。
- 玩家可以调用自己的流星雨,您可以配置随机流星来打击玩家,同时摧毁地图周围的常规岩石。
- 具有高度可配置的呼叫命令。
- 可配置的 Discord webhook 淋浴公告
- 可自定义事件的下降角度。
- 设置多个不同的定时事件。
- /ms – 打开 Meteor 事件控制 UI。
- msadmin run <profileName> <amount> – 启动配置文件 <profileName> 的自定义流星雨,其中包含 <amount> 流星。(控制台命令)
- msadmin direct <profileName> [amount] [playerId] – 在 [playerId] 的头顶上生成配置文件 <profileName> 的 [amount] 流星。 (控制台命令)
- msadmin kill – 杀死地图周围的所有流星。 (控制台命令)
- meteorevent.admin – 允许您使用管理功能
- meteorevent.use – 如果需要权限,则允许使用 /ms 命令。 (可配置)
- meteorevent.purchase 中。{profile.键} – 允许购买和调用某些流星事件。(可配置)
配置提示
- 使用的经济插件
0 – 无
1 – 经济学
2 – ServerRewards
3 – BankSystem
4 – ShoppyStock - Explosive Config
关键值 – 伤害实体的简称,它不是物品简称,而是游戏中可见的 3D 模型。对于爆炸性弹药,请使用 ammo.rifle.explosive。
Config 演练
全局 Meteor 配置
部分,适用于任何类型和任何生成的 Meteor。
Meteor 预制件
:这是可以从天而降的可用流星的完整列表。以下是它们的默认列表:
- barrel – Big Barrel Event 预制件。这是一个非常大的桶,具有完全自定义的收集方法,默认包含 2000 个废料和 10,000 个金属。
- falling_star – 有时在天空中运行但从不落到地面上的环境事件。它所做的只是在天空中生成流星,因此您可以在夜间获得很酷的效果。
- metal_ore – 常规金属矿石流星预制件。
- stone_ore – 常规石矿石流星预制件。
- sulfur_ore – 常规硫矿石流星预制件。
- toilet – 在插件开发过程中制作的有趣流星。它还包含一个完全自定义的聚集,其中包含 HQM 和 Metal。
Meteor 配置文件
:这部分配置是当你打开 /ms 命令时可以看到的内容。如果你想制作一个有效的 meteor 事件,你需要在这里添加一个新部分。默认情况下,有 4 个配置文件:
- barrel – 运行包含“barrel”预制件的 Big Barrel Event。
- default – 运行包含 “metal_ore”、“stone_ore” 和 “sulfur_ore” 预制件的常规 Meteor Event。
- falling_stars – 运行包含“falling_star”预制件的 Falling Stars Event。
- toilets – 运行包含“toilet”预制件的 Falling Stars Event。
重要!
‘Meteor Profiles And Spawn Weights (profile: spawn weight)’ 中的键必须等于 ‘Meteor Prefabs’ 部分中的键,否则插件将无法正常工作!
Falling Angle Config 中的 Angle 表示流星下落的速度和方向。X 和 Z 是对角线值,Y 是垂直值。值越高,流星下落得更快,反之亦然。
定时事件
服务器的随机定时事件。你不需要把所有的 Meteor 配置文件都放在这里,只需要把那些你想让它自动化的就行了。
启用随机直接下落的流星采矿时 常规流星 和 随机直接下落的流星选项
此选项意味着如果玩家破坏了地图上的常规流星,将有机会呼叫直接流星对他。默认配置包含对 “default” 流星配置文件的注释,但默认情况下,此事件需要 30 秒,因此流星将在接下来的 30 秒内落下,而不是瞬间落下。
- void OnMeteorShowerStart(int meteorAmount, string profile, bool isDirect, BasePlayer directPlayer) – 当流星事件开始时。
- void OnFallingMeteorSpawned(string meteorPrefabKey, SphereEntity parentEntity, BaseEntity meteorEntity) – 当生成下落的流星时。
- void OnMeteorLanded(BaseEntity meteorEntity, string meteorPrefabKey) – 当流星落在地面上时。
- void OnMeteorsKilled() – 当所有流星都被移除时。
- void OnFallingMeteorsKilled() – 在最后一个仍在下落的流星被销毁时运行。
{
"Commands": [
"ms",
"meteor"
],
"Command Require Permission": false,
"Enable Logs": true,
"Enable Plugin Hooks": false,
"Global Meteor Config": {
"Destroy Meteors Underwater": false,
"Destroy Trees On Impact Radius (0 to disable)": 25.0,
"Max Meteors On Map At One Time": 80,
"Falling Meteor Ground Check Radius (increase might be required if meteors are falling slowly)": 25.0,
"Kill Meteors On Roads": true,
"Kill Meteors On Rail Tracks": true,
"Kill Meteors On Monuments": false,
"Fix For Meteor MeshCollider Message (console spam fix only, might have performance impact if enabled)": false,
"Meteor Spread On Map (higher = smaller impact radius)": 2.5,
"Explosive Ammo Max Shoot Distance": 50.0
},
"Meteor Prefabs": {
"barrel": {
"Meteor Prefab Path": "assets/bundled/prefabs/radtown/loot_barrel_1.prefab",
"Max Meteor Flight Time (0, to not destroy)": 0.0,
"Meteor Lifetime (0, to not destroy)": 1800.0,
"Minimum Scale": 12.0,
"Maximum Scale": 12.0,
"Yield Multiplier": 2.0,
"Scale Yield By Size": true,
"Meteor Radiation Chance (0-100)": 100.0,
"Meteor Radiation Amount": 12.5,
"Scale Radiation With Size": true,
"Run Atmosphere Enter Sound": true,
"Enable Meteor Flame": true,
"Enable Meteor Smoke": true,
"Falling - Randomize Meteor X Rotation": false,
"Falling - Randomize Meteor Y Rotation": true,
"Falling - Randomize Meteor Z Rotation": false,
"Landed - Randomize Meteor X Rotation": false,
"Landed - Randomize Meteor Y Rotation": true,
"Landed - Randomize Meteor Z Rotation": false,
"Landed Entity Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"Required Tool To Destroy - Whitelist (shortnames)": [],
"Required Tool To Destroy - Blacklist (shortnames)": [],
"Fully Custom Gather System Tools": {
"Items Per Meteor": [
{
"Shortname": "scrap",
"Skin ID": 0,
"Amount": 2000,
"Display Name": "",
"Only On Last Hit": false
},
{
"Shortname": "metal.fragments",
"Skin ID": 0,
"Amount": 10000,
"Display Name": "",
"Only On Last Hit": false
}
],
"Fully Custom Gather System Tools (key value is tool shortname)": {
"hammer.salvaged": {
"Require Exact Skin ID": false,
"Tool Skin ID": 0,
"Tool Damage Dealt Percentage": 3.0
}
}
},
"Additional Output Per Hit": [],
"Big Meteor Config": {
"Chance (0-100)": 0.0,
"Minimum Scale": 5.0,
"Maximum Scale": 7.0,
"Output Per Hit": [],
"Call OnDispenserGather hook": true,
"Explosive Config (key value is explosive prefab shortname, see website for more info)": {},
"Crate Inside Chance (0-100)": 0.0,
"Crates Spawned Inside (prefab names: spawn weight)": {}
},
"Marker Config": {
"Marker Type (None/Normal/Explosion)": "Normal",
"Marker Alpha (normal only)": 0.75,
"Marker Color #1 (normal only)": "#E0D5C30",
"Marker Color #2 (normal only)": "#6E665A",
"Marker Radius (normal only)": 0.15,
"Map Marker Text (normal only, disabled if empty)": "Space Barrel"
}
},
"falling_star": {
"Meteor Prefab Path": "assets/bundled/prefabs/modding/cinematic/cinelights/cinelight_point_cool.prefab",
"Max Meteor Flight Time (0, to not destroy)": 1.5,
"Meteor Lifetime (0, to not destroy)": 30.0,
"Minimum Scale": 2.0,
"Maximum Scale": 5.0,
"Yield Multiplier": 2.0,
"Scale Yield By Size": true,
"Meteor Radiation Chance (0-100)": 0.0,
"Meteor Radiation Amount": 0.0,
"Scale Radiation With Size": true,
"Run Atmosphere Enter Sound": false,
"Enable Meteor Flame": false,
"Enable Meteor Smoke": false,
"Falling - Randomize Meteor X Rotation": true,
"Falling - Randomize Meteor Y Rotation": true,
"Falling - Randomize Meteor Z Rotation": true,
"Landed - Randomize Meteor X Rotation": false,
"Landed - Randomize Meteor Y Rotation": true,
"Landed - Randomize Meteor Z Rotation": false,
"Landed Entity Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"Required Tool To Destroy - Whitelist (shortnames)": [],
"Required Tool To Destroy - Blacklist (shortnames)": [],
"Fully Custom Gather System Tools": {
"Items Per Meteor": [],
"Fully Custom Gather System Tools (key value is tool shortname)": {}
},
"Additional Output Per Hit": [],
"Big Meteor Config": {
"Chance (0-100)": 0.0,
"Minimum Scale": 5.0,
"Maximum Scale": 7.0,
"Output Per Hit": [],
"Call OnDispenserGather hook": true,
"Explosive Config (key value is explosive prefab shortname, see website for more info)": {},
"Crate Inside Chance (0-100)": 0.0,
"Crates Spawned Inside (prefab names: spawn weight)": {}
},
"Marker Config": {
"Marker Type (None/Normal/Explosion)": "Explosion",
"Marker Alpha (normal only)": 0.75,
"Marker Color #1 (normal only)": "#E01300",
"Marker Color #2 (normal only)": "#7D0B00",
"Marker Radius (normal only)": 0.4,
"Map Marker Text (normal only, disabled if empty)": ""
}
},
"metal_ore": {
"Meteor Prefab Path": "assets/bundled/prefabs/autospawn/resource/ores/metal-ore.prefab",
"Max Meteor Flight Time (0, to not destroy)": 0.0,
"Meteor Lifetime (0, to not destroy)": 1800.0,
"Minimum Scale": 0.5,
"Maximum Scale": 2.0,
"Yield Multiplier": 2.0,
"Scale Yield By Size": true,
"Meteor Radiation Chance (0-100)": 0.0,
"Meteor Radiation Amount": 0.0,
"Scale Radiation With Size": true,
"Run Atmosphere Enter Sound": true,
"Enable Meteor Flame": true,
"Enable Meteor Smoke": true,
"Falling - Randomize Meteor X Rotation": true,
"Falling - Randomize Meteor Y Rotation": true,
"Falling - Randomize Meteor Z Rotation": true,
"Landed - Randomize Meteor X Rotation": false,
"Landed - Randomize Meteor Y Rotation": true,
"Landed - Randomize Meteor Z Rotation": false,
"Landed Entity Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"Required Tool To Destroy - Whitelist (shortnames)": [],
"Required Tool To Destroy - Blacklist (shortnames)": [
"rock",
"stone.pickaxe"
],
"Fully Custom Gather System Tools": {
"Items Per Meteor": [],
"Fully Custom Gather System Tools (key value is tool shortname)": {}
},
"Additional Output Per Hit": [
{
"Required Gather Per Hit (0 to disable)": 20,
"Shortname": "metal.ore",
"Skin ID": 0,
"Amount": 35,
"Display Name": "",
"Chance (0-100)": 35.0,
"Only On Last Hit": false
},
{
"Required Gather Per Hit (0 to disable)": 20,
"Shortname": "metal.refined",
"Skin ID": 0,
"Amount": 2,
"Display Name": "",
"Chance (0-100)": 2.0,
"Only On Last Hit": false
}
],
"Big Meteor Config": {
"Chance (0-100)": 5.0,
"Minimum Scale": 5.0,
"Maximum Scale": 7.0,
"Output Per Hit": [
{
"Shortname": "metal.ore",
"Skin ID": 0,
"Amount": 900,
"Display Name": "",
"Chance (0-100)": 100.0,
"Only On Last Hit": false
},
{
"Shortname": "hq.metal.ore",
"Skin ID": 0,
"Amount": 20,
"Display Name": "",
"Chance (0-100)": 100.0,
"Only On Last Hit": true
}
],
"Call OnDispenserGather hook": true,
"Explosive Config (key value is explosive prefab shortname, see website for more info)": {
"ammo.rifle.explosive": {
"Damage Dealt": 5.0,
"Resource Multiplier": 0.1
},
"explosive.timed.deployed": {
"Damage Dealt": 50.0,
"Resource Multiplier": 1.0
},
"rocket_basic": {
"Damage Dealt": 35.0,
"Resource Multiplier": 0.7
}
},
"Crate Inside Chance (0-100)": 5.0,
"Crates Spawned Inside (prefab names: spawn weight)": {
"assets/bundled/prefabs/radtown/crate_normal.prefab": 3,
"assets/bundled/prefabs/radtown/crate_normal_2.prefab": 5,
"assets/prefabs/misc/supply drop/supply_drop.prefab": 1
}
},
"Marker Config": {
"Marker Type (None/Normal/Explosion)": "Normal",
"Marker Alpha (normal only)": 0.75,
"Marker Color #1 (normal only)": "#E01300",
"Marker Color #2 (normal only)": "#7D0B00",
"Marker Radius (normal only)": 0.15,
"Map Marker Text (normal only, disabled if empty)": ""
}
},
"stone_ore": {
"Meteor Prefab Path": "assets/bundled/prefabs/autospawn/resource/ores/stone-ore.prefab",
"Max Meteor Flight Time (0, to not destroy)": 0.0,
"Meteor Lifetime (0, to not destroy)": 1800.0,
"Minimum Scale": 0.5,
"Maximum Scale": 2.0,
"Yield Multiplier": 2.0,
"Scale Yield By Size": true,
"Meteor Radiation Chance (0-100)": 0.0,
"Meteor Radiation Amount": 0.0,
"Scale Radiation With Size": true,
"Run Atmosphere Enter Sound": true,
"Enable Meteor Flame": true,
"Enable Meteor Smoke": true,
"Falling - Randomize Meteor X Rotation": true,
"Falling - Randomize Meteor Y Rotation": true,
"Falling - Randomize Meteor Z Rotation": true,
"Landed - Randomize Meteor X Rotation": false,
"Landed - Randomize Meteor Y Rotation": true,
"Landed - Randomize Meteor Z Rotation": false,
"Landed Entity Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"Required Tool To Destroy - Whitelist (shortnames)": [],
"Required Tool To Destroy - Blacklist (shortnames)": [
"rock",
"stone.pickaxe"
],
"Fully Custom Gather System Tools": {
"Items Per Meteor": [],
"Fully Custom Gather System Tools (key value is tool shortname)": {}
},
"Additional Output Per Hit": [
{
"Required Gather Per Hit (0 to disable)": 20,
"Shortname": "stones",
"Skin ID": 0,
"Amount": 50,
"Display Name": "",
"Chance (0-100)": 35.0,
"Only On Last Hit": false
},
{
"Required Gather Per Hit (0 to disable)": 20,
"Shortname": "metal.refined",
"Skin ID": 0,
"Amount": 2,
"Display Name": "",
"Chance (0-100)": 2.0,
"Only On Last Hit": false
}
],
"Big Meteor Config": {
"Chance (0-100)": 5.0,
"Minimum Scale": 5.0,
"Maximum Scale": 7.0,
"Output Per Hit": [
{
"Shortname": "stones",
"Skin ID": 0,
"Amount": 1500,
"Display Name": "",
"Chance (0-100)": 100.0,
"Only On Last Hit": false
}
],
"Call OnDispenserGather hook": true,
"Explosive Config (key value is explosive prefab shortname, see website for more info)": {
"ammo.rifle.explosive": {
"Damage Dealt": 5.0,
"Resource Multiplier": 0.1
},
"explosive.timed.deployed": {
"Damage Dealt": 50.0,
"Resource Multiplier": 1.0
},
"rocket_basic": {
"Damage Dealt": 35.0,
"Resource Multiplier": 0.7
}
},
"Crate Inside Chance (0-100)": 5.0,
"Crates Spawned Inside (prefab names: spawn weight)": {
"assets/bundled/prefabs/radtown/crate_normal.prefab": 3,
"assets/bundled/prefabs/radtown/crate_normal_2.prefab": 5,
"assets/prefabs/misc/supply drop/supply_drop.prefab": 1
}
},
"Marker Config": {
"Marker Type (None/Normal/Explosion)": "Normal",
"Marker Alpha (normal only)": 0.75,
"Marker Color #1 (normal only)": "#E01300",
"Marker Color #2 (normal only)": "#7D0B00",
"Marker Radius (normal only)": 0.15,
"Map Marker Text (normal only, disabled if empty)": ""
}
},
"sulfur_ore": {
"Meteor Prefab Path": "assets/bundled/prefabs/autospawn/resource/ores/sulfur-ore.prefab",
"Max Meteor Flight Time (0, to not destroy)": 0.0,
"Meteor Lifetime (0, to not destroy)": 1800.0,
"Minimum Scale": 0.5,
"Maximum Scale": 2.0,
"Yield Multiplier": 2.0,
"Scale Yield By Size": true,
"Meteor Radiation Chance (0-100)": 0.0,
"Meteor Radiation Amount": 0.0,
"Scale Radiation With Size": true,
"Run Atmosphere Enter Sound": true,
"Enable Meteor Flame": true,
"Enable Meteor Smoke": true,
"Falling - Randomize Meteor X Rotation": true,
"Falling - Randomize Meteor Y Rotation": true,
"Falling - Randomize Meteor Z Rotation": true,
"Landed - Randomize Meteor X Rotation": false,
"Landed - Randomize Meteor Y Rotation": true,
"Landed - Randomize Meteor Z Rotation": false,
"Landed Entity Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"Required Tool To Destroy - Whitelist (shortnames)": [],
"Required Tool To Destroy - Blacklist (shortnames)": [
"rock",
"stone.pickaxe"
],
"Fully Custom Gather System Tools": {
"Items Per Meteor": [],
"Fully Custom Gather System Tools (key value is tool shortname)": {}
},
"Additional Output Per Hit": [
{
"Required Gather Per Hit (0 to disable)": 20,
"Shortname": "sulfur.ore",
"Skin ID": 0,
"Amount": 20,
"Display Name": "",
"Chance (0-100)": 35.0,
"Only On Last Hit": false
},
{
"Required Gather Per Hit (0 to disable)": 20,
"Shortname": "metal.refined",
"Skin ID": 0,
"Amount": 2,
"Display Name": "",
"Chance (0-100)": 2.0,
"Only On Last Hit": false
}
],
"Big Meteor Config": {
"Chance (0-100)": 5.0,
"Minimum Scale": 5.0,
"Maximum Scale": 7.0,
"Output Per Hit": [
{
"Shortname": "sulfur.ore",
"Skin ID": 0,
"Amount": 450,
"Display Name": "",
"Chance (0-100)": 100.0,
"Only On Last Hit": false
}
],
"Call OnDispenserGather hook": true,
"Explosive Config (key value is explosive prefab shortname, see website for more info)": {
"ammo.rifle.explosive": {
"Damage Dealt": 5.0,
"Resource Multiplier": 0.1
},
"explosive.timed.deployed": {
"Damage Dealt": 50.0,
"Resource Multiplier": 1.0
},
"rocket_basic": {
"Damage Dealt": 35.0,
"Resource Multiplier": 0.7
}
},
"Crate Inside Chance (0-100)": 5.0,
"Crates Spawned Inside (prefab names: spawn weight)": {
"assets/bundled/prefabs/radtown/crate_normal.prefab": 3,
"assets/bundled/prefabs/radtown/crate_normal_2.prefab": 5,
"assets/prefabs/misc/supply drop/supply_drop.prefab": 1
}
},
"Marker Config": {
"Marker Type (None/Normal/Explosion)": "Normal",
"Marker Alpha (normal only)": 0.75,
"Marker Color #1 (normal only)": "#E01300",
"Marker Color #2 (normal only)": "#7D0B00",
"Marker Radius (normal only)": 0.15,
"Map Marker Text (normal only, disabled if empty)": ""
}
},
"toilet": {
"Meteor Prefab Path": "assets/bundled/prefabs/static/toilet_b.static.prefab",
"Max Meteor Flight Time (0, to not destroy)": 0.0,
"Meteor Lifetime (0, to not destroy)": 1800.0,
"Minimum Scale": 1.2,
"Maximum Scale": 3.0,
"Yield Multiplier": 2.0,
"Scale Yield By Size": true,
"Meteor Radiation Chance (0-100)": 100.0,
"Meteor Radiation Amount": 12.5,
"Scale Radiation With Size": true,
"Run Atmosphere Enter Sound": true,
"Enable Meteor Flame": true,
"Enable Meteor Smoke": true,
"Falling - Randomize Meteor X Rotation": true,
"Falling - Randomize Meteor Y Rotation": true,
"Falling - Randomize Meteor Z Rotation": true,
"Landed - Randomize Meteor X Rotation": false,
"Landed - Randomize Meteor Y Rotation": true,
"Landed - Randomize Meteor Z Rotation": false,
"Landed Entity Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"Required Tool To Destroy - Whitelist (shortnames)": [],
"Required Tool To Destroy - Blacklist (shortnames)": [],
"Fully Custom Gather System Tools": {
"Items Per Meteor": [
{
"Shortname": "metal.refined",
"Skin ID": 0,
"Amount": 300,
"Display Name": "",
"Only On Last Hit": false
},
{
"Shortname": "metal.fragments",
"Skin ID": 0,
"Amount": 5000,
"Display Name": "",
"Only On Last Hit": false
}
],
"Fully Custom Gather System Tools (key value is tool shortname)": {
"hammer.salvaged": {
"Require Exact Skin ID": false,
"Tool Skin ID": 0,
"Tool Damage Dealt Percentage": 3.0
},
"paddle": {
"Require Exact Skin ID": false,
"Tool Skin ID": 0,
"Tool Damage Dealt Percentage": 2.5
}
}
},
"Additional Output Per Hit": [],
"Big Meteor Config": {
"Chance (0-100)": 5.0,
"Minimum Scale": 5.0,
"Maximum Scale": 7.0,
"Output Per Hit": [
{
"Shortname": "metal.refined",
"Skin ID": 0,
"Amount": 50,
"Display Name": "",
"Chance (0-100)": 100.0,
"Only On Last Hit": false
}
],
"Call OnDispenserGather hook": true,
"Explosive Config (key value is explosive prefab shortname, see website for more info)": {
"ammo.rifle.explosive": {
"Damage Dealt": 5.0,
"Resource Multiplier": 0.1
},
"explosive.timed.deployed": {
"Damage Dealt": 50.0,
"Resource Multiplier": 1.0
},
"rocket_basic": {
"Damage Dealt": 35.0,
"Resource Multiplier": 0.7
}
},
"Crate Inside Chance (0-100)": 0.0,
"Crates Spawned Inside (prefab names: spawn weight)": {}
},
"Marker Config": {
"Marker Type (None/Normal/Explosion)": "Normal",
"Marker Alpha (normal only)": 0.75,
"Marker Color #1 (normal only)": "#E0D5C30",
"Marker Color #2 (normal only)": "#6E665A",
"Marker Radius (normal only)": 0.15,
"Map Marker Text (normal only, disabled if empty)": "Space Toilet"
}
}
},
"Meteor Profiles": {
"barrel": {
"Randomized Impact Radius (if direct meteor)": 10.0,
"Direct Meteor Falling Angle": {
"x": 0.0,
"y": -2.0,
"z": 0.0
},
"Meteor Event Length (in seconds)": 10.0,
"Incoming Shower Sound Effect Prefab (disabled if empty)": "assets/prefabs/tools/pager/effects/beep.prefab",
"Send Message About Meteor Event On Chat": true,
"Spawn Height": 500.0,
"Falling Angle Config": [
{
"Appear Weight": 1,
"Angle": {
"x": 0.0,
"y": -0.6,
"z": 0.0
},
"Falling Radius Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}
],
"Meteor Profiles And Spawn Weights (profile: spawn weight)": {
"barrel": 1
},
"Purchase Config": {
"Allow Purchasing": false,
"Used Economy Plugin (see website for reference)": 0,
"Used Economy Currency (if ShoppyStock used)": "rp",
"Required Permission": true,
"Direct Meteor Shower (on player)": false,
"Allow To Spawn Large Meteors": false,
"Meteors Amount": 10,
"Item Shortname Required To Purchase Meteor Shower (empty if currency)": "scrap",
"Item Skin ID Required To Purchase Meteor Shower (empty if currency)": 0,
"Item/Currency Amount Required To Purchase Meteor Shower": 1000,
"Cooldown After Purchasing Meteor Shower (in seconds)": 3600
}
},
"default": {
"Randomized Impact Radius (if direct meteor)": 10.0,
"Direct Meteor Falling Angle": {
"x": 0.0,
"y": -9.0,
"z": 0.0
},
"Meteor Event Length (in seconds)": 30.0,
"Incoming Shower Sound Effect Prefab (disabled if empty)": "assets/prefabs/tools/pager/effects/beep.prefab",
"Send Message About Meteor Event On Chat": true,
"Spawn Height": 500.0,
"Falling Angle Config": [
{
"Appear Weight": 1,
"Angle": {
"x": 3.5,
"y": -4.6,
"z": 0.0
},
"Falling Radius Offset": {
"x": -300.0,
"y": 0.0,
"z": 0.0
}
},
{
"Appear Weight": 1,
"Angle": {
"x": -3.5,
"y": -4.6,
"z": 1.2
},
"Falling Radius Offset": {
"x": 300.0,
"y": 0.0,
"z": -100.0
}
}
],
"Meteor Profiles And Spawn Weights (profile: spawn weight)": {
"metal_ore": 1,
"stone_ore": 1,
"sulfur_ore": 1
},
"Purchase Config": {
"Allow Purchasing": true,
"Used Economy Plugin (see website for reference)": 0,
"Used Economy Currency (if ShoppyStock used)": "rp",
"Required Permission": true,
"Direct Meteor Shower (on player)": true,
"Allow To Spawn Large Meteors": false,
"Meteors Amount": 3,
"Item Shortname Required To Purchase Meteor Shower (empty if currency)": "scrap",
"Item Skin ID Required To Purchase Meteor Shower (empty if currency)": 0,
"Item/Currency Amount Required To Purchase Meteor Shower": 1000,
"Cooldown After Purchasing Meteor Shower (in seconds)": 3600
}
},
"falling_stars": {
"Randomized Impact Radius (if direct meteor)": 10.0,
"Direct Meteor Falling Angle": {
"x": 0.0,
"y": -9.0,
"z": 0.0
},
"Meteor Event Length (in seconds)": 60.0,
"Incoming Shower Sound Effect Prefab (disabled if empty)": "",
"Send Message About Meteor Event On Chat": false,
"Spawn Height": 500.0,
"Falling Angle Config": [
{
"Appear Weight": 1,
"Angle": {
"x": 45.5,
"y": -4.2,
"z": 12.7
},
"Falling Radius Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
{
"Appear Weight": 1,
"Angle": {
"x": -56.5,
"y": -3.2,
"z": -14.2
},
"Falling Radius Offset": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}
],
"Meteor Profiles And Spawn Weights (profile: spawn weight)": {
"falling_star": 1
},
"Purchase Config": {
"Allow Purchasing": false,
"Used Economy Plugin (see website for reference)": 0,
"Used Economy Currency (if ShoppyStock used)": "rp",
"Required Permission": true,
"Direct Meteor Shower (on player)": false,
"Allow To Spawn Large Meteors": false,
"Meteors Amount": 10,
"Item Shortname Required To Purchase Meteor Shower (empty if currency)": "scrap",
"Item Skin ID Required To Purchase Meteor Shower (empty if currency)": 0,
"Item/Currency Amount Required To Purchase Meteor Shower": 1000,
"Cooldown After Purchasing Meteor Shower (in seconds)": 3600
}
},
"toilets": {
"Randomized Impact Radius (if direct meteor)": 10.0,
"Direct Meteor Falling Angle": {
"x": 0.0,
"y": -9.0,
"z": 0.0
},
"Meteor Event Length (in seconds)": 60.0,
"Incoming Shower Sound Effect Prefab (disabled if empty)": "assets/prefabs/tools/pager/effects/beep.prefab",
"Send Message About Meteor Event On Chat": true,
"Spawn Height": 500.0,
"Falling Angle Config": [
{
"Appear Weight": 1,
"Angle": {
"x": 3.5,
"y": -4.6,
"z": 0.0
},
"Falling Radius Offset": {
"x": -300.0,
"y": 0.0,
"z": 0.0
}
},
{
"Appear Weight": 1,
"Angle": {
"x": -3.5,
"y": -4.6,
"z": 1.2
},
"Falling Radius Offset": {
"x": 300.0,
"y": 0.0,
"z": -100.0
}
}
],
"Meteor Profiles And Spawn Weights (profile: spawn weight)": {
"toilet": 1
},
"Purchase Config": {
"Allow Purchasing": false,
"Used Economy Plugin (see website for reference)": 0,
"Used Economy Currency (if ShoppyStock used)": "rp",
"Required Permission": true,
"Direct Meteor Shower (on player)": false,
"Allow To Spawn Large Meteors": false,
"Meteors Amount": 10,
"Item Shortname Required To Purchase Meteor Shower (empty if currency)": "scrap",
"Item Skin ID Required To Purchase Meteor Shower (empty if currency)": 0,
"Item/Currency Amount Required To Purchase Meteor Shower": 1000,
"Cooldown After Purchasing Meteor Shower (in seconds)": 3600
}
}
},
"Timed Events": {
"default": {
"Event Every X Seconds (minimal time, in seconds)": 1200,
"Event Every X Seconds (maximal time, in seconds)": 2400,
"Used Meteor Config Keys (profile: spawn weight)": {
"default": 10,
"falling_stars": 1
},
"Direct Meteors To Players": false,
"Meteor Amount Based On Player Count": true,
"Meteor Count (if based on player count - per player)": 4.0,
"Max Meteor Count": 40,
"Chance To Start Event (0-100)": 100.0,
"Commands Ran On Start": [],
"Webhook Message": {
"Enabled": false,
"Embed": true,
"Webhook": "",
"Inline": true,
"Color": 0,
"Title": "Meteor Shower",
"Message": "Meteor Shower with {0} meteors is incoming!"
}
},
"toilets": {
"Event Every X Seconds (minimal time, in seconds)": 28800,
"Event Every X Seconds (maximal time, in seconds)": 50400,
"Used Meteor Config Keys (profile: spawn weight)": {
"toilets": 1
},
"Direct Meteors To Players": true,
"Meteor Amount Based On Player Count": false,
"Meteor Count (if based on player count - per player)": 10.0,
"Max Meteor Count": 10,
"Chance To Start Event (0-100)": 5.0,
"Commands Ran On Start": [
"say There is {meteorCount} falling toilets in the sky!"
],
"Webhook Message": {
"Enabled": false,
"Embed": true,
"Webhook": "",
"Inline": true,
"Color": 0,
"Title": "Meteor Shower",
"Message": "Meteor Shower with {0} meteors is incoming!"
}
}
},
"Enable Random Direct Falling Meteors On Mining Regular Ones": true,
"Random Direct Falling Meteor Options": [
{
"Spawn Chance (0-100)": 1.0,
"Meteor Profile Name (not prefab key)": "default",
"Meteor Min Amount": 1,
"Meteor Max Amount": 3,
"Allow To Spawn Large Meteors": false
},
{
"Spawn Chance (0-100)": 0.0,
"Meteor Profile Name (not prefab key)": "toilets",
"Meteor Min Amount": 1,
"Meteor Max Amount": 3,
"Allow To Spawn Large Meteors": false
}
]
}
![图片[11]-流星事件 2.0.10
有动手能力自己下载修复-PCI1](https://codefling.com/uploads/monthly_2023_12/RustClient28_12.202319_55_58_253.jpg.f57726c02a2b5e1c759bc41a76914a81.jpg)
![图片[12]-流星事件 2.0.10
有动手能力自己下载修复-PCI1](https://codefling.com/uploads/monthly_2023_12/RustClient28_12.202319_56_37_301.jpg.c98fd1ecfb20d36b56f99f11f3fa7e31.jpg)
![图片[13]-流星事件 2.0.10
有动手能力自己下载修复-PCI1](https://codefling.com/uploads/monthly_2023_12/RustClient28_12.202319_58_47_373.jpg.f1c3e60379d0674e0d9765fa11ad89f2.jpg)
![图片[14]-流星事件 2.0.10
有动手能力自己下载修复-PCI1](https://codefling.com/uploads/monthly_2023_12/RustClient28_12.202319_59_46_221.jpg.5451b97de6f3d659fb472927082af987.jpg)


























暂无评论内容