From e64f62da021fff058a18dc03cf84f52dfe4d8f58 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 3 Jan 2022 19:14:35 +0000 Subject: [PATCH] Updated libreforge --- build.gradle | 4 ++-- eco-core/core-plugin/src/main/resources/config.yml | 14 ++++++++++++++ eco-core/core-plugin/src/main/resources/lang.yml | 3 ++- gradle.properties | 2 +- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 58262ca..fe80a02 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ allprojects { dependencies { compileOnly 'com.willfp:eco:6.17.1' - implementation 'com.willfp:libreforge:2.7.2' + implementation 'com.willfp:libreforge:2.8.0' compileOnly 'org.jetbrains:annotations:23.0.0' @@ -75,7 +75,7 @@ allprojects { } processResources { - filesNotMatching(["**/*.png", "**/models/**", "**/textures/**"]) { + filesNotMatching(["**/*.png", "**/models/**", "**/textures/**", "**lang.yml"]) { expand projectVersion: project.version } } diff --git a/eco-core/core-plugin/src/main/resources/config.yml b/eco-core/core-plugin/src/main/resources/config.yml index 8e31134..d929c39 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -11,3 +11,17 @@ read-shulkerboxes: true # If a player's shulker boxes should be checked for tali top-level-only: true # If only the top level of any given talisman should be activated offhand-only: false # If talismans or shulkers of talismans need to be in the offhand to work + +cannot-afford: + in-actionbar: true + sound: + enabled: true + sound: "BLOCK_NOTE_BLOCK_PLING" + pitch: 0.5 + +cooldown: + in-actionbar: true + sound: + enabled: true + sound: "BLOCK_NOTE_BLOCK_PLING" + pitch: 0.5 diff --git a/eco-core/core-plugin/src/main/resources/lang.yml b/eco-core/core-plugin/src/main/resources/lang.yml index 13e1a59..db1a6d9 100644 --- a/eco-core/core-plugin/src/main/resources/lang.yml +++ b/eco-core/core-plugin/src/main/resources/lang.yml @@ -9,4 +9,5 @@ messages: needs-talisman: "&cYou must specify a talisman" invalid-talisman: "&cInvalid talisman!" invalid-level: "&cLevel doesn't exist!" - give-success: "Gave &a%talisman%&r to &a%recipient%" \ No newline at end of file + give-success: "Gave &a%talisman%&r to &a%recipient%" + cannot-afford: "&cYou can't afford to do this! &fCost: &a$$%cost%" \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 073634a..94ca1d8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 5.0.0-b19 +version = 5.0.0-b20 plugin-name = Talismans \ No newline at end of file