Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Kavixsh18

Kvoptimizer helps server developer and owner to monitor the server tps

Report KvOptimizer?

KvOptimizer

Welcome to your new project!

Kvoptimizer helps server developer and owner to monitor the server tps

Feature

Admin management Chunk guard Mob Whitelist Dynamic Distance Auto Clearing Does not disable AI; therefore, villager trading is not affected

10s Rolling Average Spike - Resistant Sampling Samples TPS once per second and averages over 10 seconds by default so a single lag spike never triggers a cleanup.

**5s Advance Notice **- Multi-Channel Warning Players receive a 5-second warning in chat, action bar, and sound, followed by counts of removed mobs, items, and animals.

**30s Cooldown Anti-Loop Protection **- A mandatory 30-second cooldown prevents cleanups from firing back-to-back during sustain

Dynamic View Distance & Chunk Generation Tracker How Kvoptimizer manages per-player distances during lag and identifies heavy world exploration.

Mob AI Repair Use this when another optimizer plugin switched mob AI off and the change stayed in the world after you removed it: mobs stand still and villagers do not restock or take jobs.

/optimizerGeneral Opens the management GUI (in the console it prints the status).

/optimizer statusGeneral Shows average TPS and the current state.

/optimizer reloadGeneral Re-reads config.yml.

/optimizer inspectInspection & Chunks Lists the entities in the chunk you are standing in, with coordinates.

/optimizer inspect top [n]Inspection & Chunks Lists the busiest chunks in your world with coordinates and the most common entity. Click a line to teleport.

/optimizer chunksInspection & Chunks Shows which players are generating the most new chunks.

/optimizer chunks resetInspection & Chunks Clears the chunk generation stats.

/optimizer distanceDistance Shows whether distances are reduced.

/optimizer distance restoreDistance Puts everyone's distances back immediately.

/optimizer whitelist [entity]Whitelist

[code]# Kvoptimizer Configuration (Paper 26.3 / Java 25)

thresholds:
  normal: 19.0          # TPS >= 19.0: normal state, restores distances after 30s
  critical: 16.0        # 16.0-18.9 triggers Tier 1; < 16.0 triggers Tier 2

sample-window-seconds: 10   # Rolling TPS average window (1 sample/sec)
cooldown-seconds: 30        # Minimum seconds between cleanups

worlds: []                  # Empty list = optimize all worlds

tier1:
  enabled: true
  remove-hostile-mobs: true

tier2:
  enabled: true
  remove-hostile-mobs: true
  clear-items: true
  item-min-age-seconds: 30
  cull-animals: true
  max-animals-per-chunk: 20

notification:
  enabled: true
  warning-seconds: 5        # Advance countdown before removal
  action-bar: true
  sound: true
  warning-message: "[Kvoptimizer] Cleanup in {seconds}s..."
  complete-message: "[Kvoptimizer] Removed {mobs} mobs, {items} items, {animals} animals."

whitelist:                  # Extra protected entity types (Villagers & Bosses are always protected)
  - iron_golem

dynamic-distance:
  enabled: true
  tier1-view-distance: 8
  tier2-view-distance: 5
  change-simulation-distance: false  # Left alone by default so farms/villagers keep ticking
  tier1-simulation-distance: 6
  tier2-simulation-distance: 4
  restore-delay-seconds: 30
  reduced-message: "View distance temporarily lowered to {view}."
  restored-message: "View distance restored."

chunk-tracker:
  enabled: true
  alert-chunks-per-minute: 200       # 0 turns off admin alerts

ai-repair:
  auto: false               # Automatically repair mob AI as chunks load
  include-named: false      # Skip named mobs by default

Information

Category
Protection
Published
December 3, 2026
License
Unspecified
0Downloads
1Stars

Pinned Versions

Members

1