BridgeSPG

一个轻量级插件,用于根据RealisticSeasons中的当前季节更新RealisticPlantGrowth的配置。

资源图片
# BridgeSPG BridgeSPG 是一个轻量级插件,它使用 PlaceholderAPI 在启动时更改 [Realistic Plant Growth](https://modrinth.com/plugin/realistic-plant-growth) 的配置;基于 [RealisticSeasons](https://www.spigotmc.org/resources/realisticseasons-1-16-3-1-21-5-seasons-in-your-minecraft-world-with-temperature-and-calendar.93275/) 的当前季节。它仅在重启后生效。 ## 配置
示例配置 ```yaml world: "world" filepaths: growth: "plugins/RealisticPlantGrowth/GrowthModifiers.yml" # 相对于 Minecraft 服务器的根目录 test: "plugins/TestPlugin/config.yml" # 另一个插件配置的例子 default: growth: "seasons/default.yml" # 相对于 BridgeSPG 数据文件夹 test: "seasons/default_test.yml" seasons: Fall: - weight: 1 files: growth: "seasons/fall/default.yml" test: "seasons/fall/test.yml" Winter: - weight: 1 files: growth: "seasons/winter/default.yml" test: "seasons/winter/test.yml" - weight: 1 files: growth: "seasons/winter/cropfailure.yml" test: "seasons/winter/test_failure.yml" Spring: - weight: 1 files: growth: "seasons/fall/default.yml" test: "seasons/spring/test.yml" Summer: - weight: 5 files: growth: "seasons/summer/default.yml" test: "seasons/summer/test.yml" - weight: 4 files: growth: "seasons/summer/heatwave.yml" test: "seasons/summer/test_heatwave.yml" ```
每个季节,您可以设置它在具有“权重”/偏差的文件列表中进行选择。不过,它每个季节只更新一次插件配置。 这些配置是按集合关联的,缺少一个会导致使用全局“default”配置。 ## 依赖 此插件仅需要 [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) 和 [RealisticSeasons](https://www.spigotmc.org/resources/realisticseasons-1-16-3-1-21-5-seasons-in-your-minecraft-world-with-temperature-and-calendar.93275/) 才能工作。