From 01c1f4571ac43a5407f388baec6168f427d108d3 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 28 Mar 2023 21:42:10 +0100 Subject: [PATCH] Fixed permissions on paper --- .../src/main/resources/paper-plugin.yml | 47 +++++++++++++++++++ gradle.properties | 2 +- 2 files changed, 48 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 2136bf11..15037713 100644 --- a/eco-core/core-plugin/src/main/resources/paper-plugin.yml +++ b/eco-core/core-plugin/src/main/resources/paper-plugin.yml @@ -23,3 +23,50 @@ dependencies: load-after: - name: eco bootstrap: false + + +permissions: + ecoenchants.*: + description: All ecoenchants permissions + default: op + children: + ecoenchants.command.*: true + ecoenchants.anvil.*: true + ecoenchants.fromtable.*: true + ecoenchants.command.*: + description: All commands + default: op + children: + ecoenchants.command.reload: true + ecoenchants.command.ecoenchants: true + ecoenchants.command.toggledescriptions: true + ecoenchants.command.giverandombook: true + ecoenchants.command.enchantinfo: true + ecoenchants.command.gui: true + ecoenchants.anvil.*: + description: All anvil perks + default: op + children: + ecoenchants.anvil.color: true + + ecoenchants.anvil.color: + description: Allows using color codes in anvils + default: op + ecoenchants.command.reload: + description: Allows reloading the config + default: op + ecoenchants.command.giverandombook: + description: Allows giving random books + default: op + ecoenchants.command.ecoenchants: + description: Allows the use of /ecoenchants. + default: true + ecoenchants.command.toggledescriptions: + description: Allows the use of /ecoenchants toggledescriptions. + default: true + ecoenchants.command.enchantinfo: + description: Allows the use of /enchantinfo. + default: true + ecoenchants.command.gui: + description: Allows the use of /ecoenchants gui. + default: true \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 51620205..80227378 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ #libreforge-updater -#Tue Mar 28 21:16:44 BST 2023 +#Tue Mar 28 21:40:41 BST 2023 kotlin.code.style=official libreforge-version=4.0.0 version=10.0.0