From 1c8281fee713a86026281a9042ce3ef4df36b35d Mon Sep 17 00:00:00 2001 From: m7rlin Date: Fri, 9 Jun 2023 23:45:34 +0200 Subject: [PATCH 1/2] add BetterMobs to the game; remove merlin.yml add config.yml --- .../mgtm/magicznakraina/MagicznaKraina.java | 2 + .../config/BetterMobsModuleConfig.java | 27 ++++ .../magicznakraina/config/MainConfig.java | 8 +- .../modules/better_mobs/BetterMobsModule.java | 71 +++++++++ .../better_mobs/events/BossDeathEvent.java | 49 ++++++ .../better_mobs/events/MobDamageEvent.java | 78 ++++++++++ .../better_mobs/events/MobDeathEvent.java | 72 +++++++++ .../better_mobs/events/MobSpawnEvent.java | 93 ++++++++++++ .../events/SilverFishSpawnEvent.java | 40 +++++ plugin/src/main/resources/config.yml | 139 ------------------ 10 files changed, 439 insertions(+), 140 deletions(-) create mode 100644 plugin/src/main/java/pl/mgtm/magicznakraina/config/BetterMobsModuleConfig.java create mode 100644 plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/BetterMobsModule.java create mode 100644 plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/BossDeathEvent.java create mode 100644 plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobDamageEvent.java create mode 100644 plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobDeathEvent.java create mode 100644 plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobSpawnEvent.java create mode 100644 plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/SilverFishSpawnEvent.java delete mode 100644 plugin/src/main/resources/config.yml diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/MagicznaKraina.java b/plugin/src/main/java/pl/mgtm/magicznakraina/MagicznaKraina.java index 8d40f5a..3d731a6 100644 --- a/plugin/src/main/java/pl/mgtm/magicznakraina/MagicznaKraina.java +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/MagicznaKraina.java @@ -10,6 +10,7 @@ import pl.mgtm.magicznakraina.config.MainConfig; import pl.mgtm.magicznakraina.config.UsersConfig; import pl.mgtm.magicznakraina.module.PluginModuleManager; +import pl.mgtm.magicznakraina.modules.better_mobs.BetterMobsModule; import pl.mgtm.magicznakraina.modules.clever_sleep.CleverSleepModule; import pl.mgtm.magicznakraina.modules.home.HomeModule; import pl.mgtm.magicznakraina.modules.home.commands.HomeCommand; @@ -89,6 +90,7 @@ public void onEnable() { new ResetWorldsModule(); new SpawnModule(); new HomeModule(); + new BetterMobsModule(); getLogger().info("MagicznaKraina has been successfully loaded!"); } diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/config/BetterMobsModuleConfig.java b/plugin/src/main/java/pl/mgtm/magicznakraina/config/BetterMobsModuleConfig.java new file mode 100644 index 0000000..93f857c --- /dev/null +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/config/BetterMobsModuleConfig.java @@ -0,0 +1,27 @@ +package pl.mgtm.magicznakraina.config; + +import java.io.Serializable; + +public class BetterMobsModuleConfig implements Serializable { + + // Module status on/off + private boolean enabled; + + + + public BetterMobsModuleConfig() { + } + + public BetterMobsModuleConfig(boolean moduleEnabled) { + this.enabled = moduleEnabled; + } + + public boolean getEnabled() { + return enabled; + } + public void setEnabled(boolean status) { + enabled = status; + } + + +} diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/config/MainConfig.java b/plugin/src/main/java/pl/mgtm/magicznakraina/config/MainConfig.java index 5ba27b3..a09cf31 100644 --- a/plugin/src/main/java/pl/mgtm/magicznakraina/config/MainConfig.java +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/config/MainConfig.java @@ -4,7 +4,7 @@ import pl.mgtm.magicznakraina.api.config.annotation.Comment; import pl.mgtm.magicznakraina.api.config.annotation.ConfigName; -@ConfigName("merlin.yml") +@ConfigName("config.yml") public interface MainConfig extends Config { default boolean getDebug() { @@ -58,6 +58,12 @@ default KitsModuleConfig getKitsModule() { void setKitsModule(KitsModuleConfig kitsModuleConfig); + default BetterMobsModuleConfig getBetterMobsModule() { + return new BetterMobsModuleConfig(true); + } + + void setBetterMobsModule(BetterMobsModuleConfig kitsModuleConfig); + } diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/BetterMobsModule.java b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/BetterMobsModule.java new file mode 100644 index 0000000..7b69ba8 --- /dev/null +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/BetterMobsModule.java @@ -0,0 +1,71 @@ +package pl.mgtm.magicznakraina.modules.better_mobs; + +import org.bukkit.entity.EntityType; +import org.bukkit.entity.LivingEntity; +import org.bukkit.inventory.ItemStack; +import org.bukkit.inventory.meta.ItemMeta; +import pl.mgtm.magicznakraina.MagicznaKraina; +import pl.mgtm.magicznakraina.module.ModuleInfo; +import pl.mgtm.magicznakraina.module.PluginModule; +import pl.mgtm.magicznakraina.modules.better_mobs.events.*; + +import java.util.concurrent.ThreadLocalRandom; + +@ModuleInfo(name = "better_mobs") +public class BetterMobsModule extends PluginModule { + + private final MagicznaKraina pl = MagicznaKraina.getInstance(); + + + public BetterMobsModule() { + super(); + + // Register commands + //super.registerCommand(new SpawnCommand()); + //super.registerCommand(new SetSpawnCommand()); + + // Register events + super.registerEvents(new MobDamageEvent()); + super.registerEvents(new MobDeathEvent()); + super.registerEvents(new MobSpawnEvent()); + super.registerEvents(new BossDeathEvent()); + super.registerEvents(new SilverFishSpawnEvent()); + + } + + public static boolean isTakenFromPlayer(ItemStack item) { + ItemMeta itemMeta = item.getItemMeta(); + + // Check if the item has lore indicating it was taken from a player + if (itemMeta != null && itemMeta.getLore() != null) { + for (String loreLine : itemMeta.getLore()) { + if (loreLine.contains("Taken from player")) { + return true; + } + } + } + + return false; + } + + public static boolean isHostileMob(LivingEntity entity) { + EntityType entityType = entity.getType(); + return entityType.isAlive() && entityType != EntityType.PLAYER && entityType.isSpawnable(); + } + + public static boolean shouldSpawnAsHydra() { + int chance = ThreadLocalRandom.current().nextInt(1, 11); // 10% chance + return chance == 1; + } + + public static boolean shouldSpawnZombieWithExtraSpeed() { + int chance = ThreadLocalRandom.current().nextInt(1, 5); // 25% chance + return chance == 1; + } + + public static boolean shouldSpawnSilverfish(int spawnChance) { + int chance = ThreadLocalRandom.current().nextInt(1, 101); // 1-100 + return chance <= spawnChance; + } + +} diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/BossDeathEvent.java b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/BossDeathEvent.java new file mode 100644 index 0000000..6d694f6 --- /dev/null +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/BossDeathEvent.java @@ -0,0 +1,49 @@ +package pl.mgtm.magicznakraina.modules.better_mobs.events; + +import org.bukkit.ChatColor; +import org.bukkit.Sound; +import org.bukkit.entity.Entity; +import org.bukkit.entity.EntityType; +import org.bukkit.entity.LivingEntity; +import org.bukkit.entity.Player; +import org.bukkit.event.EventHandler; +import org.bukkit.event.Listener; +import org.bukkit.event.entity.EntityDeathEvent; + +public class BossDeathEvent implements Listener { + + @EventHandler + public void onEntityDeath(EntityDeathEvent event) { + Entity entity = event.getEntity(); + + // Check if the entity killed is a mob + if (entity instanceof LivingEntity) { + LivingEntity livingEntity = (LivingEntity) entity; + + // Check if the entity is a Hydra + if (livingEntity.getScoreboardTags().contains("Hydra")) { + // Drop double XP + event.setDroppedExp(event.getDroppedExp() * 2); + + // Play extra sound effect + entity.getWorld().playSound(entity.getLocation(), Sound.ENTITY_WITHER_DEATH, 1.0f, 1.0f); + + if (event.getEntity().getKiller() instanceof Player) { + Player player = event.getEntity().getKiller(); + player.sendMessage(ChatColor.RED + "Hydra: "+ ChatColor.GRAY + "Nie dasz rady mnie zabić...."); + } + + // Spawn 2 additional mobs of the same type + int numExtraMobs = 2; + EntityType entityType = livingEntity.getType(); + for (int i = 0; i < numExtraMobs; i++) { + Entity extraMob = livingEntity.getWorld().spawnEntity(livingEntity.getLocation(), entityType); + if (extraMob instanceof LivingEntity) { + LivingEntity livingExtraMob = (LivingEntity) extraMob; + livingExtraMob.setRemoveWhenFarAway(true); + } + } + } + } + } +} diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobDamageEvent.java b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobDamageEvent.java new file mode 100644 index 0000000..5208800 --- /dev/null +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobDamageEvent.java @@ -0,0 +1,78 @@ +package pl.mgtm.magicznakraina.modules.better_mobs.events; + +import net.kyori.adventure.text.Component; +import org.bukkit.Material; +import org.bukkit.entity.Entity; +import org.bukkit.entity.EntityType; +import org.bukkit.entity.Monster; +import org.bukkit.entity.Player; +import org.bukkit.event.EventHandler; +import org.bukkit.event.Listener; +import org.bukkit.event.entity.EntityDamageByEntityEvent; +import org.bukkit.inventory.EntityEquipment; +import org.bukkit.inventory.ItemStack; +import org.bukkit.util.Vector; + +import java.util.ArrayList; +import java.util.List; +import java.util.Random; + +public class MobDamageEvent implements Listener { + + private final Random random = new Random(); + + @EventHandler + public void onEntityDamageByEntity(EntityDamageByEntityEvent event) { + Entity entity = event.getEntity(); + + + // Check if the damaged entity is a player + if (entity instanceof Player) { + + Player player = (Player) entity; + + //player.sendMessage("damage"); + // Check if the attacking entity is a hostile monster + if (event.getDamager().getType().equals(EntityType.ZOMBIE) + || event.getDamager().getType().equals(EntityType.SPIDER)) { + + // Blast the player into the air + if (random.nextInt(1) == 0) { // 10% chance + //player.sendMessage("To the air!"); + + // Only works when player is jumping + //player.setVelocity(player.getLocation().getDirection().multiply(0).setY(2)); + + // Blast player to the air + player.setVelocity(player.getVelocity().add(new Vector(0, 1, 0))); + } + // Take away player's weapon + if (random.nextInt(2) == 0) { // 1% chance + // Remove player hand item + //player.getInventory().setItemInMainHand(null); + + // Give it the attacker monster + ItemStack weapon = player.getInventory().getItemInMainHand(); + if (weapon != null && !weapon.getType().equals(Material.AIR)) { + player.getInventory().setItemInMainHand(null); + + if (event.getDamager() instanceof Monster) { + Monster attacker = (Monster) event.getDamager(); + EntityEquipment equipment = attacker.getEquipment(); + if (equipment != null) { + if (equipment.getItemInMainHand().getType().equals(Material.AIR)) { + + List lore = new ArrayList<>(); + lore.add(Component.text("Taken from player")); + weapon.lore(lore); + + equipment.setItemInMainHand(weapon); + } + } + } + } + } + } + } + } +} diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobDeathEvent.java b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobDeathEvent.java new file mode 100644 index 0000000..1b50de7 --- /dev/null +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobDeathEvent.java @@ -0,0 +1,72 @@ +package pl.mgtm.magicznakraina.modules.better_mobs.events; + +import org.bukkit.Material; +import org.bukkit.entity.EntityType; +import org.bukkit.entity.LivingEntity; +import org.bukkit.entity.Monster; +import org.bukkit.event.EventHandler; +import org.bukkit.event.Listener; +import org.bukkit.event.entity.EntityDeathEvent; +import org.bukkit.inventory.EntityEquipment; +import org.bukkit.inventory.ItemStack; +import pl.mgtm.magicznakraina.modules.better_mobs.BetterMobsModule; + + +public class MobDeathEvent implements Listener { + + @EventHandler + public void onEntityDeath(EntityDeathEvent event) { + LivingEntity entity = event.getEntity(); + + // Check if the entity killed is a boss (Ender Dragon or Wither) + if (entity.getType().equals(EntityType.ENDER_DRAGON) + || entity.getType().equals(EntityType.WITHER)) { + + + // Increase boss health and damage + entity.setMaxHealth(entity.getMaxHealth() * 2); + entity.setHealth(entity.getMaxHealth()); + } + + + // Check if the entity killed is a Zombie or Spider + if (entity.getType().equals(EntityType.ZOMBIE) || entity.getType().equals(EntityType.SPIDER) || entity.getType().equals(EntityType.SKELETON)) { + // Remove all item drop from entity + //event.getDrops().clear(); + + event.getDrops().removeIf(item -> + item.getType().equals(Material.SHIELD) + || item.getType().toString().endsWith("_SWORD") + || item.getType().toString().endsWith("_AXE") + || item.getType().toString().endsWith("_PICKAXE") + || item.getType().toString().endsWith("_SHOVEL") + || item.getType().toString().endsWith("_HOE") + || item.getType().toString().endsWith("_HELMET") + || item.getType().toString().endsWith("_CHESTPLATE") + || item.getType().toString().endsWith("_LEGGINGS") + || item.getType().toString().endsWith("_BOOTS")); + + //Bukkit.getPlayer("Merlin_PlayGames").sendMessage(event.getDrops() + ""); + + if (entity instanceof Monster) { + Monster monster = (Monster) entity; + EntityEquipment equipment = monster.getEquipment(); + if (equipment != null) { + // Check if the main hand item is not empty + ItemStack mainHandItem = equipment.getItemInMainHand(); + if (mainHandItem != null && !mainHandItem.getType().equals(Material.AIR)) { + // If the item is not generated by plugin + if (BetterMobsModule.isTakenFromPlayer(mainHandItem)) { + // Clear item lore + mainHandItem.lore(null); + // Drop the main hand item on death + event.getDrops().add(mainHandItem); + } + + } + } + } + } + } + +} diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobSpawnEvent.java b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobSpawnEvent.java new file mode 100644 index 0000000..8cf9c68 --- /dev/null +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/MobSpawnEvent.java @@ -0,0 +1,93 @@ +package pl.mgtm.magicznakraina.modules.better_mobs.events; + +import org.bukkit.ChatColor; +import org.bukkit.Material; +import org.bukkit.attribute.Attribute; +import org.bukkit.enchantments.Enchantment; +import org.bukkit.entity.*; +import org.bukkit.event.EventHandler; +import org.bukkit.event.Listener; +import org.bukkit.event.entity.EntitySpawnEvent; +import org.bukkit.inventory.ItemStack; +import pl.mgtm.magicznakraina.modules.better_mobs.BetterMobsModule; + +import java.util.Random; +import java.util.concurrent.ThreadLocalRandom; + +public class MobSpawnEvent implements Listener { + + private final Random random = new Random(); + + @EventHandler + public void onEntitySpawn(EntitySpawnEvent event) { + if (event.getEntity() instanceof Monster) { + Monster monster = (Monster) event.getEntity(); + + Entity entity = event.getEntity(); + + if (entity instanceof LivingEntity) { + + LivingEntity livingEntity = (LivingEntity) entity; + + // Check if the entity is a hostile mob + if (BetterMobsModule.isHostileMob(livingEntity)) { + // Check if the mob should be spawned as a Hydra + if (BetterMobsModule.shouldSpawnAsHydra()) { + livingEntity.setCustomName(ChatColor.RED + "Hydra"); + livingEntity.setCustomNameVisible(true); + livingEntity.getAttribute(Attribute.GENERIC_MAX_HEALTH).setBaseValue(livingEntity.getMaxHealth() * 2); + livingEntity.setHealth(livingEntity.getMaxHealth()); + livingEntity.addScoreboardTag("Hydra"); + } else if (entity.getType() == EntityType.ZOMBIE) { + // Check if the mob should have extra speed + if (BetterMobsModule.shouldSpawnZombieWithExtraSpeed()) { + Zombie zombie = (Zombie) entity; + zombie.setBaby(false); + zombie.setAdult(); + double speed = ThreadLocalRandom.current().nextDouble(0.2, 0.6); + zombie.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).setBaseValue(speed); // Adjust the speed + } + } + } + + } + + // Spawn monsters with armor and sword + + + if (!monster.getType().equals(EntityType.ZOMBIE) && !monster.getType().equals(EntityType.SPIDER) && !monster.getType().equals(EntityType.SKELETON)) { + return; + } + + // Spawn with enchanted armor and weapons + if (random.nextInt(10) == 0) { // 10% chance + ItemStack helmet = new ItemStack(Material.DIAMOND_HELMET); + helmet.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2); + monster.getEquipment().setHelmet(helmet); + } + if (random.nextInt(10) == 0) { // 10% chance + ItemStack chestplate = new ItemStack(Material.DIAMOND_CHESTPLATE); + chestplate.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2); + monster.getEquipment().setChestplate(chestplate); + } + if (random.nextInt(10) == 0) { // 10% chance + ItemStack leggings = new ItemStack(Material.DIAMOND_LEGGINGS); + leggings.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2); + monster.getEquipment().setLeggings(leggings); + } + if (random.nextInt(10) == 0) { // 10% chance + ItemStack boots = new ItemStack(Material.DIAMOND_BOOTS); + boots.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2); + monster.getEquipment().setBoots(boots); + } + if (random.nextInt(10) == 0) { // 10% chance + ItemStack weapon = new ItemStack(Material.DIAMOND_SWORD); + weapon.addEnchantment(Enchantment.DAMAGE_ALL, 2); + monster.getEquipment().setItemInMainHand(weapon); + } + + } + } + + +} diff --git a/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/SilverFishSpawnEvent.java b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/SilverFishSpawnEvent.java new file mode 100644 index 0000000..d1c19fe --- /dev/null +++ b/plugin/src/main/java/pl/mgtm/magicznakraina/modules/better_mobs/events/SilverFishSpawnEvent.java @@ -0,0 +1,40 @@ +package pl.mgtm.magicznakraina.modules.better_mobs.events; + +import org.bukkit.Material; +import org.bukkit.block.Block; +import org.bukkit.entity.EntityType; +import org.bukkit.event.EventHandler; +import org.bukkit.event.Listener; +import org.bukkit.event.block.BlockBreakEvent; +import pl.mgtm.magicznakraina.modules.better_mobs.BetterMobsModule; + +public class SilverFishSpawnEvent implements Listener { + + @EventHandler + public void onBlockBreak(BlockBreakEvent event) { + Block block = event.getBlock(); + + // Check if the broken block is Stone + if (block.getType() == Material.STONE) { + // Get the Y-coordinate of the broken block + int blockY = block.getLocation().getBlockY(); + + // Check the height and the chance to spawn Silverfish + int spawnChance = 0; + if (blockY < 30) { + spawnChance = 15; // 15% chance for height below 30 + } else if (blockY < 50) { + spawnChance = 5; // 5% chance for height below 50 + } else if (blockY < 100) { + spawnChance = 3; // 3% chance for height below 100 + } else if (blockY < 150) { + spawnChance = 2; // 2% chance for height below 150 + } + + // Check if Silverfish should be spawned + if (spawnChance > 0 && BetterMobsModule.shouldSpawnSilverfish(spawnChance)) { + block.getWorld().spawnEntity(block.getLocation(), EntityType.SILVERFISH); + } + } + } +} diff --git a/plugin/src/main/resources/config.yml b/plugin/src/main/resources/config.yml deleted file mode 100644 index a2f4b46..0000000 --- a/plugin/src/main/resources/config.yml +++ /dev/null @@ -1,139 +0,0 @@ -# =================================================================== # -# # -# Default config # -# # -# =================================================================== # - -# =================================================================== # -# # -# MODULES # -# # -# =================================================================== # - -modules: - serduszko: - enabled: true - kits: - enabled: true - clever-sleep: - enabled: true - protect-chests: - enabled: true - welcome: - enabled: true - -# =================================================================== # -# # -# Serduszko module # -# # -# =================================================================== # - -# Default hearts when new user joined the server -defaultHearts: 6 -playerHeartsLimit: 40.0 - -playerHearts: - # Default hearts when new user joined the server - default: 6 - # Max hearts player can get - limit: 40.0 - # Players can increase hearts by spending XP. Here is the list of required levels for each heart level. - levels: - -playerRevive: - # When player is banned because his hearts reached 0 HP, other users can revive this player. - enabled: true - # When player hearts reach 0 HP he will be banned. - banOnZeroHearts: true - # Items required for revive. The items will be taken away. - # If the list is empty it will take 50 levels by default to revive a player. - items: - - diamond,16 - - gold,32 - - golden_apple,2 - - ender_pearl,2 - level: 15 - - # =================================================================== # - # # - # SPAWN # - # # - # =================================================================== # - -# Spawn location -spawn: - enabled: false - teleportOnRespawn: true - - # =================================================================== # - # # - # Join/Leave messages # - # # - # =================================================================== # - -# Mesasges -# Variables: -# {username} - display player username -join-message: "&7[&a+&7] {username}" -leave-message: "&7[&c-&7] {username}" - - -# =================================================================== # -# # -# KITS # -# # -# =================================================================== # - -# Kits -# {delay} - number of seconds for another use -kits: - start: - label: "" - itemslot: 100 - useOnce: true - delay: 0 - items: - - wooden_sword,1 - - cooked_beef,32 - - leather_helmet,1 - - leather_chestplate,1 - - leather_leggings,1 - - leather_boots,1 - -# =================================================================== # -# # -# SOCIAL # -# # -# =================================================================== # - -# Social messages -social: - discord: "Pogadaj z innymi na naszym Discordzie => https://discord.mgtm.pl/ :-)" - youtube: "" - www: "" - -# =================================================================== # -# # -# USERS CONFIG # -# # -# =================================================================== # - -# Players configuration -users: - -# =================================================================== # -# # -# DATASTORAGE # -# # -# =================================================================== # - -# Select where the plugin data will be store [config|api] -data-storage: "config" - -# =================================================================== # -# # -# API # -# # -# =================================================================== # -apiUrl: "https://api.example.com/" -apiKey: "YOUR_API_KEY_HERE" \ No newline at end of file From 90d103b546333eaaa68c53444af3e9c584dc1a1c Mon Sep 17 00:00:00 2001 From: m7rlin Date: Fri, 9 Jun 2023 23:46:09 +0200 Subject: [PATCH 2/2] (chore) release 1.2.0 --- plugin/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/pom.xml b/plugin/pom.xml index 1fc0b51..77f592c 100644 --- a/plugin/pom.xml +++ b/plugin/pom.xml @@ -6,7 +6,7 @@ pl.mgtm MagicznaKraina - 1.1.1 + 1.2.0 jar MagicznaKraina