From b5a08ca0f68b2eeceb1b1c666372321b51e53b48 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 14 Sep 2021 11:01:01 +0100 Subject: [PATCH] Cleaned up some things --- .../com/willfp/boosters/gui/BoosterGUI.kt | 16 ++++++------- .../core-plugin/src/main/resources/config.yml | 24 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/gui/BoosterGUI.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/gui/BoosterGUI.kt index 14dcdb4..bde5a49 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/gui/BoosterGUI.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/gui/BoosterGUI.kt @@ -29,7 +29,7 @@ object BoosterGUI { player.sendMessage(plugin.langYml.getMessage("already-active")) player.playSound( player.location, - Sound.BLOCK_NOTE_BLOCK_PLING, + Sound.BLOCK_NOTE_BLOCK_BASS, 1f, 0.5f ) @@ -40,7 +40,7 @@ object BoosterGUI { player.sendMessage(plugin.langYml.getMessage("dont-have")) player.playSound( player.location, - Sound.BLOCK_NOTE_BLOCK_PLING, + Sound.BLOCK_NOTE_BLOCK_BASS, 1f, 0.5f ) @@ -80,12 +80,12 @@ object BoosterGUI { lore.add("&fDuration: &a1 Hour") lore.add("") lore.add("&fYou have: &a${player.getAmountOfBooster(Boosters.SELL_MULTIPLIER_LOW)}") - lore.add("Get more at &astore.ecomc.net") + lore.add("&fGet more at &astore.ecomc.net") lore.add("") lore.add("&e&oClick to activate!") lore.add("") - meta.setDisplayName("&a1.5x Sell Multiplier") + meta.setDisplayName(StringUtils.format("&d1.5x Sell Multiplier")) meta.lore = lore.apply { replaceAll { StringUtils.format(it) } @@ -116,12 +116,12 @@ object BoosterGUI { lore.add("&fDuration: &a1 Hour") lore.add("") lore.add("&fYou have: &a${player.getAmountOfBooster(Boosters.SELL_MULTIPLIER_HIGH)}") - lore.add("Get more at &astore.ecomc.net") + lore.add("&fGet more at &astore.ecomc.net") lore.add("") lore.add("&e&oClick to activate!") lore.add("") - meta.setDisplayName("&a2x Sell Multiplier") + meta.setDisplayName(StringUtils.format("&d2x Sell Multiplier")) meta.lore = lore.apply { replaceAll { StringUtils.format(it) } @@ -152,12 +152,12 @@ object BoosterGUI { lore.add("&fDuration: &a1 Hour") lore.add("") lore.add("&fYou have: &a${player.getAmountOfBooster(Boosters.SKILL_XP)}") - lore.add("Get more at &astore.ecomc.net") + lore.add("&fGet more at &astore.ecomc.net") lore.add("") lore.add("&e&oClick to activate!") lore.add("") - meta.setDisplayName("&a2x Skill XP Multiplier") + meta.setDisplayName(StringUtils.format("&d2x Skill XP Multiplier")) meta.lore = lore.apply { replaceAll { StringUtils.format(it) } diff --git a/eco-core/core-plugin/src/main/resources/config.yml b/eco-core/core-plugin/src/main/resources/config.yml index b92b3bb..ea332d2 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -9,33 +9,33 @@ messages: 1.5sell_multiplier: activation: - "" - - "%player%&f has activated a &a1.5x Sell Multiplier Booster&f!" - - "&fThis booster will last an hour, be sure to thank them!" + - " %player%&f has activated a &a1.5x Sell Multiplier Booster&f!" + - " &fThis booster will last an hour, be sure to thank them!" - "" expiry: - "" - - "&fThe &a1.5x Sell Multiplier Booster&f has ended" - - "&fGet another one here: " + - " &fThe &a1.5x Sell Multiplier Booster&f has ended" + - " &fGet another one here: " - "" 2sell_multiplier: activation: - "" - - "%player%&f has activated a &a2x Sell Multiplier Booster&f!" - - "&fThis booster will last an hour, be sure to thank them!" + - " %player%&f has activated a &a2x Sell Multiplier Booster&f!" + - " &fThis booster will last an hour, be sure to thank them!" - "" expiry: - "" - - "&fThe &a2x Sell Multiplier Booster&f has ended" - - "&fGet another one here: " + - " &fThe &a2x Sell Multiplier Booster&f has ended" + - " &fGet another one here: " - "" skill_xp: activation: - "" - - "%player%&f has activated a &a2x Skill XP Booster&f!" - - "&fThis booster will last an hour, be sure to thank them!" + - " %player%&f has activated a &a2x Skill XP Booster&f!" + - " &fThis booster will last an hour, be sure to thank them!" - "" expiry: - "" - - "&fThe &a2x Skill XP Booster&f has ended" - - "&fGet another one here: " + - " &fThe &a2x Skill XP Booster&f has ended" + - " &fGet another one here: " - "" \ No newline at end of file