Skip to content

feat: added debugScript similar to the Module @minecraft/debug-utilities from the games vanilla API#268

Open
Wendrew597568 wants to merge 5 commits into
SerenityJS:mainfrom
Wendrew597568:main
Open

feat: added debugScript similar to the Module @minecraft/debug-utilities from the games vanilla API#268
Wendrew597568 wants to merge 5 commits into
SerenityJS:mainfrom
Wendrew597568:main

Conversation

@Wendrew597568
Copy link
Copy Markdown

This feature adds a persistent script-debug overlay system for the plugin.

It lets developers create debug shapes (especially text labels) in-game using DebugRenderer, and optionally keep them across plugin reloads.
When persistence is enabled, overlays marked as persistent are saved to a JSON file (database/debug-renderer-persistent.json) on shutdown/reload, then restored automatically on startup/world initialization.
It also handles lifecycle sync (join, world tick, dimension change, unload) so overlays are shown to the right players and cleaned up correctly when needed.

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