Pregen settings

Bound generation admission and leave headroom for other server work.

On this page

Control admission

Pregen uses Paper’s existing generation pipeline. These settings control admission, not work already running. They cannot guarantee a TPS floor. Start with defaults and a small radius during a quiet period.

Option reference

All options below belong in nusa-global.yml and require a full restart. Missing keys use defaults. Ranges include both ends unless marked >.

Complete keyType / defaultRange / unitPurpose, effects, and when to change
pre-generation.minimum-tpsnumber181..20 TPSHold new admission below this TPS. Not a guaranteed TPS floor.Applies when: feature-flags.pre-generation
pre-generation.resume-tpsnumber191..20 TPS, ≥ minimum-tpsTPS recovery threshold. Must be at least minimum-tps; a gap avoids rapid throttle oscillation.Applies when: feature-flags.pre-generation
pre-generation.max-average-msptnumber40>0..50 ms, finiteRequire average tick headroom below this work threshold. Running ticks/generation cannot be preempted.Applies when: feature-flags.pre-generation
pre-generation.max-in-flightinteger21..64 requestReserved probe/generation slots, including queued generation. Increase only after observing headroom.Applies when: feature-flags.pre-generation
pre-generation.requests-per-tickinteger11..64 request/tickMaximum newly admitted requests per server tick. Higher rates may increase generation load.Applies when: feature-flags.pre-generation
pre-generation.progress-interval-ticksinteger20020..72000 tickConsole progress interval; 200 is about ten seconds at 20 TPS and takes longer during lag.Applies when: feature-flags.pre-generation
pre-generation.max-radius-chunksinteger2561..2048 chunkCommand radius cap around spawn. The square grows quickly and can consume substantial storage.Applies when: feature-flags.pre-generation
pre-generation.player-buffer-chunksinteger20..32 chunkMargin beyond player render areas to skip. Skipped targets need another run after players move.Applies when: feature-flags.pre-generation

Run and inspect a job

Commands use a radius in chunks, not blocks, and require a loaded world. Progress does not resume automatically after restart. The pregen guide covers status, pause/resume, skipped player areas, and backups.

resume-tps below minimum-tps fails validation. Average MSPT must be positive and at most 50 ms. Change one bound per test rather than increasing every limit during overload.

Loading the index…