From a79a05ba084c8cf5b452d484f22da60f17232942 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Thu, 3 Feb 2022 09:22:34 +0000 Subject: [PATCH] Updated libreforge --- build.gradle | 2 +- eco-core/core-plugin/src/main/resources/config.yml | 10 ++++++++++ eco-core/core-plugin/src/main/resources/lang.yml | 1 + gradle.properties | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 764c08c..7035989 100644 --- a/build.gradle +++ b/build.gradle @@ -44,7 +44,7 @@ allprojects { dependencies { compileOnly 'com.willfp:eco:6.23.0' - implementation 'com.willfp:libreforge:3.10.3' + implementation 'com.willfp:libreforge:3.11.0' compileOnly 'org.jetbrains:annotations:23.0.0' diff --git a/eco-core/core-plugin/src/main/resources/config.yml b/eco-core/core-plugin/src/main/resources/config.yml index b0d74e2..c135612 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -157,6 +157,16 @@ cannot-afford: sound: "BLOCK_NOTE_BLOCK_PLING" pitch: 0.5 +cannot-afford-type: + in-actionbar: true + sound: + enabled: true + sound: "BLOCK_NOTE_BLOCK_PLING" + pitch: 0.5 + +point-names: # If you have point names that look ugly (eg g_souls) then you can map them to nice names to be shown to players. + example_point: "Nicely Formatted Point" + use-faster-move-trigger: true # Disable if you want move trigger to detect sub-1-block movements raytrace-distance: 80 # The distance that alt_click should check for a location block-item-drop-place-check: true # If the block_item_drop trigger should only fire on naturally placed blocks (prevents dupes) \ No newline at end of file diff --git a/eco-core/core-plugin/src/main/resources/lang.yml b/eco-core/core-plugin/src/main/resources/lang.yml index 21b88fe..2cd0969 100644 --- a/eco-core/core-plugin/src/main/resources/lang.yml +++ b/eco-core/core-plugin/src/main/resources/lang.yml @@ -14,6 +14,7 @@ messages: give-success: "Gave &a%reforge%&r reforge stone to &a%recipient%" on-cooldown: "&cThis reforge is on cooldown! &fTime left: &a%seconds% seconds" cannot-afford: "&cYou can't afford to do this! &fCost: &a$$%cost%" + cannot-afford-type: "&cYou can't afford to do this! &fCost: &a%cost% %type%" menu: title: "Reforge Item" diff --git a/gradle.properties b/gradle.properties index d1c030e..fb2cea9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 4.37.3 +version = 4.38.0 plugin-name = Reforges \ No newline at end of file