pack: v0.36.0 — bnstoolkit 0.4.1 (review fixes + hub UI + NPC integration) #74
Reference in New Issue
Block a user
Delete Branch "feature/v0.36.0-bnstoolkit-0.4.1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closing out all 4 review findings in one PR.
Critical fix
Bounty board + plot office were reading NBT keys that don't exist. They showed empty state regardless of reality. Now read the actual KubeJS keys (
bnsBountyPool,bnsBountyActive,bnsBountyCompletedper-player; server-scopebnsPlotsvia KubeJS MinecraftServer mixin reflectively).Hub UI + key rebind
NPC dialogue + scripting integration
/bns open <screen>command with tab-complete (hub|tier|bounty|plot|shop|questlog)CommandExecutor.executePlayerCommand/triggerobjectives all route through the same verbconfig/easy_npc/security.cfgships withexecuteAsUserCommandAllowList.ALL=bnsso dialogue-triggered/bnsactually runsNetwork hardening
kind=8,args=80,which=16)Review-driven nits
ClientBnsState.completedIds→HashSet(O(1) per-frame lookups)BountyBoardScreendead branch removedVerified live
Server restart at 09:26 UTC with
bnstoolkit-0.4.1.jar:Done (3.180s)on port 25565[bnstoolkit] registered /bns open <screen> commandlogged at bootbnstoolkit/net] registered payloads v0.4logged at boot[bns/trades] inner ItemListing ... threwwarnings (down from 100+ in 0.4.0 — the null-entity pre-fetch noise is now silenced)Test plan tomorrow
/bns open shop, click — bazaar opens/bns open hubfrom console — should fail with "must be run as a player"🤖 Generated with Claude Code