Check for permissions instead of isOp() (#6)

This commit is contained in:
DoNotSpamPls
2018-03-27 17:43:17 +03:00
committed by Ryan
parent 2856889bbe
commit a5200fd5c1
4 changed files with 14 additions and 7 deletions

View File

@@ -13,10 +13,12 @@ permissions:
children:
placeholderapi.list: true
placeholderapi.reload: true
placeholderapi.ecloud: true
placeholderapi.parse: true
placeholderapi.injector.chat.bypass: true
placeholderapi.injector.signs.bypass: true
placeholderapi.injector.anvil.bypass: true
placeholderapi.updatenotify: true
placeholderapi.list:
description: ability to use the list command
default: op
@@ -26,6 +28,12 @@ permissions:
placeholderapi.parse:
description: ability to use parse command
default: op
placeholderapi.ecloud:
description: allows the usage of ecloud commands
default: op
placeholderapi.updatenotify:
description: notifies you when there is a PAPI update
default: op
commands:
placeholderapi:
description: PlaceholderAPI command