Skip to content

Update default permissions for the "/divinemc" command. - #62

Merged
NONPLAYT merged 2 commits into
BX-Team:ver/26.2from
Mickey42302:permissions
Aug 29, 2026
Merged

NONPLAYT merged 2 commits into
BX-Team:ver/26.2from
Mickey42302:permissions

Conversation

@Mickey42302

Copy link
Copy Markdown
Contributor

Suggestion

I would like to suggest changing the default value for some of the permission nodes added by the "/divinemc" command.

At present, all players can execute "/divinemc mspt". Access to the performance data should always be restricted for security reasons. Thus, the "/divinemc mspt" command should only be available to operators by default, just like with the regular "/mspt" command.

Regular players do not need access to "/divinemc version" either. This command should be restricted to operators as well, just like with the "/purpur version" command.

Changes

This pull request changes the default value of the permission node for the "mspt" and "version" subcommands. Instead of them being granted to all players, the code makes it so that the permission nodes are only granted to operators by default. However, any server owner can still override this using a permissions plugin.

@NONPLAYT NONPLAYT added the 🔧 enhancement New feature or request label Aug 23, 2026
@NONPLAYT
NONPLAYT merged commit c6af7e4 into BX-Team:ver/26.2 Aug 29, 2026
3 of 4 checks passed
@Mickey42302
Mickey42302 deleted the permissions branch August 30, 2026 22:33
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