mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-09 05:40:47 +02:00
Config option for registering brigadier command list data
This commit is contained in:
@@ -158,7 +158,7 @@ public class LPBukkitPlugin extends AbstractLuckPermsPlugin {
|
||||
this.commandManager.register();
|
||||
|
||||
// setup brigadier
|
||||
if (isBrigadierSupported()) {
|
||||
if (isBrigadierSupported() && getConfiguration().get(ConfigKeys.REGISTER_COMMAND_LIST_DATA)) {
|
||||
try {
|
||||
LuckPermsBrigadier.register(this, command);
|
||||
} catch (Exception e) {
|
||||
|
@@ -626,6 +626,9 @@ prevent-primary-group-removal: false
|
||||
# If LuckPerms should update the list of commands sent to the client when permissions are changed.
|
||||
update-client-command-list: true
|
||||
|
||||
# If LuckPerms should attempt to register "Brigadier" command list data for its commands.
|
||||
register-command-list-data: true
|
||||
|
||||
# If LuckPerms should attempt to resolve Vanilla command target selectors for LP commands.
|
||||
# See here for more info: https://minecraft.gamepedia.com/Commands#Target_selectors
|
||||
resolve-command-selectors: false
|
||||
|
Reference in New Issue
Block a user