From 55a991091f29accb844a541ef10aa5b312cf939a Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 28 Mar 2023 21:46:04 +0100 Subject: [PATCH] Fixed permissions on paper --- .../src/main/resources/paper-plugin.yml | 58 +++++++++++++++++++ gradle.properties | 2 +- 2 files changed, 59 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 d82ec88..a1a5d8c 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,61 @@ dependencies: load-after: - name: eco bootstrap: false + + +permissions: + ecojobs.*: + description: All EcoJobs permissions + default: op + children: + ecojobs.command.*: true + ecojobs.command.*: + description: All commands + default: op + children: + ecojobs.command.ecojobs: true + ecojobs.command.reload: true + ecojobs.command.jobs: true + ecojobs.command.unlock: true + ecojobs.command.givexp: true + ecojobs.command.join: true + ecojobs.command.leave: true + ecojobs.command.reset: true + + ecojobs.command.reload: + description: Allows reloading the config + default: op + ecojobs.command.ecojobs: + description: Allows the use of /ecojobs. + default: true + ecojobs.command.jobs: + description: Allows the use of /jobs. + default: true + ecojobs.command.unlock: + description: Allows the use of /ecojobs unlock. + default: op + ecojobs.command.givexp: + description: Allows the use of /ecojobs givexp. + default: op + ecojobs.command.reset: + description: Allows the use of /ecojobs reset. + default: op + ecojobs.command.join: + description: Allows the use of /jobs join. + default: true + ecojobs.command.leave: + description: Allows the use of /jobs leave. + default: true + + ecojobs.xpmultiplier.50percent: + description: Gives the player 50% more job experience + default: false + ecojobs.xpmultiplier.double: + description: Gives the player 2x job experience + default: false + ecojobs.xpmultiplier.triple: + description: Gives the player 3x job experience + default: false + ecojobs.xpmultiplier.quadruple: + description: Gives the player 4x job experience + default: false diff --git a/gradle.properties b/gradle.properties index b02d2d8..98064e7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ #libreforge-updater -#Tue Mar 28 18:28:20 BST 2023 +#Tue Mar 28 21:40:18 BST 2023 kotlin.code.style=official libreforge-version=4.0.0 version=3.0.0