Add bounded lightning and explosion instability hazards #69

Closed
opened 2026-10-08 06:09:43 -04:00 by dnorberg · 1 comment
Owner

Port the audited Legacy lightning and explosion providers with explicit server-safety controls.

Acceptance criteria:

  • Schedule hazards deterministically inside the affected Age only, with caps on frequency, radius, entity/block damage, and active events. Never target spawn safety infrastructure or unloaded chunks.
  • Separate visual/audio effects from block destruction, and expose configuration for griefing and player damage; establish safe defaults in the Legacy audit.
  • Respect protection hooks, game rules, dimension unload, and multiplayer isolation. Avoid repeated explosions from one tick or restart replay.
  • Document differences from Legacy and test caps, config disable, reload stability, and absence of effects in other dimensions.

Dependencies: #63 audit and #66 runtime.

Port the audited Legacy lightning and explosion providers with explicit server-safety controls. Acceptance criteria: - Schedule hazards deterministically inside the affected Age only, with caps on frequency, radius, entity/block damage, and active events. Never target spawn safety infrastructure or unloaded chunks. - Separate visual/audio effects from block destruction, and expose configuration for griefing and player damage; establish safe defaults in the Legacy audit. - Respect protection hooks, game rules, dimension unload, and multiplayer isolation. Avoid repeated explosions from one tick or restart replay. - Document differences from Legacy and test caps, config disable, reload stability, and absence of effects in other dimensions. Dependencies: #63 audit and #66 runtime.
dnorberg added this to the Milestone 6 — Instability milestone 2026-10-08 06:09:43 -04:00
Author
Owner

Implemented and released in V0.5.7.1 (commit 33b9bde). Legacy-rate hazard rolls now run independently over nearby loaded chunks, with bounded damage, fire, and griefing policies. Offline build and all 45 active GameTests pass; user confirmed the in-game check passes.

Implemented and released in [V0.5.7.1](https://gitea.tail180fb1.ts.net/dnorberg/rivencraft/releases/tag/V0.5.7.1) (commit 33b9bde). Legacy-rate hazard rolls now run independently over nearby loaded chunks, with bounded damage, fire, and griefing policies. Offline build and all 45 active GameTests pass; user confirmed the in-game check passes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dnorberg/rivencraft#69