Skip to content

fix: align config.yml defaults with Settings.java - #47

Merged
tastybento merged 1 commit into
developfrom
fix/config-yml-defaults
Aug 23, 2026
Merged

fix: align config.yml defaults with Settings.java#47
tastybento merged 1 commit into
developfrom
fix/config-yml-defaults

Conversation

@tastybento

@tastybento tastybento commented Aug 23, 2026

Copy link
Copy Markdown
Member

Summary

  • The resource config.yml that new admins get on first install had stale values inherited from AOneBlock that didn't match the Settings.java field defaults.
  • Audited every value in config.yml against the code and fixed 9 mismatches:
Setting config.yml (was) Settings.java
protection-range 240 168
island-height 80 120
concurrent-islands 1 0 (defer to BentoBox)
nether.spawn-radius 25 32
max-homes 1 5
on-join.inventory false true
on-join.health false true
on-join.hunger false true
on-join.exp false true
on-leave.inventory true false
  • Existing servers are unaffected (their config.yml on disk is already loaded); this only changes what fresh installs get.

Test plan

  • All 743 tests pass
  • Fresh install produces a config.yml with values matching Settings.java defaults

🤖 Generated with Claude Code

https://claude.ai/code/session_01QWvvUY9ZZJHxUYm1UyjdwK

The resource config.yml that new admins get on first install had stale
values inherited from AOneBlock that no longer matched the Settings.java
field defaults. Mismatches fixed:

- protection-range: 240 → 168 (matches max-chunks 441 = ring 10)
- island-height: 80 → 120
- concurrent-islands: 1 → 0 (defer to BentoBox default)
- nether spawn-radius: 25 → 32
- max-homes: 1 → 5
- on-join inventory/health/hunger/exp: false → true (fresh start)
- on-leave inventory: true → false (keep inventory on leave)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QWvvUY9ZZJHxUYm1UyjdwK
@sonarqubecloud

Copy link
Copy Markdown

@tastybento
tastybento merged commit 40a7ad0 into develop Aug 23, 2026
3 checks passed
@tastybento
tastybento deleted the fix/config-yml-defaults branch August 23, 2026 19:54
@tastybento tastybento mentioned this pull request Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant