Skip to content

feat: make permission denied messages optional and configurable - #607

Open
DevD4v3 wants to merge 1 commit into
ikkentim:mainfrom
DevD4v3:patch-1
Open

feat: make permission denied messages optional and configurable#607
DevD4v3 wants to merge 1 commit into
ikkentim:mainfrom
DevD4v3:patch-1

Conversation

@DevD4v3

@DevD4v3 DevD4v3 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR makes permission denied messages configurable in PlayerCommandServiceOptions.

Changes

  • Added PermissionDeniedMessageColor.
  • Added PermissionDeniedMessage.
  • Allow disabling permission denied messages by setting PermissionDeniedMessage to null.

Motivation

Previously, permission denied responses were hardcoded inside the command service.

This change allows servers to:

  • Customize the message text.
  • Customize the message color.
  • Disable the default message entirely and handle permission feedback through other mechanisms (e.g. GameText and sounds).

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