Random Spawnpoints

Random Spawnpoints 0.3.5

Added config option to select which topologies to block when generating spawn points (see overview)
GetSpawnPoint only randomly selects a biome it has generated points for
  • Like
Reactions: Kleementin
Fixed incorrect HookMethod attribute method name for GetSpawnPoint method
Added API method GetSpawnPoint with no optional argument because somehow hook calls stopped working in the new version even though its exactly the same as before...
Forgot to disable the disabled field

--------------------------------------------------

Plugin rewrite
Changed generation method
Added some additional config options
Support for excluding point generation in specified zones (Requires ZoneManager v3.0.21 or greater)
Plugin rewrite
Changed generation method
Added some additional config options
Support for excluding point generation in specified zones (Requires ZoneManager v3.0.21 or greater)
Slope limit for spawn points
The config has changed! Delete your old config before updating

Split each biome to require its own minimum amount of online players for a spawn point from that area to be chosen.

** Note ** Having 30 players online doesn't mean all spawns will be from the Arctic biome, it will be random between all biomes that meet the minimum requirement

New Config
C#:
{
  "Biome Options": {
    "Arctic": {
      "Enable spawn points to be generated in this biome": true,
      "Minimum required online players before spawns from this biome will be selected": 30
    },
    "Arid": {
      "Enable spawn points to be generated in this biome": true,
      "Minimum required online players before spawns from this biome will be selected": 10
    },
    "Temperate": {
      "Enable spawn points to be generated in this biome": true,
      "Minimum required online players before spawns from this biome will be selected": 1
    },
    "Tundra": {
      "Enable spawn points to be generated in this biome": true,
      "Minimum required online players before spawns from this biome will be selected": 20
    }
  }
}
Changes to fix rare bug
Fix for Rust update