From 56243f243f5a32292df6b53c0843c02e96f01035 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 20 May 2023 16:50:25 +0100 Subject: [PATCH] Added paper-plugin.yml --- .../src/main/resources/paper-plugin.yml | 69 +++++++++++++++++++ .../core-plugin/src/main/resources/plugin.yml | 3 +- 2 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 eco-core/core-plugin/src/main/resources/paper-plugin.yml diff --git a/eco-core/core-plugin/src/main/resources/paper-plugin.yml b/eco-core/core-plugin/src/main/resources/paper-plugin.yml new file mode 100644 index 0000000..31eb1af --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/paper-plugin.yml @@ -0,0 +1,69 @@ +name: EcoBits +version: ${projectVersion} +main: com.willfp.ecobits.EcoBitsPlugin +api-version: 1.19 +load: STARTUP + +dependencies: + - name: eco + required: true + bootstrap: false + + - name: Vault + required: false + bootstrap: false + +load-after: + - name: eco + bootstrap: false +permissions: + ecobits.*: + description: All EcoBits permissions + default: op + children: + ecobits.command.*: true + ecobits.command.*: + description: All commands + default: op + children: + ecobits.command.reload: true + ecobits.command.give: true + ecobits.command.givesilent: true + ecobits.command.get: true + ecobits.command.set: true + ecobits.command.reset: true + ecobits.command.pay: true + ecobits.command.take: true + ecobits.command.takesilent: true + ecobits.command.balance: true + + ecobits.command.reload: + description: Allows reloading the config + default: op + ecobits.command.give: + description: Gives a currency + default: op + ecobits.command.take: + description: Takes a currency + default: op + ecobits.command.takesilent: + description: Takes a currency silently + default: op + ecobits.command.givesilent: + description: Gives a currency silently + default: op + ecobits.command.get: + description: Gets a currency + default: op + ecobits.command.set: + description: Sets a currency + default: op + ecobits.command.reset: + description: Resets a currency + default: op + ecobits.command.pay: + description: Pays a player + default: true + ecobits.command.balance: + description: Views your balance + default: true \ No newline at end of file diff --git a/eco-core/core-plugin/src/main/resources/plugin.yml b/eco-core/core-plugin/src/main/resources/plugin.yml index f70c474..adbac81 100644 --- a/eco-core/core-plugin/src/main/resources/plugin.yml +++ b/eco-core/core-plugin/src/main/resources/plugin.yml @@ -7,10 +7,9 @@ website: willfp.com load: STARTUP depend: - eco - - ProtocolLib softdepend: - Vault - - PlaceholderAPI + commands: ecobits: description: Base Command