From 16ea09e8f483b4a51576bbe2b4ac797d9faa0b2a Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 28 Mar 2023 21:42:59 +0100 Subject: [PATCH] Fixed permissions on paper --- .../src/main/resources/paper-plugin.yml | 28 +++++++++++++++++++ gradle.properties | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/resources/paper-plugin.yml b/eco-core/core-plugin/src/main/resources/paper-plugin.yml index 23447fa..912ce06 100644 --- a/eco-core/core-plugin/src/main/resources/paper-plugin.yml +++ b/eco-core/core-plugin/src/main/resources/paper-plugin.yml @@ -15,3 +15,31 @@ dependencies: load-after: - name: eco bootstrap: false + + +permissions: + talismans.*: + description: All talismans permissions + default: op + children: + talismans.command.talismans: true + talismans.command.give: true + talismans.command.bag: true + talismans.command.reload: true + talismans.fromtable.*: true + + talismans.command.reload: + description: Allows reloading the config + default: op + talismans.command.give: + description: Allows the use of /talismans give. + default: op + talismans.command.bag: + description: Allows the use of /talismans bag. + default: true + talismans.command.talismans: + description: Allows the use of /talismans + default: true + talismans.fromtable.*: + description: Allows crafting all talismans + default: true diff --git a/gradle.properties b/gradle.properties index 0a2834c..1115b10 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ #libreforge-updater -#Tue Mar 28 18:28:30 BST 2023 +#Tue Mar 28 21:40:28 BST 2023 kotlin.code.style=official libreforge-version=4.0.0 version=6.0.0