From 4499bb54536358b4ab68efe2940cda2c22578561 Mon Sep 17 00:00:00 2001 From: Jikoo Date: Fri, 29 May 2020 10:22:40 -0400 Subject: [PATCH] Don't break behavior on existing setups Permission to use /openinv and /openender will grant online/offline access so that existing permissions configurations do not have to be redone. Users looking to implement the new permissions will need to deny them. --- plugin/src/main/resources/plugin.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugin/src/main/resources/plugin.yml b/plugin/src/main/resources/plugin.yml index e3b52b8..037e634 100644 --- a/plugin/src/main/resources/plugin.yml +++ b/plugin/src/main/resources/plugin.yml @@ -27,6 +27,16 @@ permissions: OpenInv.searchcontainer: true OpenInv.openonline: true OpenInv.openoffline: true + OpenInv.openinv: + default: op + children: + OpenInv.openonline: true + OpenInv.openoffline: true + OpenInv.openender: + default: op + children: + OpenInv.openonline: true + OpenInv.openoffline: true commands: openinv: