Skip to content

Fix "/divinemc" being visible even when a player has no access to any sub-commands. - #68

Merged
NONPLAYT merged 1 commit into
BX-Team:ver/26.2from
Mickey42302:base-perm-fix
Sep 6, 2026
Merged

NONPLAYT merged 1 commit into
BX-Team:ver/26.2from
Mickey42302:base-perm-fix

Conversation

@Mickey42302

Copy link
Copy Markdown
Contributor

Suggestion

I would like to suggest restricting the base permission node of the "/divinemc" command to operators.

At present, "/divinemc" is visible in tab complete even when players don't have access to any of the utilities within it. There is no need for the command to be listed if the player has no access to any of the sub-commands. Regular players do not need the base permission node either, as all of the sub-commands are now restricted to operators.

Changes

This pull request changes the default value of the base permission node to "OP". This fixes the tab complete issue.

@NONPLAYT NONPLAYT added the 🔧 enhancement New feature or request label Sep 6, 2026
@NONPLAYT
NONPLAYT merged commit d053f8c into BX-Team:ver/26.2 Sep 6, 2026
3 of 4 checks passed
@Mickey42302
Mickey42302 deleted the base-perm-fix branch September 6, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔧 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants