WorldGuard Build #2416

Be aware that this branch (fix/cleanup-cache-allocations) is not the main branch (version/7.0.x)!

Branches other than the main one may be experimental. In addition, you should be using stable releases rather than these test builds.

Go to main branch View stable downloads
ProjectWorldGuard
StatusSUCCESS
Branchfix/cleanup-cache-allocations
Number#2416-abf6def
Date17 hours ago
Artifacts
Changes
IDSummaryCommitterDate
abf6def0
  • Cleanup allocations by session caching code
Maddy Miller17 hours ago
5e8c7634
  • Delegate to WorldEdit's Folia check (#2319)
    • Do not check for PaperMC Folia brand
    • Bump WorldEdit and delegate Folia check
    • Ditch PaperLib check and use direct call
nahuld with iLemon and Claude Opus 5.52 days ago
1dea00d2
  • Ensure straw beds are treated as beds
daniel30322 days ago
cb77add3
  • Protect cushion placement through existing item handling (#2318)
    • Protect cushion placement in claimed regions
    • Use entity placement events for all player-placed entities
    • Minimize the entity placement diff
    • Handle cushions through the existing item placement path
    • Add a cushion material helper matching the boat check
mykhailo alipa12 days ago
9545cce4
  • Back to SNAPSHOT for continued development
Maddy Miller17 days ago
0b6c3f10
  • Release 7.0.20
Maddy Miller17 days ago
3f9b7cf4
  • Add cushions to ENTITY_ITEMS
Maddy Miller17 days ago
fdbdb918
  • Avoid NPE when clearing a region flag (#2307)
    • Fix region flag clear feedback
    • Use unset feedback when state flag parsing returns null
hpnetwork18 days ago
a670fc70
  • Guard Folia creature cause expansion by region ownership (#2312)
baichuan18 days ago
408845ad
  • Add materials map for 26.3 blocks/items
Maddy Miller18 days ago
96d18c4e
  • Fix PlayerBucketEmptyEvent to use correct position check (#2313)
    • Fix PlayerBucketEmptyEvent to use correct position check
    • Considering that cauldrons trigger PlayerBucketEmptyEvent
catteaa18 days ago
a468153c
  • feat. add entity break event handling and update Paper API version to 26.3 (#2315)
    • feat. add entity break event handling and update Paper API version to 26.3
    • improv. add braces to handle Hanging entities
nivcoo19 days ago
4181ebfe
  • Fixed Poplar boats causing an error, and harden against future issues (#2309)
Maddy Millera month ago
a6d64dcc
  • Back to SNAPSHOT for continued development
Maddy Miller2 months ago
f395a167
  • Release 7.0.19
Maddy Miller2 months ago
0aeb9d8d
  • Fix lock flag restoration after session reinitialization (#2304)
brokkonaut2 months ago
7c280a13
  • Cancel blocked natural spawns before the entity is created (#2300)
    • Cancel blocked natural spawns before the entity is created The mob-spawning and deny-spawn checks in WorldGuardEntityListener fire on CreatureSpawnEvent, at the very end of the spawn pipeline. By that point the server has picked a spawn position, run the placement checks, constructed the mob and run finalizeSpawn, and the cancelled mob is thrown away. Since a cancelled spawn never counts toward the mob cap, the natural spawner keeps retrying the same area at full rate, so regions that deny mob spawning become permanent spawn attempt hotspots that pay entity construction over and over for nothing. On Paper servers the same checks can run in PreCreatureSpawnEvent, before the entity exists. Cancelling there also ends the remaining attempts for the chunk in that spawn cycle, so the wasted work is gone almost entirely. Measured on a flat test world with a region denying mob-spawning over the whole spawn range and the mob cap kept empty, the attempt rate around a single player collapsed from roughly 75000 attempts per second to roughly 60 per second, with no entities constructed at all. The new listener mirrors the natural spawn conditions from onCreatureSpawn exactly: activity halt, block-creature-spawn, mob-spawning and deny-spawn region flags, and block-ground-slimes. All other spawn reasons keep going through the existing CreatureSpawnEvent checks unchanged, and the listener is only registered when the Paper event class is present.
    • Move the pre spawn handler into the existing Paper inner listener Review feedback: platform specific code lives in the Paper inner classes of the main listeners, and WorldGuardEntityListener already has one for EntityZapEvent, so the handler moves in there and the separate listener class is gone.
    • Match the HIGH priority of the other protection handlers
    • Extract the shared spawn checks into a method used by both handlers The pre spawn handler duplicated the...
rasmus kjær damgaard3 months ago
c90c4838
  • Add Cause tracking for SulfurCube (#2295)
vladimir turov3 months ago