Network and hub settings

Batch limits, numeric caches, movement tiers, locator cadence, and combat priority.

On this page

Consider the client experience

Batching and distant tiers can reduce visible update frequency. Test movement, teleport, combat, tab lists, and packet plugins under real load. Native transport depends on OS/runtime support and Paper policy.

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
hub-networking.shared-cache-entriesinteger81921..65536 entriesShort-lived numeric encode-cache capacity, not a world cache. More entries can use more memory.Applies when: feature-flags.shared-packet-encoding
hub-networking.near-distancenumber8>0..4096 blocks, finite3D near-tier distance. Changed nearby player positions/head rotation can update every tick; far delivery is less frequent.Applies when: feature-flags.tiered-entity-updates
hub-networking.far-intervalinteger41..20 tickFar visible player position/head interval. Increasing it reduces visual smoothness, not simulation rate. Combat priority may bypass it.Applies when: feature-flags.tiered-entity-updates
hub-networking.waypoint-far-intervalinteger11..4 tickOpt-in far-player locator cadence. One retains native refresh. Near, mounted, non-player, and direct API updates stay immediate.Applies when: feature-flags.tiered-entity-updates
hub-networking.snapshot-intervalinteger41..20 tickTier-distance snapshot interval. Stale hints fall back to current distance on main through the tracking pool.Applies when: feature-flags.tiered-entity-updates
hub-networking.max-snapshot-playersinteger10242..2048 playersOptimization snapshot bound. Overflow falls back; it does not set max-players or hide players.Applies when: feature-flags.tiered-entity-updates
hub-networking.tab-window-millisinteger2001..1000 msNumeric tab batching window. Main networking ticks perform flushes, so tick lag can extend actual delay.Applies when: feature-flags.batch-tab-list
hub-networking.max-tab-entriesinteger40961..16384 entriesEntry cap before a tab batch flush. Ordering barriers can flush earlier; not all updates are batched.Applies when: feature-flags.batch-tab-list
combat-priority-override.enabledbooleantruetrue / falseRecent damage pairs bypass far movement throttling and receive every-tick position/rotation updates for the configured window.Applies when: independent override; affects eligible far-throttled damage pairs
combat-priority-override.window-ticksinteger801..1200 tickPriority duration since recent damage; 80 ticks is about four seconds at 20 TPS. Pairs then return to distance tiers.Applies when: independent override; affects eligible far-throttled damage pairs
networking.flush-consolidationbooleantruetrue / falseConsolidate PLAY flushes. False disables the Nusa tuning handler; login/configuration ordering stays native.Applies when: feature-flags.netty-tuning
networking.ip-tosinteger240..255Advisory traffic-class hint. Zero keeps OS policy. OS/network equipment can ignore it; priority is not guaranteed.Applies when: feature-flags.netty-tuning
networking.tcp-fastopenbooleantruetrue / falseTry Fast Open when native listener, kernel policy, and client support it. Does not enable kernel policy itself.Applies when: feature-flags.netty-tuning
networking.tcp-fastopen-backloginteger2561..65535 connectionsListener Fast Open backlog hint. Change only with an understanding of platform policy.Applies when: networking.tcp-fastopen with a supported native transport
networking.chunk-batch-max-packetsinteger321..1024 packetsSerialized packets per connection cohort. Larger values can retain more bytes and increase chunk delivery delay.Applies when: feature-flags.chunk-compression-batching
networking.chunk-batch-max-bytesinteger20971521024..8388608 byteCohort byte cap. Oversized packets bypass batching; not a cap on all outbound memory.Applies when: feature-flags.chunk-compression-batching
networking.chunk-batch-delay-millisinteger10..10 msDrain timer target. Zero means the next event-loop opportunity, not immediate delivery.Applies when: feature-flags.chunk-compression-batching

Legacy aliases and limits

The primary group is combat-priority-override. Legacy hub-networking.combat-priority-override.enabled and .window-ticks remain accepted with the same bounds/defaults. If both forms are explicit, their values must agree. Prefer primary keys for new edits.

Player density and network pressure determine fan-out cost. Cache/pooling flags do not prove acceleration and IP_TOS is not network protection. Read the hub guide before reducing visual update cadence.

Loading the index…