Build area enforcement
GDMC-HTTP 1.3.2 has added opt-in support for enforcing the build area. There should be an option in GDPC to make use of this feature.
Enforcing the build area should probably be enabled by default, making this a breaking change.
An addition to the GET /blocks and PUT /blocks endpoints, the withinBuildArea flag will also be added to the following endpoints in the upcoming GDMC-HTTP 1.4 release:
-
GET /biomes -
GET /structure -
POST /structure -
GET /chunks
Very nice! Perhaps there should be two modes in GDPC: "write enforcement", which would block placement outside the buildarea, and "read-write enforcement", which would block reads as well. I suppose there could also be a "read enforcement" for completeness.