Minimal benchmark plugin used by the Pewpew harness. It builds repeatable workloads (villagers, hostiles, villages) and records MSPT/TPS samples.
!!!DO NOT USE IN PRODUCTION SERVER!!!
./gradlew jar -PpewpewApiVersion=1.21.8-R0.1-SNAPSHOT
Copy the jar from build/libs/ into your server plugins/ directory and
start the server once to generate plugins/PewpewBench/config.yml.
mode:singleormultiworldworlds: list of world names in multiworld modeplace-villages: place villages before benchmarkinghostiles-per-player: multiworld hostile count per player slothostile-spawn-radius: multiworld hostile spawn radius around villagespost-village-delay-ticks: delay after placing villages before spawning entitiesteleport-delay-ticks: delay between teleporting players for chunk loading
- In multiworld mode, the plugin writes
plugins/PewpewBench/multiworld-ready.txtafter world setup so bots can join before player distribution. - Runtime stats are logged every ~5 seconds with MSPT, villager, and hostile counts.