pack: v0.41.0 — plot config JSON + FTB Chunks integration #82

Merged
Matt merged 1 commits from feature/v0.41.0-plot-config-ftb-integration into main 2026-06-08 17:53:35 +00:00
Owner

Summary

  • Plot definitions move to world/serverconfig/bnstoolkit/plots.json (editable + reloadable)
  • New /bns admin plot subcommands (define, list, remove, reload) + /bns admin spawn-init
  • Spawn (cyan) and Plots (gold) FTB Teams created on init
  • /bns plot buy/release integrated with FTB Chunks claim/unclaim
  • Plot chunks can't be manually unclaimed by players (BEFORE_UNCLAIM guard)
  • KubeJS plots.js retired (.retired suffix in repo)
  • bnstoolkit 0.7.0 → 0.8.0

Workflow after wipe

  1. Wipe + new seed pick
  2. /bns admin spawn-init — creates the two server teams + claims existing plots for the Plots team
  3. Manually claim spawn buildings for the Spawn team via FTB Chunks UI
  4. /bns admin plot define p004 "Smith's Plot" 1500 while standing in chunks → adds new plots dynamically
  5. Player runs /bns plot buy p004 → chunks transfer from Plots team to their personal team
  6. Player can't manually unclaim — they must /bns plot release p004 to sell back

Verified live

  • Done (3.090s) on restart
  • [bns/plots] wrote default plot config, loaded 3 plots, installed FTB Chunks BEFORE_UNCLAIM guard all in boot log
  • bnstoolkit 0.8.0 only present in mods dir

🤖 Generated with Claude Code

## Summary - Plot definitions move to `world/serverconfig/bnstoolkit/plots.json` (editable + reloadable) - New `/bns admin plot` subcommands (define, list, remove, reload) + `/bns admin spawn-init` - Spawn (cyan) and Plots (gold) FTB Teams created on init - `/bns plot buy/release` integrated with FTB Chunks claim/unclaim - Plot chunks can't be manually unclaimed by players (BEFORE_UNCLAIM guard) - KubeJS plots.js retired (.retired suffix in repo) - bnstoolkit 0.7.0 → 0.8.0 ## Workflow after wipe 1. Wipe + new seed pick 2. `/bns admin spawn-init` — creates the two server teams + claims existing plots for the Plots team 3. Manually claim spawn buildings for the Spawn team via FTB Chunks UI 4. `/bns admin plot define p004 "Smith's Plot" 1500` while standing in chunks → adds new plots dynamically 5. Player runs `/bns plot buy p004` → chunks transfer from Plots team to their personal team 6. Player can't manually unclaim — they must `/bns plot release p004` to sell back ## Verified live - `Done (3.090s)` on restart - `[bns/plots] wrote default plot config`, `loaded 3 plots`, `installed FTB Chunks BEFORE_UNCLAIM guard` all in boot log - bnstoolkit 0.8.0 only present in mods dir 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Matt added 1 commit 2026-06-08 17:53:35 +00:00
bnstoolkit 0.7.0 -> 0.8.0.

Plot system migrated from static Java + KubeJS to a runtime
configurable, FTB-Chunks-integrated system.

* Plot definitions now live at world/serverconfig/bnstoolkit/plots.json.
  Default file ships with 3 starter plots; edit + /bns admin plot reload.
* /bns admin plot define <id> <name> <price>: add a plot in-game by
  standing in the chunk. Re-run with same id to add multi-chunk plots.
* /bns admin plot list / remove / reload + /bns admin spawn-init.
* /bns admin spawn-init creates Spawn (cyan #00BFFF) + Plots (gold
  #FFD700) server teams via FTB Teams + claims all defined plots for
  the Plots team. Idempotent.
* /bns plot buy now: pays via combined cash+bank, unclaims chunks
  from Plots team, claims for buyer's personal FTB Teams team.
* /bns plot release: reverse — chunks go back to Plots team, 50% refund.
* Plot chunk guard: ClaimedChunkEvent.BEFORE_UNCLAIM subscriber blocks
  manual unclaim of plot chunks (player gets chat hint redirecting
  to /bns plot release).
* KubeJS plots.js retired (.retired suffix in repo as documentation).

On the map: cyan zones = Spawn team protection (manually claimed),
gold zones = Plots team (for sale), other team colors = owned plots.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Matt merged commit 263b8c59d8 into main 2026-06-08 17:53:35 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minecraft/brass-and-sigil#82