Skip to content

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 pixelmonlegendarytimerpersist
Version 1.0.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-legendary-timer-persist
Depends on pixelmon [9.4.2,) (required)

Commands

Command Who can use it Description
/legendarytimer custom check in source (see the Staff guide)
/legendarytimer status custom check in source (see the Staff guide)
/legendarytimer save custom check in source (see the Staff guide)
/legendarytimer set <spawner> <minutes> custom check in source (see the Staff guide)

Permission nodes

Node Default What it allows
pixelmonlegendarytimerpersist.command ops

Config

File Key Default Notes
config/pixelmonlegendarytimerpersist-common.toml spawners.persistLegendary true Persist the timer for the 'legendary' spawner (PixelmonSpawning.legendarySpawner).
config/pixelmonlegendarytimerpersist-common.toml spawners.persistMegaBoss true Persist the timer for the 'megaboss' spawner (PixelmonSpawning.megaBossSpawner). This is the boss spawner; note Pixelmon calls it 'megaboss', not 'boss'.
config/pixelmonlegendarytimerpersist-common.toml restore.countDowntimeTowardTimer false Should time the server spent OFFLINE count down the timer? false (default): the timer is effectively paused while the server is down. A timer with 5 minutes left still has 5 minutes left after an ho
config/pixelmonlegendarytimerpersist-common.toml restore.maxCarryoverMinutes 720 Corruption guard: a saved remaining-time larger than this (in minutes) is clamped. Only relevant if the saved file is hand-edited or the spawn interval config shrinks a lot. (range 1 to 20160)
config/pixelmonlegendarytimerpersist-common.toml saving.saveIntervalSeconds 30 How often the remaining time is flushed to disk, in seconds. This is the maximum amount of progress a hard crash can lose. The file is two numbers, so a short interval is cheap. A clean shutdown alway (range 5 to 3600)
config/pixelmonlegendarytimerpersist-common.toml saving.debugLogging false Log every snapshot and restore at INFO. Noisy; for verifying a deployment only.

Files referenced in source: pixelmon_spawn_timers.json