MobManager

Description:
- MobManager's limiter aims to limit the number of mobs that can spawn at one time while still providing the appearance of having lots of mobs (Or less if you really want)
- MobManager's Abilities allow you to fully customize the difficulty of each mob, per world!
- MobManager's Bounty component gives you a flexible way to give players rewards when killing mobs
- MobManager's Spawner gives you total control over where different mobs spawn. Perfect to complete a rpg experience or just add a difficulty to your survival server.
Component Features:
Limiter
- Stop mobs from spawning when no players are nearby
- Stop mobs from spawning when no players are on or near the same height
- Limit the number of mobs allowed to spawn per world
- Limit the number of mobs allowed to spawn dynamically depending on the number of loaded chunks in a world
- Limit the number of mobs allowed to spawn by type (Monsters/Animals/Water Animals/Ambient/Villagers)
- Automagically despawns mobs which move out of range of players
- Does not despawn animals which are in farms Read more
- Does not despawn mobs which have picked up players armor or weapons
- Has the option to stop mobs from spawning near players in creative mode
- Can prevent mobs from spawning which you don't want
- Can allow mobs to spawn without counting towards the mob limits
- Super efficient!
- Optional Multi-Threaded despawner
Abilities
- Customisable Mob Abilities!!
- Customisable Mob SpawnRates
- Have mobs spawn as babies, Creepers spawn Charged and Wolves spawn Angry!
- Customisable Mob Bonus Health
- Customisable Mob Damage Multipliers
- Customisable Mob Potion effects (Last for the life of the mob)
- Customisable Mob Bonus Spawns (Spawn mobs on certain mob when it spawns/dies)
- Customisable Mob Armour sets (Per position, with enchantments)
- Customisable Mob Starting Items/Weapons
- Customisable Mob Drops (Count Range per item, set data, durability and enchantments!)
- Customisable Mob Ability Sets (Combine the above abilities together to create rare super mobs! (Or common :P))
- Show Mob Ability Set names above their heads!! (Mincraft 1.5+ only)
- Highly configurable!
Bounty
- Give players rewards for killing mobs
- Supports fines (Loss of money or experience)
- Customizable message upon receiving a reward/fine
- Rewards can be Money (Requires vault), Item drops or experience
- Set min/max reward values for each mob
- Set reward multipliers for worlds, biomes, time, permissions and even for AbilitySets (Requires Abilities component to be enabled)
- Exploit prevention techniques to prevent players from exploiting your server to earn rewards very fast
Spawner
- Spawns custom mobs around players
- Create specific regions with different sets of mobs which spawn within
- Control max/min distances for spawning in different regions
- Extensive mob limit system. Limit per player, region and specific mob type
- Default config similar to vanilla spawning (To use as a guide/template)
- Spawn requirements for every mob (Which spawn location must meet. Block Standing on, light levels, height, time, biome, world type
- Spawn actions performed upon spawns. Send messages to nearby players or run commands when your mob spawns.
What is a component?
A component is simply a part of MobManager. Every component can be enabled/disabled individually from config.ymlTo do
- Add Protection component to MobManager (Protect the world from things like explosions or Endermen picking up blocks)
Note: Ordered by importance to me (Higher == More important) (Your needs are important to me :D)
Commands:
- /mm help - Prints information about all the available commands
- /mm count - Prints mob counts and limits for each world which MobManager is active. Also prints totals for the server
- /mm count <WorldName> - Prints mob counts and limits for the specific world
- /mm butcher - Removes all mobs (Except villagers) from worlds enabled in MobManager
- /mm butcher <MobTypes> - Removes the given mob types from all worlds enabled in MobManager
- /mm spawn <MobType> <count> [world] [x] [y] [z] - Spawn a given mob at the location (Or yours)
- /mm spawnset <AbilitySetName> <count> [world] [x] [y] [z] - Spawn a given mob at the location (Or yours)
- /mm pspawn <MobType> <count> <Player> - Spawn a given mob on a player
- /mm pspawnset <AbilitySetName> <count> <Player> - Spawn a given mob on a player
- /mm abilitysets - Lists all AbilitySet names (Along with the mobtype) which can be used in /mm spawnset
- /mm mobtypes - Lists all valid EntityTypes for use in configs
- /mm reload - Reloads MobManagers configs
- /mm version - Tells you MobMangers current version + Checks my website for new versions
M = Monster, A = Animal, W = Water Animal (Squid), Am = Ambient Mob (Bats), V = Villagers
Permissions:
- mobmanager.admin - Gives permission to use all /mm commands (Default: OP)
- mobmanager.count - Gives permission to use the /mm count command
- mobmanager.butcher - Gives permission to use the /mm butcher command
- mobmanager.version - Gives permission to use the /mm version command
- mobmanager.reload - Gives permission to use the /mm reload command
- mobmanager.spawn - Gives permission to use the /mm spawn command
- mobmanager.pspawn - Gives permission to use the /mm pspawn command
- mobmanager.abilitysetlist - Gives permission to use the /mm abilitysets command
- mobmanager.mobtypes - Gives permission to use the /mm mobtypes command
Configuration:
As of v2.2 MobManagers configuration files consists of three parts- config.yml - Contains settings to enable/disable MobManager components
- Global configs - Contains global configs for each component, located in MobManager/<component>.yml
- World Configs - Contains settings for each component for each world located in MobManager/worlds/<worldname>/<component>.yml
Every config file contains a header block explaining every setting.
When you first install MobManager world and global configs are auto-magically generated. By default only MobManagers Limiter is enabled, configs for abilities are generated if the component is enabled The defaults for the limiter are pretty conservative. So you may wish to increase the limits. If you need help with the config feel free to PM me and I can make one for you :)
Auto-Update Checker
Mobmanager includes a update checker/downloader. It uses this project page to check for new approved builds. The /mm version command can be used to check if a new version is available on bukkit dev. The update checker is enabled by default and can be disabled in config.yml by setting EnableVersionCheck to false The update downloader is disabled by default can be enabled in config.yml by setting EnableAutoUpdater to trueStatistics
MobManager utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- MobManager components enabled
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true
Public Test Server
Public test server has been shut down, will try get a new one in the futureAddress: mc.forgenz.com
Note: After joining, type /warp dev
Note: The test server only has the limiter component enabled
Developer Builds
Development builds of this project can be acquired at the provided continuous integration server.These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Dev Builds
Configuration | Statistics | Reading
-
View User Profile
-
Send Message
Posted May 22, 2014Hmm... my server doesnt have any mobs spawning at all when i just install the mobmanager without doing any further configuration. But as soon as i activate the spawner.yml, mobs are spawning all over the place. But: everything i configured in the abilities.yml will be ignored. The spawner-component doesnt take care of the abilities.yml.
Do i have this right, do i have to put all my abilitysets (their names) into the spawner.yml as well? How exactly do i do that, since it seems i can only type one ability per mobtype at once.
I see how the spawner-component CAN increase the mob handling for different regions massively but if you dont want to use that component, you might have very big trouble.
This was way easier in the older mobmanager-versions, where you just installed it, edited some things in your abilities.yml and it just ran fine.
-
View User Profile
-
Send Message
Posted May 21, 2014@kSheng8468 What exactly do you mean? Are there witches everywhere right now even you didnt want them to? Or do you wanna know how you can have them everywhere (together with other or even as the only mobtype)?
@tailang Erm... can you pastebin your abilities.yml somewhere? As you can clearly see, the coding is totally off here in the comment's system.
Or maybe you can edit/repost your abilities.yml with the right markup-type (plain text for example).
For me, the ONLY way to be absolutely sure everything's fine with my .yml-files is to set up an offline server and check the console! When it's been flooded with warnings or errors from on or more plugins (in this case: mobmanager), it tells you exactly in which file, which line and which column the first character (or number) appears, that causes an error.
Check this image for example:

Cya, Mäxl
-
View User Profile
-
Send Message
Posted May 20, 2014I corrected abilities.yml many times and I don't konw where is the problem is . It always become Backup-1400631028-abilities.yml I NEED HELP 。。。 It's my abilities.yml:
EnabledWorlds: - BOSSworld LimitBonusSpawns: true BonusSpawnRange: 16 BonusSpawnHeightRange: 4 CommandPSpawnMinRange: 8 UseCircleLocationGeneration: true BonusSpawnUseRadius: true CommandSpawnUseRadius: true CommandPSpawnUseRadius: true CommandPSpawnRadiusAllowCenter: true AbilitySets: ZOMBIEone: BabyRate: 0.0 AngryRate: 1.0 ChargedRate: 0.0 SpawnRate: 1.0 VillagerRate: 1.0 Name: - Chance: 1 Name: '§a在必胜客打工§c[偷吃]§a的僵尸' ShowOverhead: true - Chance: 1 Name: '§d吃肯德基上瘾的僵尸' ShowOverhead: true BirthSpawn: - Chance: 1 MobType: PIG_ZOMBIE COUNT: 5 DeathSpawn: - Chance: 1 MobType: SKELETON COUNT: 3 PotionEffects: - Chance: 1 Effects: - SPEED:2 - WATER_BREATHING:3 - JUMP:2 HealthBonus: - Chance: 1 Bonus: 8000.0 DamageMulti: - Chance: 50 Multi: 20.0 - Chance: 30 Multi: 35.0 - Chance: 20 Multi: 60.0 ArmourSet: - Chance: 1 Pieces: - Position: HELMET Material: LEATHER DropChance: 1 - Position: CHESTPLATE Material: LEATHER DropChance: 1 - Position: LEGGINGS Material: LEATHER DropChance: 1 - Position: BOOTS Material: LEATHER DropChance: 1 Item_Hand: - Chance: 1 Pieces: - Position: HAND CustomItem: type: 269 damage: 3 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3勇猛僵尸的小木铲' lore: - '§2看来他生前也是个勤奋的人呢' - '§1拿来收藏好了这么难得的木铲!' - '§3服主说这可是BOSS世界的证明哦' Drops: - Chance: 1 Pieces: - Position: HELMET CustomItem: type: 298 damage: 3 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3勇猛僵尸的破损头盔' lore: - '§2看来他生前也很孤单呢' - '§1虽是破损头盔,肯定能卖个好价' - '§3服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 2 PROTECTION_PROJECTILE: 1 PROTECTION_FIRE: 1 - Chance: 1 Pieces: - Position: CHESTPLATE CustomItem: type: 299 damage: 6 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3勇猛僵尸的破损护甲' lore: - '§2又一件战甲,我能不能集齐一套呢' - '§1虽然是破损的战甲,肯定能卖个好价钱' - '§3服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 2 PROTECTION_PROJECTILE: 2 - Chance: 1 Pieces: - Position: LEGGINGS CustomItem: type: 300 damage: 4 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3勇猛僵尸的破损护腿' lore: - '§2僵尸还穿裤子?有木有搞错' - '§1虽然是破损的护腿,肯定能卖个好价钱' - '§3服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 4 DURABILITY: 3 - Chance: 1 CustomItem: type: 339 amount: -40 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§2Him小管家的宝物' lore: - '§6[真*§cBOSS§6之印碎片]' - '§9去问问太郎这个能不能换钱吧' ZOMBIEtwo: BabyRate: 0.5 AngryRate: 1.0 ChargedRate: 0.0 SpawnRate: 1.0 VillagerRate: 1.0 Name: - Chance: 1 Name: '§dHim家的小管家' ShowOverhead: true - Chance: 1 Name: '§dHim家的扫地大叔§a[怪异]' ShowOverhead: true BirthSpawn: - Chance: 1 MobType: PIG_ZOMBIE COUNT: 8 DeathSpawn: - Chance: 1 MobType: SKELETON COUNT: 6 PotionEffects: - Chance: 1 Effects: - SPEED:2 - WATER_BREATHING:3 - JUMP:2 - FIRE_RESISTANCE:2 HealthBonus: - Chance: 1 Bonus: 10000.0 DamageMulti: - Chance: 50 Multi: 30.0 - Chance: 30 Multi: 45.0 - Chance: 20 Multi: 65.0 ArmourSet: - Chance: 1 Pieces: - Position: HELMET Material: LEATHER DropChance: 1 - Position: CHESTPLATE Material: LEATHER DropChance: 1 - Position: LEGGINGS Material: LEATHER DropChance: 1 - Position: BOOTS Material: LEATHER DropChance: 1 Item_Hand: - Chance: 1 Pieces: - Position: HAND CustomItem: type: 280 damage: 3 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3小管家的拐杖' lore: - '§2看来他生前也是个绅士呢' - '§1拿拐杖来装逼,简直屌炸!' - '§3服主说这可是BOSS世界的证明哦' Drops: - Chance: 1 Pieces: - Position: HELMET CustomItem: type: 298 damage: 3 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§5小管家的爵士帽' lore: - '§9看来他生前也是位绅士呢' - '§c啊咧!爵士帽,自己留着吧' - '§d服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 3 PROTECTION_PROJECTILE: 2 PROTECTION_FIRE: 1 - Chance: 1 Pieces: - Position: CHESTPLATE CustomItem: type: 307 damage: 6 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§5小管家的晚礼服' lore: - '§9又一件战甲,我能不能集齐一套呢' - '§c晚礼服嘛,送给基友好啦么么哒!' - '§d服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 3 PROTECTION_PROJECTILE: 3 - Chance: 1 Pieces: - Position: LEGGINGS CustomItem: type: 308 damage: 4 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3小管家帅气的西裤' lore: - '§9这么帅的裤子?有木有搞错' - '§c唔!裤子嘛卖掉或者自己用吧' - '§d服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 4 DURABILITY: 4 - Chance: 1 CustomItem: type: 339 amount: -40 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§2Him小管家的宝物' lore: - '§6[真*§cBOSS§6之印碎片]' - '§9去问问太郎这个能不能换钱吧' EnabledSpawnReasons: - NATURAL - JOCKEY - CHUNK_GEN - SPAWNER - EGG - SPAWNER_EGG - LIGHTNING - BED - BUILD_SNOWMAN - BUILD_IRONGOLEM - BUILD_WITHER - VILLAGE_DEFENSE - VILLAGE_INVASION - BREEDING - SLIME_SPLIT - REINFORCEMENTS - NETHER_PORTAL - DISPENSE_EGG - DEFAULT MobAbilities: ZOMBIE: BabyRate: 0.0 AngryRate: 1.0 ChargedRate: 0.0 SpawnRate: 1.0 VillagerRate: 1.0 Name: - Chance: 1 Name: '§a在必胜客打工§c[偷吃]§a的僵尸' ShowOverhead: true - Chance: 1 Name: '§d吃肯德基上瘾的僵尸' ShowOverhead: true BirthSpawn: - Chance: 1 MobType: PIG_ZOMBIE COUNT: 5 DeathSpawn: - Chance: 1 MobType: SKELETON COUNT: 3 PotionEffects: - Chance: 1 Effects: - SPEED:2 - WATER_BREATHING:3 - JUMP:2 HealthBonus: - Chance: 1 Bonus: 8000.0 DamageMulti: - Chance: 50 Multi: 20.0 - Chance: 30 Multi: 35.0 - Chance: 20 Multi: 60.0 ArmourSet: - Chance: 1 Pieces: - Position: HELMET Material: LEATHER DropChance: 1 - Position: CHESTPLATE Material: LEATHER DropChance: 1 - Position: LEGGINGS Material: LEATHER DropChance: 1 - Position: BOOTS Material: LEATHER DropChance: 1 Item_Hand: - Chance: 1 Pieces: - Position: HAND CustomItem: type: 269 damage: 3 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3勇猛僵尸的小木铲' lore: - '§2看来他生前也是个勤奋的人呢' - '§1拿来收藏好了这么难得的木铲!' - '§3服主说这可是BOSS世界的证明哦' Drops: - Chance: 1 Pieces: - Position: HELMET CustomItem: type: 298 damage: 3 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3勇猛僵尸的破损头盔' lore: - '§2看来他生前也很孤单呢' - '§1虽是破损头盔,肯定能卖个好价' - '§3服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 2 PROTECTION_PROJECTILE: 1 PROTECTION_FIRE: 1 - Chance: 1 Pieces: - Position: CHESTPLATE CustomItem: type: 299 damage: 6 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3勇猛僵尸的破损护甲' lore: - '§2又一件战甲,我能不能集齐一套呢' - '§1虽然是破损的战甲,肯定能卖个好价钱' - '§3服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 2 PROTECTION_PROJECTILE: 2 - Chance: 1 Pieces: - Position: LEGGINGS CustomItem: type: 300 damage: 4 amount: -20 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§3勇猛僵尸的破损护腿' lore: - '§2僵尸还穿裤子?有木有搞错' - '§1虽然是破损的护腿,肯定能卖个好价钱' - '§3服主说这可是BOSS世界的证明哦' enchants: PROTECTION_ENVIRONMENTAL: 4 DURABILITY: 3 - Chance: 1 CustomItem: type: 339 amount: -40 amount-max: 1 meta:
: ItemMeta
meta-type: UNSPECIFIC display-name: '§2Him小管家的宝物' lore: - '§6[真*§cBOSS§6之印碎片]' - '§9去问问太郎这个能不能换钱吧'
-
View User Profile
-
Send Message
Posted May 20, 2014Plz Help! I know I'm kinda stupid but how there can be witches everywhere after I use the spawner?
-
View User Profile
-
Send Message
Posted May 20, 2014Hey there, it's been a long time since i last "complained" about something ;)
I've been (and i still am) very happy and super-pleased with your plugin, since i think it's still the best one to not only control the way HOW the mobs (de)spawn but also, what they would have equipped, what they can drop, what they have as potion effects etc...
But i'm still wondering:
Is there a way to improve the behavior of the mob's variety? Or better, especially the item's variety?
There are many plugins (ItemAttributes for example, also up here on bukkit), which add more attributes to the items and the players. Is there any way to use them together?
It would be great, if there is a way to make mobmanager have my zombies not only dropping a sword with "Durability +2" (like the basic Minecraft would allow), but also the new attributes from the mentioned plugin, that for example provides livesteal or faster attack rate and so on.
I just want to provide my players the most possible variety but without changing the game too much and losing too much control. That's, why i dont want to install mythic drops (too complicated for my german speaking player-companions).
Of course it's okay when it's not possible to use them both (or use mobmanager together with any other similar plugin that provides new stats and stuff).
In either case, are there plugins you can recommend for people like me?
Thanks in advance, as always :)
-
View User Profile
-
Send Message
Posted May 15, 2014I would love to see the option to ignore Op as well as creative. There are many times I would like players to kill me but not the mobs around them.
Also if there was a way to limit total number of hostel mobs with the spawn radius. When there are few people on the server players are getting swamped.
-
View User Profile
-
Send Message
Posted May 13, 2014Could you update this to 1.7.9, it even seems to work, But I'm getting spammed with this in my console : [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to MobManager v3.0.3 org.bukkit.event.EventException
I'm using spigot #1472 and the latest dev build of mob manager (the only file available on the build server).
Complete Error: http://pastebin.com/J4GgZFqH
-
View User Profile
-
Send Message
Posted May 13, 2014Awesome plugin!
-
View User Profile
-
Send Message
Posted May 9, 2014Can you have a default(normal) version of config file? Now the witch is spawning everywhere lol
-
View User Profile
-
Send Message
Posted May 8, 2014@ShadowDog007
Please change the command from /mm to something else. It conflicts with MythicMobs..-_-
-
View User Profile
-
Send Message
Posted May 6, 2014@searonoko
maybe it would be what you want, if you set in the worlds spawner.yml the "MaxPlayerMobs: #" to a high value and check if in the limiter are enough mobs of the kind you want.
-
View User Profile
-
Send Message
Posted May 5, 2014Is there any way to use this to increase spawn rates of a specific mob? I want an overwhelming amount of zombies to spawn on my server and this seems like the closest thing to what I need.
-
View User Profile
-
Send Message
Posted May 5, 2014@ShadowDog007
Don't ask me why. But now the Bow drops.
I'm sure that the amount of the Bounty is not like the multiplier I set, is about a mistake somewhere on my side.
So everything works fine. Thank you for your help :)
-
View User Profile
-
Send Message
Posted May 4, 2014I can't tell if I am just configuring this wrong, or if the limits are just not working the way they are meant to work, but I have for example MaxPlayerMobs in spawner for each region set to 3. I presume that means that only 3 mobs per player should exist at a time. Yet the longer a player stands there, the more mobs spawn. It isn't too long before there are 20+ mobs surrounding a single player, and it just gets insane before long.
Am I missing something else?
This is an example of what I have set up:
-
View User Profile
-
Send Message
Posted May 3, 2014@ShadowDog007
It's not so much that I'm wanting to prevent crazy number of mobs from spawning as I am wanting to prevent mob grinders from being efficient. If I were to limit a monster spawner to only having 4 active mobs at once, it will almost completely lure players away from using mob grinders, while still retaining the functionality of the monster spawner. And with that other plugin, if you had a double spawner, you would have a total of 8 mobs, triple spawner would be 12; which makes double and triple spawners extremely rare and useful.
-
View User Profile
-
Send Message
Posted May 3, 2014@x_clucky
Its not too hard to simply use the limiter component to prevent crazy numbers of mobs from spawning.
I might consider it for my rewrite which I don't know when I will be doing =3
-
View User Profile
-
Send Message
Posted May 3, 2014Could you consider integrating a feature into MobManager that is currently featured in the outdated MobSpawnControl (http://dev.bukkit.org/bukkit-plugins/mob-spawn-control/)? I need a way to limit how many mobs one single spawner can produce.
-
View User Profile
-
Send Message
Posted May 1, 2014@Kamaling @Lekmerison
I will try testing these issues myself tonight.
@tkx
Does it not say [MM-Limiter]? =3
-
View User Profile
-
Send Message
Posted May 1, 2014@ShadowDog007
This is just with the limiter on. I didn't want to make many changes until I knew everything was working properly.
-
View User Profile
-
Send Message
Posted Apr 30, 2014It seems that applyset doesn't work... I've created an AbilitySets named "ZombieKing", Its working, I can invoc him in game too (thanks to /mm spawnset).
Well, In my Abilities, for ZOMBIE I have this :
ApplySets: - Chance: 99 SetName: NONE - Chance: 1 SetName: ZombieKing
The SetName "NONE" is not working ! The ZombieKing spawn everytime... Can you help ?