mirror of
https://github.com/craftaro/EpicSpawners.git
synced 2025-01-09 03:57:40 +08:00
Economy adjustments.
This commit is contained in:
parent
50e24890dc
commit
fffa1c8f8b
@ -243,7 +243,7 @@ public class BlockListeners implements Listener {
|
||||
if (spawner.getFirstStack().getSpawnerData().getPickupCost() != 0 && (!naturalOnly || spawner.getPlacedBy() == null)) {
|
||||
if (!plugin.getSpawnerManager().hasCooldown(spawner)) {
|
||||
plugin.getLocale().getMessage("event.block.chargebreak")
|
||||
.processPlaceholder("cost", spawner.getFirstStack().getSpawnerData().getPickupCost())
|
||||
.processPlaceholder("cost", EconomyManager.formatEconomy(spawner.getFirstStack().getSpawnerData().getPickupCost()))
|
||||
.sendPrefixedMessage(player);
|
||||
plugin.getSpawnerManager().addCooldown(spawner);
|
||||
Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(plugin, () -> plugin.getSpawnerManager().removeCooldown(spawner), 300L);
|
||||
|
@ -16,7 +16,7 @@ interface:
|
||||
upgradewithxp: '&aUpgrade with XP'
|
||||
upgradewithxplore: '&7Cost: &a%cost% Levels'
|
||||
upgradewitheconomy: '&aUpgrade with ECO'
|
||||
upgradewitheconomylore: '&7Cost: &a$%cost%'
|
||||
upgradewitheconomylore: '&7Cost: &a%cost%'
|
||||
statstitle: '&6Spawner Stats'
|
||||
stats: '&7Spawned &6%amount% &7times so far.'
|
||||
onlyspawnson: '&7Only spawns on &6%block%&7.'
|
||||
@ -44,7 +44,7 @@ interface:
|
||||
shop:
|
||||
title: Spawner Shop
|
||||
spawnershoptitle: '&8Buy a %type%'
|
||||
buyprice: '&7Buy Price: &a$%cost%'
|
||||
buyprice: '&7Buy Price: &a%cost%'
|
||||
lore: '&7Click here to purchase.'
|
||||
add1: '&a&lAdd 1'
|
||||
add10: '&a&lAdd 10'
|
||||
@ -82,9 +82,9 @@ event:
|
||||
block:
|
||||
place: '&7You placed a &6%type%&7.'
|
||||
broken: This spawner type has been removed and you cannot place it.
|
||||
chargeplace: '&7You will be charged &6$%cost% &7if you do not break this spawner within 1 minute.'
|
||||
chargeplace: '&7You will be charged &6%cost% &7if you do not break this spawner within 1 minute.'
|
||||
break: '&7You broke a &6%type%&7.'
|
||||
chargebreak: '&7You will be charged &6$%cost% &7for breaking this spawner. Break again to confirm.'
|
||||
chargebreak: '&7You will be charged &6%cost% &7for breaking this spawner. Break again to confirm.'
|
||||
blacklisted: '&cThat action is disabled.'
|
||||
omnitake: '&7You took a &6%type%&7 from the OmniSpawner.'
|
||||
forcedeny: '&cThis spawner is too close to another spawner.'
|
||||
|
Loading…
Reference in New Issue
Block a user