command without arguments now acts as toggle subcommand

This commit is contained in:
2022-12-31 14:43:44 +01:00
parent 7da6ff0ac9
commit 78504ee097
6 changed files with 48 additions and 44 deletions
+9 -1
View File
@@ -25,12 +25,20 @@ permissions:
preventstabby.command.toggle:
default: true
description: Allows usage of /pvp <toggle/enable/disable> command
children:
preventstabby.command: true
preventstabby.command.toggle.others:
default: op
description: Allows usage of /pvp <toggle/enable/disable> <player> command
children:
preventstabby.command: true
preventstabby.command.toggle.global:
default: op
description: Allows usage of /pvp override <enabled/disabled/none> command
children:
preventstabby.command: true
preventstabby.command.reload:
default: op
description: Allows usage of /pvp reload command
description: Allows usage of /pvp reload command
children:
preventstabby.command: true