Cleaned up some things
This commit is contained in:
@@ -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) }
|
||||
|
||||
@@ -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: "
|
||||
- ""
|
||||
Reference in New Issue
Block a user