Language

BridgeSPG

BridgeSPG

Modrinth

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

118 downloads 2 followers updated 14mo ago
latest v2.0.0 Modrinth
Paper 1.21.1 – 1.21.5 Game-mechanics

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.

Versions

Release
2.0.0
paper · 1.21.1, 1.21.2, 1.21.3 · 14mo ago
- 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…
75
Release
1.1.0
paper · 1.21.1, 1.21.2, 1.21.3 · 14mo ago
- Replaces RealisticPlantGrowth's config with the bridge's specified config file - Allows random selection of config file for the season (with bias)
43

Comments 0

No comments yet. Be the first to share your thoughts.

Download BridgeSPG

Files are served directly from the original source. Modgrid does not host or modify them.