Skip to content

Configuration

config/pixelmonraidlegendaryrate-common.toml (in config/, not the world's serverconfig/). Apply changes with /raidlegendaryrate reload. Editing the file alone does nothing until reload or restart.

[rate]
    enabled = true
    legendaryShare = 0.0005   # 0.05% of den rolls; GLOBAL default, overridden per dimension below
    ultraBeastEnabled = true  # false restores pre-1.2.0 behaviour (Ultra Beasts ignored)
    ultraBeastShare = 0.001   # same units; solved jointly with legendaryShare
    debugLogging = false
    [rate.perDimension]
        overrides = ["pixelmon:ultra_space=0.0001,0.0002",
                     "minecraft:the_end=0.0003",
                     "minecraft:the_nether=0.0005"]
    [rate.playerScaling]
        enabled = true
        scope = "SERVER"        # or DIMENSION
        exponent = 1.0          # 0 = off, 1 = fully proportional
        referencePlayers = 4    # unscaled at or below this many players
        minimumShare = 0.00001  # scaling never goes below this, and never raises a share
  • Shares are fractions of den rolls: 0.0005 is 0.05%.
  • legendaryShare + ultraBeastShare must stay below 1.0. Reload refuses bad values and changes nothing.
  • A per-dimension line is "<dimension>=<legendaryShare>[,<ultraBeastShare>]". Leaving out the second value (or writing -) uses the global Ultra Beast share; it does not set it to 0. Write the namespace (minecraft:the_end); a bare overworld is expanded for you.
  • Population scaling: effective = share * (referencePlayers / max(referencePlayers, players)) ^ exponent, never below minimumShare and never above the configured share. exponent 1.0 is fully proportional, 0.5 gentler, 0.0 off. scope = DIMENSION counts only players in the den's dimension.
  • ultraBeastEnabled = false leaves Ultra Beasts at Pixelmon's own rate.

The mod does nothing if Pixelmon's raid-have-legendaries is false. Ultra Beasts have their own Pixelmon flag, raid-have-ultra-beasts.