Skip to content

GH-1334 Update settings comment and default permission check#1334

Open
CitralFlo wants to merge 5 commits intomasterfrom
default-home-limit
Open

GH-1334 Update settings comment and default permission check#1334
CitralFlo wants to merge 5 commits intomasterfrom
default-home-limit

Conversation

@CitralFlo
Copy link
Copy Markdown
Member

Description

Create better documentation for max homes list. Add default permission that is optional for max homes limit.

Fixes # (issue)

No default permission available - discord support 09.04.2026

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

Tested default permission, vip and premium with LuckPerms.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to readme etc.
  • My changes generate no new warnings
  • I have added test to cover my changes - NOT DONE
  • I have added appropriate labels to this Pull Request

@CitralFlo CitralFlo requested a review from a team as a code owner April 9, 2026 17:50
@CitralFlo CitralFlo added 📝 documentation Improvements or additions to documentation 🔧 enhancement Enhances existing function labels Apr 9, 2026
@CitralFlo CitralFlo changed the title Update settings comment and default permission check GH-1334 Update settings comment and default permission check Apr 9, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the home limit logic to use a configurable default value (eternalcore.home.default) instead of a hardcoded zero when no specific permission nodes match. It also updates the configuration documentation to better explain how permission-based limits and fallbacks are applied. A suggestion was made to clarify the wording in the configuration comments regarding the default permission node to avoid ambiguity.

Comment thread eternalcore-core/src/main/java/com/eternalcode/core/feature/home/HomesConfig.java Outdated
Comment thread eternalcore-core/src/main/java/com/eternalcode/core/feature/home/HomesConfig.java Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📝 documentation Improvements or additions to documentation 🔧 enhancement Enhances existing function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants