From f14812198118d775f9656acf1a7bdc7ce23813b8 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 8 Jan 2022 13:38:19 +0000 Subject: [PATCH] Added demo custom enchantment --- .../src/main/resources/customenchants.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/eco-core/core-plugin/src/main/resources/customenchants.yml b/eco-core/core-plugin/src/main/resources/customenchants.yml index 9b654133..6404ad1b 100644 --- a/eco-core/core-plugin/src/main/resources/customenchants.yml +++ b/eco-core/core-plugin/src/main/resources/customenchants.yml @@ -1,7 +1,7 @@ enchants: - id: demo name: "Demo Custom Enchantment" - description: Damages your opponents armor by &a%value%&r. + description: Test obtaining: table: true @@ -12,8 +12,7 @@ enchants: general-config: flags: [ ] targets: - - sword - - axe + - pickaxe grindstoneable: true disabled-in-worlds: [ ] requirements: @@ -22,7 +21,12 @@ enchants: conflicts: [ ] levels: - - effects: [ ] + - effects: + - id: give_money + args: + amount: 50 + triggers: + - mine_block conditions: [ ] - effects: [ ] conditions: [ ] \ No newline at end of file