
592
2
Список изменений
Nothing in this release changes how your existing guns behave. Every new option defaults to what Pewpew did before, and the one behaviour that had to change is switched back on automatically for servers upgrading.
Config safety
- Config migrations.
config.ymlnow carries aconfig-version. Pewpew migrates it on startup, keeps a.bakof the previous version next to it, and logs exactly what it changed. - Typos are reported. Unknown fields in an item file used to be ignored in
silence.
spred: 2.0orbulletcount: 8now logs a warning naming the item, the file and the field. The item still loads.
Item files
New advanced: section in config.yml, all options off by default:
extends: <id>copies another item's fields, then applies its own on top. The parent can live in any file initems/, so your own files can build on the bundled weapons, and chains work.abstract: truemakes an entry a template only: never registered, never given, and it needs nonameoritemModel.ammo-statsturns on the ammo stats below.
Shooting
- Spray patterns. Give a gun a fixed
patternof[horizontal, vertical]steps and recoil becomes something players can learn and pull against instead of a dice roll.patternLoopandpatternResetcontrol what happens past the end of the pattern and how long a pause resets it. - Movement accuracy.
spreadModifiersscales spread by what the shooter is doing:sprinting,walking,sneaking,standing, plusmidairandinWateron top. - Bloom.
bloomPerShot,bloomMaxandbloomDecaywiden the cone while you hold the trigger and close it again when you stop. - Ammo stats. Ammo items can carry
damageMultiplier,velocityMultiplierandpenetration(entities a shot passes through). Ammo multiplies the gun's numbers, it never replaces them, sobaseDamageanddamageTypestay in charge. A gun remembers which ammo was loaded into it. damageTypeper gun. Defaults tominecraft:arrowas before. Setminecraft:genericfor damage that ignores armor and Protection, so your configured numbers land exactly.burstDelayis configurable instead of a fixed 2 ticks.- Multiple fire and hit sounds per weapon.
- Decimal fire rates, so a gun can fire faster than once per tick.
Fixed
- Bullet spread was not a cone. It rotated around the world axes, giving a
square spread that shrank as you looked up or down. It is now a true cone of
spreaddegrees in every direction. Upgrading servers keep the old maths viacompatibility.legacy-spread; turn it off and retunespreadwhen you are ready. - Two memory leaks: hit tracking and per-player shooting state grew forever. Quitting now also cancels in-flight reload and autofire tasks.
- The OpenMinetopia hook silently allowed weapon use if its reflection broke. It now logs once and blocks until fixed or disabled.
- Legacy
§colour codes are stripped from messages instead of reaching chat.
Permissions
- All command permissions are declared, with a
pewpew.*parent. pewpew.use.<id>per item, defaulting to allowed. Negate it (-pewpew.use.awm) to stop a group shooting, throwing, or attaching to that item.
Developer API and Skript
- Five new events: kill, reload complete, scope, attachment, and hit block. Scope and attachment are cancellable; the kill event lets you rewrite the death message.
- Skript grows to 11 events, 9 expressions and 6 conditions, including
pewpew ammoandpewpew bloom(both writable),pewpew attachment id,pewpew death message, and conditions likeplayer is scoped inorthe pewpew hit was a headshot. - Skript is documented for the first time, in
assets/docs/skript.md.
Integrations
- OpenMinetopia: blocks weapon use while handcuffed and in configured cities or worlds.
Internal
- JUnit tests (31) covering migrations, spread geometry,
extendsresolution and recoil patterns, plus a GitHub Actions build. -devbuilds publish to the snapshots repository instead of releases.
Файлы
pewpew.jar(521.99 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
26.1.1
Загрузчики
PaperPurpur
Версии игры
1.21–26.2
Загрузок
165
Дата публикации
19.08.2026
