关于 Meteor Event

  • 2 月 6 日 RUST 更新。抱歉更新晚了!

Discord 横幅

RUST 插件测试服务器
在那里测试我的插件!

连接 play.thepitereq.ovh:28050

 

Meteor Event 插件允许您在服务器上创建自定义流星雨事件。
您可以设置触发流星雨的定时事件,其中包含无限可能的实体和激活需要炸药才能摧毁的大石头的选项。
来自 Meteor 的资源可以成倍增加和修改。
此外,您可以使用完全自定义的收集源创建自定义全局事件。

 

VideoPreview.png.a75629ca464fce5eec6ec09826d02aa5.png

 

PluginFeatures.png.4b564d2776a09794f15261b0111879e8.png

  • 设置自定义定时事件。
  • 创建无限数量的 Meteor 预设。
  • 支持两种类型的流星:需要爆炸物的普通流星和大型流星。
  • 配置流星鳞片、产量、爆炸伤害、辐射、物品输出等各个方面。
  • 运行自定义事件、按玩家事件和随机玩家事件。
  • 流星数量可根据在线玩家数量进行调整。
  • 完全自定义任何 RUST 实体和环境事件的掉落物,并选择使用哪些工具来收集流星。
  • 玩家可以调用自己的流星雨,您可以配置随机流星来打击玩家,同时摧毁地图周围的常规岩石。
  • 具有高度可配置的呼叫命令。
  • 可配置的 Discord webhook 淋浴公告
  • 可自定义事件的下降角度。
  • 设置多个不同的定时事件。

 

Commands.png.f442c17db7e3ae5d2db4368bc4537887.png

  • /ms – 打开 Meteor 事件控制 UI。
  • msadmin run <profileName> <amount> – 启动配置文件 <profileName> 的自定义流星雨,其中包含 <amount> 流星。(控制台命令)
  • msadmin direct <profileName> [amount] [playerId] – 在 [playerId] 的头顶上生成配置文件 <profileName> 的 [amount] 流星。 (控制台命令)
  • msadmin kill – 杀死地图周围的所有流星。 (控制台命令)

 

Permissions.png.a21fea91cbdf5a874198e39d197b2583.png

  • meteorevent.admin – 允许您使用管理功能
  • meteorevent.use – 如果需要权限,则允许使用 /ms 命令。 (可配置)
  • meteorevent.purchase 中。{profile.键} – 允许购买和调用某些流星事件。(可配置)

 

ImportantInfo.png.0913dafe3faebcb099e153fc0122bf80.png

配置提示

  • 使用的经济插件
    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 配置文件和生成权重 (配置文件:生成权重)”中的键必须等于“Meteor Prefabs”部分中的键,否则插件将无法正常工作!
Falling Angle Config 中的 Angle 表示流星下落的速度和方向。X 和 Z 是对角线值,Y 是垂直值。值越高,流星下落得更快,反之亦然。

定时事件
服务器的随机定时事件。你不需要把所有的 Meteor 配置文件都放在这里,只需要把那些你想让它自动化的就行了。

Enable Random Direct Falling Meteors On Mining Regular Ones 和 Random Direct Falling Meteors 选项
此选项意味着如果玩家破坏了地图上的常规流星,将有机会呼叫直接流星对他。默认配置包含对 “default” 流星配置文件的注释,但默认情况下,此事件需要 30 秒,因此流星将在接下来的 30 秒内落下,而不是瞬间落下。

 

DeveloperAPI.png.79c398a38e1c1e8554c84fd5013d685b.png

  • 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() – 在最后一个仍在下落的流星被销毁时运行。

 

DefaultConfig.png.7d7899ef158bc17d7669ba13c9fa7a94.png

{
  "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
    }
  ]
}

默认配置(版本 1.2.12)

{ 
  "命令 - 聊天和控制台命令": "ms", 
  "命令 - 使用的经济插件 (ServerRewards/Economics/ShoppyStock)": "ServerRewards", 
  "命令 - 经济货币(如果使用 ShoppyStock)": "rp", 
  "指挥-允许购买流星雨": false, 
  "指挥-购买流星雨权限":"meteorevent.canshower", 
  "指挥-购买流星雨流星数量":10, 
  "指挥--购买流星雨所需物品/RP": "scrap", 
  "指挥-购买流星雨的数量/价格": 1000, 
  "指挥-购买流星雨后的冷却时间(秒)": 3600,
  “命令-允许购买直接流星雨”: false,
  "指挥-允许在其他玩家处购买直接流星雨": false, 
  "指挥-购买直接流星雨权限": "meteorevent.candirectshower", 
  "指挥-购买直接流星雨所需的物品/RP": "scrap", 
  "指挥-购买直接流星雨的数量/价格”:250,
  “指挥-购买直接流星雨后的冷却时间(秒)”:3600,
  “指挥-购买直接流星雨的流星数量”:1,
  “标记-地图标记类型” (无/正常/爆炸)”:“爆炸”,
  “标记 - 地图标记 Alpha(仅限正常)”:0.75,
  “标记 - 地图标记颜色 #1(仅限正常)”:“#E01300”,
  “标记 - 地图标记颜色 #2(仅限普通)”:“#7D0B00”,
  “标记 - 地图标记半径(仅限正常)”:0.4,
  “标记 - 启用地图标记文本(仅限正常)”:true,
  “标记 - 地图标记文本(仅限正常)”:“流星碎片”,
  “事件计时器 -每 X 秒事件一次(0 表示禁用)”:1800,
  “事件计时器 - 将流星直接投射到玩家”:false,
  “事件计时器 - 基于玩家数量的流星数量”:true,
  “事件计时器 - 流星数量(如果基于玩家)计数 - 每个玩家)”:4.0,
  “事件计时器 - 最大流星计数”:40,
  “事件 - 命令在开始时运行”:[],
  “事件 - Webhook 消息”:{ 
    “启用”: false,
    “Webhook”: "",
    "Inline": true, 
    "Color": 0, 
    "Title": "流星雨",
    "Message": "有{0}颗流星的流星雨来袭!" 
  },
  “直接流星 - 随机撞击半径”:10.0,
  “所有流星 - 距地面最大距离(0 表示禁用)”:5.0,
  “所有流星 - MLRS 作为声音效果”:true,
  “所有流星 - 撞击时摧毁树木": true, 
  "所有流星 - 伤害实体": true, 
  "所有流星 - 仅伤害无主实体": false, 
  "所有流星 - 伤害玩家": true, "所有流星 - 伤害机器人": true, 
  "所有流星 - 伤害机器人": true, 
  "所有流星 - 伤害机器人杀死道路上的流星": false, 
  "所有流星 - 杀死铁轨上的流星": false,
  “所有流星 - 金属矿石几率”:50,
  “所有流星 - 硫磺矿石几率”:50,
  “所有流星 - 流星在地图上传播(较高=较小的影响半径)”:2.5,
  “所有流星 - 启用音效”: true, 
  "所有流星 - 音效预制件": "assets/prefabs/tools/pager/effects/beep.prefab", 
  "普通流星 - 最大比例": 2.0, "普通流星 - 最小比例": 0.5, "
  普通
  流星 - 最小比例": 0.5 - 产量乘数”:2.0,
  “普通流星 - 按大小划分的规模产量”:true,
  “大流星 - 几率(0-100)”:10,
  “大流星 - 规模”:7.0,
  “大流星 - 每次击中的石头产量” “:1000,
  “大流星 - 每次击中的金属产量”:500,
  “大流星 - 每次击中的硫磺产量”:250,
  "大流星 - HQM 每次命中产量": 10, 
  "大流星 - 爆炸配置": { 
    "explosive.timed.deployed": { 
      "伤害处理": 50.0, 
      "资源乘数": 1.0 
    }, 
    "rocket_basic": { 
      "造成伤害": 50.0, 
      "资源倍数": 1.0 
    }, 
    "ammo.rifle.explosive": { 
      "造成伤害": 50.0, 
      "资源倍数": 1.0 
    } 
  }, 
  "普通流星 - 奖励物品": [ 
    { 
      “机会(0-100)”:2.5,
      “简称”:“木炭”,
      "数量": 150, 
      "皮肤 ID": 0, 
      "显示名称": "" 
    },
    { 
      "Chance (0-100)": 2.5, 
      "Shortname": "wood", 
      "Amount": 500, 
      "Skin ID": 0, 
      "Display Name": "" 
    } 
  ], 
  "Big Meteor - Bonus Items" : [ 
    { 
      "机会 (0-100)": 2.5, 
      "简称": "木炭", 
      "数量": 150, 
      "皮肤 ID": 0, 
      "显示名称": "" 
    }, 
    { 
      "机会 (0- 100)": 2.5, 
      "简称": "木材", 
      "数量": 500, 
      "皮肤 ID": 0,
      "显示名称": "" 
    } 
  ], 
  "大流星 - 爆炸弹药 - 允许": true,
  “大流星 - 爆炸弹药 - 与岩石的最大距离”:50.0 


}



   
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。