Repository navigation
feat: add persistent plugin data and item nbt to the plugin api - #16
Merged
Merged
Conversation
This was referenced Nov 14, 2026
NaySurGithub
force-pushed
the
feat/persistent-data
branch
from
November 14, 2026 20:23
e7e9fd1 to
91d1473
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Batch 4 of the plugin API additions.
Depends on the batch 3 PR (#15); merge that one first. The base branch is the batch 3 branch so the diff only shows this batch.
What it adds
entityData,entitySetData,entityDataCount/Key) and on items (itemData,itemSetData,itemDataCount/Key), saved with them. Keys belong to the calling plugin.itemNbt/itemSetNbtread and replace an item's tag as little-endian NBT;entityNbtreturns what the server would save for an entity (read only).Entity,Item), Java (plugin.data(),Item.nbt(),Entity.nbt()) and Wasm bindings, README section.All functions are appended at the end of
FalconServerApi(API 1.0.6, bumped by batch 1).Not added
Checks
CI of the batch 6 branch (
feat/world), which contains this one: Linux, Windows (MSVC and MinGW), .NET and Java jobs green; the macOS jobs were cancelled by the runner, as onmain.