Skip to content

refactor: improve IsServerOwner API - #381

Merged
DevD4v3 merged 1 commit into
mainfrom
patch-3
Aug 10, 2026
Merged

DevD4v3 merged 1 commit into
mainfrom
patch-3

Conversation

@DevD4v3

@DevD4v3 DevD4v3 commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Remove the ownerName parameter from Player.IsServerOwner and resolve the configured server owner internally.

This keeps the owner configuration detail encapsulated by the API, allowing consumers to query whether a player is the server owner without providing configuration data.

The direct dependency on EnvReader is intentional because server owner configuration is always provided through environment variables.

Remove the ownerName parameter from IsServerOwner and resolve the configured server owner internally.

This keeps the owner configuration detail encapsulated by the API, allowing consumers to query whether a player is the server owner without providing configuration data.

The direct dependency on EnvReader is intentional because server owner configuration is always provided through environment variables.
@DevD4v3
DevD4v3 merged commit 7e6bc78 into main Aug 10, 2026
4 checks passed
@DevD4v3
DevD4v3 deleted the patch-3 branch August 10, 2026 16:04
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