Repository navigation
Make the workshop into an area without a restart - #152
Merged
Merged
Conversation
/boxadmin areas make copies the land of the workshop, works out how far a box can grow in it and shows the admin the result. When they confirm, the area exists straight away: it is written to areas.yml, given a row, its land and a blueprint bundle, and players can pick it. The workshop closes and its worlds are kept as the area's seed worlds. - TemplateBuilder.buildAsync copies the land a column of chunks at a time so the server keeps running. - AreaManager.put adds an area, or replaces one, while the server runs. - An existing area can have its land replaced, but only while no player has a box in it. Land of the old kind already generated in its row is put right by the box cleaner. - The reachability check moved into AreaCheck so the areas check command and the workshop use the same code. - The console can pick a place with areas spots <number>. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
Base automatically changed from
feature/workshop-spots
to
feature/spot-finder
November 26, 2026 18:35
|
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.



Stacked on #151. This is step 3 of the area workshop.
What it does
/boxadmin areas maketurns the workshop into an area in two parts, so the admin sees what they are about to make:areas.yml, given a row, its land and a blueprint bundle, and players can pick it straight away. The workshop closes and its worlds become the area's seed worlds.An existing area can have its land replaced, but only while no player has a box in it. It keeps its row, structures file and chaining rules. Land of the old kind that was already generated in its row is put right by the box cleaner.
Supporting changes
TemplateBuilder.buildAsync: the non-blocking copy. The blockingbuildis still used at startup.AreaManager.put: adds or replaces an area while the server runs.AreaCheck: the reachability check, moved out of theareas checkcommand so both use it.areas spots <number>.Testing
areas checkgave the same result as before.🤖 Generated with Claude Code
https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git