[PR #159] [MERGED] SMP 0.30.0: a claim-free zone around 0 0 (claims.free_radius) #160

Closed
opened 2026-11-03 04:03:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon-mods/pull/159
Author: @ludovic111
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: smp/spawn-free-zone


📝 Commits (1)

  • beed379 SMP 0.30.0: a claim-free zone around 0 0 (claims.free_radius)

📊 Changes

6 files changed (+110 additions, -8 deletions)

View changed files

📝 native/smp/Cargo.lock (+1 -1)
📝 native/smp/Cargo.toml (+1 -1)
📝 native/smp/README.md (+2 -1)
📝 native/smp/mixins/smp/glue.rs (+9 -4)
📝 native/smp/mixins/smp/horizon-mixin.toml (+1 -1)
📝 native/smp/mixins/smp/smp_claims.rs (+96 -0)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

rdbt (official server op) asked for the land within about 500 blocks of 0 0 to be free for all: no claims there, and the existing ones removed; Ludovic forwarded it.

  • claims.free_radius (blocks, overworld, default 0 = off): /claim refuses any chunk that touches the square |x|, |z| ≤ radius ("No claims within 500 blocks of 0 0: that land is free for all."). Other dimensions are unchanged.
  • At start, claims inside the zone are dropped and each is logged ([smp] chunk … of <uuid> is in the free zone: unclaimed), so the owners can be told.
  • Version 0.30.0, which also ships #153's economy cleanup.

Test: no_claims_in_the_free_zone_and_old_ones_are_dropped (a claim at 0 0 is dropped, one at x -520 and one at 600 600 stay, a claim at 490 -490 is refused, the Nether still claims, the file is saved without it). fmt, clippy -D warnings, 138 tests pass.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon-mods/pull/159 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `smp/spawn-free-zone` --- ### 📝 Commits (1) - [`beed379`](https://github.com/horizon-rust/horizon-mods/commit/beed3798386a1ed0ae45649a0ae37977018b5471) SMP 0.30.0: a claim-free zone around 0 0 (claims.free_radius) ### 📊 Changes **6 files changed** (+110 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `native/smp/Cargo.lock` (+1 -1) 📝 `native/smp/Cargo.toml` (+1 -1) 📝 `native/smp/README.md` (+2 -1) 📝 `native/smp/mixins/smp/glue.rs` (+9 -4) 📝 `native/smp/mixins/smp/horizon-mixin.toml` (+1 -1) 📝 `native/smp/mixins/smp/smp_claims.rs` (+96 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. rdbt (official server op) asked for the land within about 500 blocks of 0 0 to be free for all: no claims there, and the existing ones removed; Ludovic forwarded it. - `claims.free_radius` (blocks, overworld, default 0 = off): `/claim` refuses any chunk that touches the square |x|, |z| ≤ radius ("No claims within 500 blocks of 0 0: that land is free for all."). Other dimensions are unchanged. - At start, claims inside the zone are dropped and each is logged (`[smp] chunk … of <uuid> is in the free zone: unclaimed`), so the owners can be told. - Version 0.30.0, which also ships #153's economy cleanup. Test: `no_claims_in_the_free_zone_and_old_ones_are_dropped` (a claim at 0 0 is dropped, one at x -520 and one at 600 600 stay, a claim at 490 -490 is refused, the Nether still claims, the file is saved without it). fmt, clippy -D warnings, 138 tests pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:03:45 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon-mods#160
No description provided.