Перейти к содержимому
Mineforgian

BridgeSPG

Lightweight plugin to update RealisticPlantGrowth's configuration with the current season in RealisticSeasons

Загрузки
125
Подписчики
2
Обновлён
25 апреля 2025 г.
Лицензия
MIT

Опубликован 10 апреля 2025 г.

BridgeSPG

BridgeSPG is a lightweight plugin that, using PlaceholderAPI, changes Realistic Plant Growth's configuration on start-up; based on RealisticSeasons' current season. It only takes effect after a restart, though.

Configuration

Example Config
world: "world"
filepaths:
  growth: "plugins/RealisticPlantGrowth/GrowthModifiers.yml" # Relative to the root directory of the Minecraft server
  test: "plugins/TestPlugin/config.yml" # Example of a second plugin configuration

default:
  growth: "seasons/default.yml" # Relative to the BridgeSPG data folder
  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"

Per season, you can set it to choose between a list of files with "weights"/biases. It only updates the plugin configurations once each season though. These configurations are tied to eachother per set, and not including one will make it go to the global "default"

Dependencies

This plugin only requires PlaceholderAPI and RealisticSeasons to work.

Ченджлог

2.0.0Релиз1.21.3, 1.21.4, 1.21.5 · 25 апреля 2025 г.
  • Renamed season-world to world and last-season to last in config
  • Refactored config system to support multiple files per season, refer to current plugin description
1.1.0Релиз1.21.3, 1.21.4, 1.21.5 · 12 апреля 2025 г.
  • Replaces RealisticPlantGrowth's config with the bridge's specified config file
  • Allows random selection of config file for the season (with bias)

Комментарии

Загружаем…