Reference¶
Commands, permission nodes and config keys, read straight from the source code. For how and why to use them, see the other pages.
| mod_id | pixelmonraidlegendaryrate |
| Version | 1.4.0 |
| Minecraft / NeoForge | 1.21.1 / 21.1.248 |
| Install | Loads on both sides. See the Overview page for whether clients need it. |
| Git | https://github.com/Pixelrus/pixelmon-raid-legendary-rate |
| Depends on | pixelmon [9.4.2,) (required) |
Commands¶
| Command | Who can use it | Description |
|---|---|---|
/raidlegendaryrate |
op level 2 | |
/raidlegendaryrate reload |
op level 2 | |
/raidlegendaryrate simulate <players> |
op level 2 |
Permission nodes¶
No permission nodes found in source.
Config¶
| File | Key | Default | Notes |
|---|---|---|---|
config/pixelmonraidlegendaryrate-common.toml |
rate.enabled |
true |
Master switch. When false the mod does nothing and Pixelmon's own weights apply unchanged (legendaries ~4-19% of den rolls depending on biome). |
config/pixelmonraidlegendaryrate-common.toml |
rate.legendaryShare |
0.0005 |
Fraction of den rolls that produce a legendary or mythical, applied uniformly in EVERY biome. This is the GLOBAL default; see [rate.perDimension] below, which overrides it, and [rate.playerScaling], w (range 0 to 1) |
config/pixelmonraidlegendaryrate-common.toml |
rate.ultraBeastEnabled |
true |
Whether to control Ultra Beasts as well. Ultra Beasts are a THIRD dex set, disjoint from legendary and mythical, so the legendaryShare knob above does not touch them and never did. All eleven of them |
config/pixelmonraidlegendaryrate-common.toml |
rate.ultraBeastShare |
0.001 |
Fraction of den rolls that produce an Ultra Beast, applied uniformly in EVERY biome. Same units as legendaryShare, and solved at the same time so both land on their target exactly. 0.001 = 0.1% (def (range 0 to 1) |
config/pixelmonraidlegendaryrate-common.toml |
rate.debugLogging |
false |
Log every den roll: biome, entry counts, weight totals and the applied scale. Very chatty on a populated server -- leave off except when verifying a change. |
config/pixelmonraidlegendaryrate-common.toml |
rate.perDimension.overrides |
(computed in source) |
Per-dimension overrides, as " |
config/pixelmonraidlegendaryrate-common.toml |
rate.playerScaling.enabled |
true |
Master switch for population scaling. |
config/pixelmonraidlegendaryrate-common.toml |
rate.playerScaling.scope |
ShareResolver.Scope.SERVER |
Which players to count. SERVER - everyone online (default). What "more players" normally means. DIMENSION - only players in the den's own dimension. More accurate, since rolls in |
config/pixelmonraidlegendaryrate-common.toml |
rate.playerScaling.exponent |
1 |
How hard population bites. 0.0 = off 0.5 = square root; softer, sightings still rise with population 1.0 = fully proportional (default); holds server-wide sightings roughly constant (range 0 to 4) |
config/pixelmonraidlegendaryrate-common.toml |
rate.playerScaling.referencePlayers |
4 |
Population at or below which nothing is scaled. At exactly this many players the configured share applies unchanged; above it the share shrinks. (range 1 to 1000) |
config/pixelmonraidlegendaryrate-common.toml |
rate.playerScaling.minimumShare |
0.00001 |
Population scaling never takes a share below this, so a busy night cannot make legendary raids impossible. Never raises a share above its configured value. (range 0 to 1) |
Files referenced in source: -common.toml