From 64badc176ba04b0215179fb2543f7f675880beff Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 3 Jan 2022 19:13:15 +0000 Subject: [PATCH] Updated libreforge --- build.gradle | 10 ++-------- eco-core/core-plugin/src/main/resources/config.yml | 7 +++++++ eco-core/core-plugin/src/main/resources/lang.yml | 3 ++- gradle.properties | 2 +- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 1b403fc..1026592 100644 --- a/build.gradle +++ b/build.gradle @@ -62,16 +62,10 @@ 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' - compileOnly 'org.projectlombok:lombok:1.18.20' - annotationProcessor 'org.projectlombok:lombok:1.18.20' - - testCompileOnly 'org.projectlombok:lombok:1.18.20' - testAnnotationProcessor 'org.projectlombok:lombok:1.18.20' - compileOnly 'org.jetbrains.kotlin:kotlin-stdlib:1.6.0' } @@ -81,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 f17360c..a1d395e 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -12,3 +12,10 @@ cooldown: enabled: true sound: "BLOCK_NOTE_BLOCK_PLING" pitch: 0.5 + +cannot-afford: + in-actionbar: true + sound: + enabled: true + sound: "BLOCK_NOTE_BLOCK_PLING" + pitch: 0.5 \ 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 2f18190..9922afc 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-item: "&cYou must specify an item!" invalid-item: "&cInvalid item!" give-success: "Gave &a%item%&r to &a%recipient%" - on-cooldown: "&cThis effect is on cooldown! &fTime left: &a%seconds% seconds" \ No newline at end of file + on-cooldown: "&cThis effect is on cooldown! &fTime left: &a%seconds% seconds" + 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 b0e9b5c..9945dc5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 7.5.2 +version = 7.6.0 plugin-name = EcoArmor \ No newline at end of file