An open API service indexing awesome lists of open source software.

https://github.com/thenextlvl-net/commander

Remove, hide or change or query permissions of commands
https://github.com/thenextlvl-net/commander

minecraft minecraft-plugin paper paper-plugin

Last synced: 2 months ago
JSON representation

Remove, hide or change or query permissions of commands

Awesome Lists containing this project

README

          

# Commander

A must-have command management system for your minecraft server.

With **Commander** you can _remove_ or _hide_ commands you don't want,

_change_; _remove_ or _add_ permissions to existing commands.

Every message is localized and can be customized.

> [!IMPORTANT]
> The latest major version (4.0.0) changed the way how commands are hidden, unregistered and permissions overriden

> When updating from any `3.x.x` version _or below_ all your commands and permissions seem to be reset (https://github.com/TheNextLvl-net/commander/issues/16)

>
> The easiest way to update is by reapplying all of your changes via the command, just open your old `commands.json` and enter the respective commands again

## Usage

_In order to use `/command` the permission `commander.admin` is required_

_To bypass the command hiding feature the explicit permission `commander.bypass` is required_

## Commands

To remove a command for everyone, use: `/command unregister [command]`

To add a removed command back, use: `/command register [command]`

To hide a command, use: `/command hide [command]`

To reveal a command again, use: `/command reveal [command]`

To completely reset a command, use: `/command reset [command]`

## Permissions

- To change the permission of a command, use: `/command permission set [command] [permission]`

- To completely remove a permission from a command, use: `/command permission unset [command]`

- To reset the permission of a command to its default value, use: `/command permission reset [command]`

- To see what the permission of a certain command is, use: `/command permission query [command]`