Skip to content

Prism Integration - #61

Draft
noctiro wants to merge 5 commits into
Moulberry:masterfrom
noctiro:feature/prism-integration
Draft

Prism Integration#61
noctiro wants to merge 5 commits into
Moulberry:masterfrom
noctiro:feature/prism-integration

Conversation

@noctiro

@noctiro noctiro commented Apr 15, 2026

Copy link
Copy Markdown

This PR integrates Prism to handle Axiom's complex history logging.

While CoreProtect is suitable for basic block changes, it cannot effectively represent Axiom’s advanced operations (e.g., entity modifications, editor states, and NBT data). Prism’s support for custom action types and specialized rollback/restore handlers allows Axiom to record its full editing surface accurately.

Configuration Changes

+ # Prism logging options
+ prism-logging:
+   # Whether to log Axiom changes with Prism (if Prism is installed)
+   enabled: true
+ 
+   # Fine-grained Prism record toggles
+   records:
+     # Block placement/removal/replacement logging
+     block-changes: true
+ 
+     # Entity creation logging
+     entity-spawns: true
+ 
+     # Entity deletion logging
+     entity-deletes: true
+ 
+     # Entity state/NBT modification logging
+     entity-modifications: true
+ 
+     # Player teleport logging.
+     player-teleports: false
+ 
+     # Player gamemode change logging.
+     player-gamemode-changes: false
+ 
+     # Player fly speed logging.
+     player-fly-speed-changes: false
+ 
+     # Player no-physical-trigger logging.
+     player-no-physical-trigger-changes: false
+ 
+     # World time/daylight-cycle logging
+     world-time-changes: false
+ 
+     # World property logging
+     world-property-changes: false
+ 
+     # Annotation snapshot logging.
+     annotation-snapshots: false

noctiro added 5 commits April 16, 2026 01:20
…cords

Add Prism as an optional logging backend for Axiom and wire Axiom actions into Prism custom actions and rollback handlers.
Align custom actions and modification handlers with Prism 4.4, cover current Axiom mutation paths, use UUID-only player targeting, add localization guidance, and verify serialization compatibility with focused tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant