Infernal Mobs
Infernal Mobs
Features
Mobs will randomly become "infernal", then they will become mini bosses. They get a random amount of random powers, a name tag proclaiming them "infernal", and when they die they will drop random enchanted loot. I saw this mod for Forge made by Atomic Stryker, and thought I would make a version for Bukkit. Most aspects of this mod are configurable.
A picture of an Infernal Spider:
A picture of an Infernal Chicken with the boss bar:
--------------------------------------------------------------
Powers
Poisonous: Gives player the poison effect.
Armoured: Give mobs full diamond armour or a resistance effect.
Blinding: Gives player the blindness effect.
Withering: Gives player the withering effect.
Tosser: Tosses the player around.
Thief: Steals the item the player is holding.
Quicksand: Gives player the slowness effect.
Bullwark: Takes less damage.
Rust: Damages the tool the player is holding.
Sapper: Gives player the hunger effect.
1up: Has 2 lives.
Cloaked: Is invisible.
Ender: Can teleport.
Ghastly: Shoots fireballs.
Lifesteal: Gets health from damaging player.
Sprint: Can go fast.
Storm: Strikes the player with lightning.
Webber: Makes a web at the players feet.
Vengeance: Gives damage from being hit.
Weakness: Gives player the weakness effect.
Berserk: Damages the player more, but takes damage from attacking.
Explode: Explodes on death.
Potions: Throws harmful potions at the player.
Mama: Has a slim chance to spawn three babies of its type.
Molten: Is immune to fire/lava, starts a fire on death and lights the player on fie.
Archer: Randomly shoots a volley of arrows at player.
Necromancer: Shoots wither skulls.
Firework: Fireworks explode from mob when hit.
Gravity: Levitates the player for a while.
Flying: Mob can fly.
Mounted: Riding on another mob.
Morph: Can infrequently morph into another infernal mob.
Ghost: On death a ghost is spawned.
Confusing: Gives player the confusion effect.
--------------------------------------------------------------
Loot:
The download comes with 100+ predefined loot drops, but there are so many options to define and create your own loot, that this plugin may as well be a loot drops plugin!
--------------------------------------------------------------
Magic
You can make Infernal Mobs drop magic staffs by installing my plugin WizardlyMagic.
Then copy the contents of this paste-bin to the bottom of your loot file.
If you modified your loot file, or have an old version, you may need to edit the index numbers.
Then reload your loot file with /im reload, then the staffs should drop!
--------------------------------------------------------------
Commands
/im reload
/im worldInfo
/im error
/im getloot <index>
/im setloot <index>
/im abilities
/im showAbilities
/im setInfernal <time delay>
/im spawn <mob> <ability> <ability>
/im cspawn <mob> <world> <x> <y> <z> <ability> <ability>
/im pspawn <mob> <player> <ability> <ability>
/im kill <size>
/im killall <world>
--------------------------------------------------------------
Permissions
Permission to use the commands:
"infernal_mobs.commands"
--------------------------------------------------------------
Installation
--------------------------------------------------------------
Media
An animation about an Infernal Zombie:
A plugin spotlight:
--------------------------------------------------------------
Incompatibilities
There have been instances of incompatibilities with other plugins, any plugin that changes mob names or messes with mob spawning may cause some problems. While they may not be game-braking you may see some weird things and some features might not work.
Known incompatible plugins:
- LeveledMobs v15.0
- MobArena v0.96.6
- Any plugin (like MCMMO) that uses score-boards may cause lagg when combined with IM (if you have IM score-boards enabled).
--------------------------------------------------------------
DEV Build:
Has not been approved by Bukkit, use at your own risk:
Link Removed: http://www.mediafire.com/download/67s7q3i35umygtx/InfernalMobs.jar
--------------------------------------------------------------
Upcoming Features
- IDK, ask and I might add!
- Pre-Defined Custom Mobs?
--------------------------------------------------------------
Problems?
If you have a problem please create a ticket and include the error (If there was one) and a link to a paste-bin of your config.
If you just post the error in the comments section or PM me I might not see it. Thanks.
--------------------------------------------------------------
MC Stats
This plugin sends info on how many servers and players are using this plugin.
If you wish to disable the usage stats, look at /plugins/PluginMetrics/config.yml.
--------------------------------------------------------------
Licence
This plugin is distributed under the CC BY-NC-SA licence:
https://creativecommons.org/licenses/by-nc-sa/3.0/
--------------------------------------------------------------
Donate
If you like my plugins and want to help me out:
--------------------------------------------------------------
YouTube/FaceBook/Twitter
Check out my YouTube for more Minecraft awesomeness:
http://www.youtube.com/user/Jacobvejvoda
Keep up to date with my stuffs at my FB page/Twitter:
https://www.facebook.com/EliminatorProductions
https://twitter.com/Elimnator
--------------------------------------------------------------
How to disable exploding mobs? I set explode to false, but it didn't do anything.
Hello,I really like this plugin toooooo,but when running on paper-1.16.5-437.
I suppost this a simple problem, wish you can solve
A mob call PigZombie maybe not exist at 1.16
[10:13:32 WARN]: java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_16_R3.entity.CraftPiglin cannot be cast to class org.bukkit.entity.PigZombie (org.bukkit.craftbukkit.v1_16_R3.entity.CraftPiglin and org.bukkit.entity.PigZombie are in unnamed module of loader 'app')
[10:13:32 WARN]: at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.isBaby(infernal_mobs.java:966)
[10:13:32 WARN]: at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.isSmall(infernal_mobs.java:1214)
[10:13:32 WARN]: at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.showEffect(infernal_mobs.java:1099)
[10:13:32 WARN]: at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.lambda$1(infernal_mobs.java:1210)
[10:13:32 WARN]: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99)
[10:13:32 WARN]: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[10:13:32 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1293)
[10:13:32 WARN]: at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:377)
[10:13:32 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1208)
[10:13:32 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996)
[10:13:32 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173)
[10:13:32 WARN]: at java.base/java.lang.Thread.run(Thread.java:834)
In reply to ishadlc:
I'm getting this as well.
Plugin creator needs to remove the incorrect cast from CraftPiglin to PigZombie (which is still an existing mob, just a different one). I believe the cast is supposed to be to Piglin instead.
I really like this plugin. Currently running on paper-1.16.4-366. I have configured it quite calm, maxpower at 3 and only 1% Chance to spawn, due to the fact, that the server should be 99% vanilla.
I have some suggestions for future updates:
- adding NBT-Data to the loot table, so you can add enchanted books with efficiency 10 for example (the syntax should be like the /give command for easier use)
-> for example /give player enchanted_book 1 {StoredEnchantments:[{id:"minecraft:efficiency", lvl: 10s}]}
-> the use of NBT-Data allows more flexibility. for example the existing "enchantments:"-class only allows vanilla enchantments even with plugins that allow more.
- adding chance to the loot table, so u can have easier configuration of common and rare items. mathematical it can be done by multiplying the amount of the selected items with an multiplier like we are doing now but hard coded in the loot.yml. for example dirt with multiplier 9 and diamond block with multiplier 1 results in 10 options and due to the 9 times dirt in the loot table dirt has a 90% chance and diamondblocks 10%. A better way to implement this feature would be to check the dropchance of each item individually - every item has a defined dropchance between 0.01% and 100% - so u can have multiple item drops when u are lucky.
-> 3 items, dirt 100%, iron_ingot 20% and diamond 5% chance. Possible drops would be 1. dirt, 2. dirt + iron ingot, 3. dirt + iron ingot + diamond, 4. dirt + diamond. If dirt isnt at 100% chance, there would be a fifth option.
- adding individual mob configuration - pretty self explanatory. min health, max health, min power, max power, health at level (1,2,3,..max power), spawn chance, min spawn distance from spawn, max spawn distance from spawn. pretty all what you can think of and is useful.
-> a minimum health, even for all infernal mobs, would fix the issue that mobs in the near range of the spawn have 0 health points when healthByDistance is activated (and the distance at which infernal mobs getting more health isnt reached one time)
- worldguard support with level(power) regions etc. - personally I dont use worldedit and worldguard on my vanilla server but others might be interested in this feature for roleplaying. This could be quite difficult to implement, but an Worldguard API exist.
This is a lot and even if you are willing to add these features it may take some time. Pre-Defined Custom Mobs is also a nice idea for recognizable bosses.
Anyway I use this plugin.
Best regards :)
Are you gonna update the plugin to 1.13?
Do you plan on making the plugin get along with mob arena? im trying to get it to spawn a infernal mob as a boss
is there a way to bould abilitie to mob? (like you spawn zombie for boss battle and use /im bound <string>?
And pls add names (/im pspawn <mob> <player> <name> <abilities> <abil...> ...? Pls that would be AWESOME
Hello. I just installed the mod and every time I try to spawn a mob (/im spawn (mob) (ability)
-It tells me An internal error has occurred while atempting to perform this command.
error in console =
23.01 01:33:52 [Server] ERROR null 23.01 01:33:52 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'im' in plugin InfernalMobs v5.2 23.01 01:33:52 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at us.Myles.PWP.FakeSimpleCommandMap.dispatch(FakeSimpleCommandMap.java:95) ~[?:?] 23.01 01:33:52 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_152] 23.01 01:33:52 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_152] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152] 23.01 01:33:52 [Server] INFO Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getTargetBlock(Ljava/util/HashSet;I)Lorg/bukkit/block/Block; 23.01 01:33:52 [Server] INFO at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.onCommand(infernal_mobs.java:2836) ~[?:?] 23.01 01:33:52 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc-bdcc7c7] 23.01 01:33:52 [Server] INFO ... 15 more
-the config is default. (Generated in by default)
Reply here or get me faster on discord.
AllensFish#1234
What do you use to determine the particle effect?
I would like to change it from the "lavaSpark" to something like the EnderDragonBreath, but it doesn't work when I change it.
In reply to Grrevous:
I have installed the plugin on my Paper-Spigot 1.12 server and fixed the Config.yml, I found one infernal mob within minutes but that was it. Played for another 4 hours running all over the place and no other spawns happened.
Not getting any warnings or errors in console so I thought i would try and spawn a mob. I used the "/im spawn <mobname> <ability1> <ability2> <ability3>" command using the Powers list as the abilities but it stated that the powers I used were not abilities but it did spawn a normal mob. I checked the Pages menu at top of page and read all 64 pages of postings but still could not find anything that stated what the abilities were.
Can someone please post the Abilities so I can test if the plugin is working properly or at least explain the Commands listed above as well as updating the command list.
There are 8 commands listed above and 12 commands in the game.
Thanks
PhantumKnight
I was able to use the
In reply to PhantumKnight:
Spigot 1.12 latest build
Infernal Mobs 5.2.3
Fresh config file, brand new server
I get this error on startup: https://pastebin.com/DenfdGsW
In reply to wrecktify80:
he has v5.3 posted
https://www.spigotmc.org/resources/infernal-mobs.2156/history
[14:41:46 ERROR]: Cannot load plugins\InfernalMobs\config.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 1, column 1:
configVersion: "1.12
^
expected <block end>, but found Scalar
in 'string', line 13, column 79:
... a creeper the mobName will be "Creeper".
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:162) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:179) [craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:160) [craftbukkit.jar:git-Bukkit-753a8e7]
at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.onEnable(infernal_mobs.java:172) [InfernalMobs.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:329) [craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:401) [craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:361) [craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:323) [craftbukkit.jar:git-Bukkit-753a8e7]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:411) [craftbukkit.jar:git-Bukkit-753a8e7]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:372) [craftbukkit.jar:git-Bukkit-753a8e7]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:327) [craftbukkit.jar:git-Bukkit-753a8e7]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:244) [craftbukkit.jar:git-Bukkit-753a8e7]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:521) [craftbukkit.jar:git-Bukkit-753a8e7]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
in 'string', line 1, column 1:
configVersion: "1.12
^
expected <block end>, but found Scalar
in 'string', line 13, column 79:
... a creeper the mobName will be "Creeper".
^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:569) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:505) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:424) ~[craftbukkit.jar:git-Bukkit-753a8e7]
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[craftbukkit.jar:git-Bukkit-753a8e7]
... 16 more
[14:41:46 INFO]: [InfernalMobs] No loot.yml found, generating...
[14:41:46 INFO]: [InfernalMobs] 1.12 Loot successfully generated!
i get this error with the v5.2.3 also tried the 5.2 i think was same error
In reply to rettopmit:
In reply to rettopmit:
[15:45:22 ERROR]: Cannot load plugins\InfernalMobs\config.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'string', line 1, column 1:
configVersion: "1.12
^
expected <block end>, but found Scalar
in 'string', line 13, column 79:
... a creeper the mobName will be "Creeper".
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:162) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:130) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:179) [spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:160) [spigot.jar:git-Spigot-b78586d-2585751]
at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.onEnable(infernal_mobs.java:172) [InfernalMobs.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:377) [spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:327) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:421) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:382) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:337) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot.jar:git-Spigot-b78586d-2585751]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
in 'string', line 1, column 1:
configVersion: "1.12
^
expected <block end>, but found Scalar
in 'string', line 13, column 79:
... a creeper the mobName will be "Creeper".
^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:569) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:505) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.yaml.snakeyaml.Yaml.load(Yaml.java:424) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[spigot.jar:git-Spigot-b78586d-2585751]
... 16 more
[15:45:22 INFO]: [InfernalMobs] No loot.yml found, generating...
[15:45:22 INFO]: [InfernalMobs] 1.12 Loot successfully generated!
[15:39:34 ERROR]: Could not pass event CreatureSpawnEvent to InfernalMobs v5.2
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-b78586d-2585751]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:283) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.World.addEntity(World.java:1040) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.WorldServer.addEntity(WorldServer.java:1112) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.SpawnerCreature.a(SpawnerCreature.java:188) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:286) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:798) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-b78586d-2585751]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-b78586d-2585751]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: java.lang.NullPointerException
at io.hotmail.com.jacob_vejvoda.infernal_mobs.EventListener.onMobSpawn(EventListener.java:242) ~[?:?]
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-b78586d-2585751]
... 13 more
In reply to rettopmit:
configVersion: "1.11"
#Chance is the chance that a mob will not be infernal, the lower the number the higher the chance. (min 1)
#Enabledworlds are the worlds that infernal mobs can spawn in.
#Enabledmobs are the mobs that can become infernal.
#Loot is the items that are dropped when an infernal mob dies. (You can have up to 64)
#Item is the item, Amount is the amount, Durability is how damaged it will be (0 is undamaged).
#nameTagsLevel is the visibility level of the name tags, 0 = no tag,
#1 = tag shown when your looking at the mob, 2 = tag always shown.
#Note, if you have name tags set to 0, on server restart all infernal mobs will turn normal.
#If you want to enable the boss bar you must have BarAPI on your server.
#nameTagsName and bossBarsName have these special tags: <mobLevel> = the amount of powers the boss has.
#<abilities> = A list of about 3-5 (whatever can fit) names of abilities the boss has.
#<mobName> = Name of the mob, so if the mob is a creeper the mobName will be "Creeper".
chance: 100
#mobChances:
# Ghast: 150
#levelChance:
# '3': 1
# '4': 1
# '5': 1
# '6': 1
# '7': 1
namePrefix: '&fInfernal'
#levelPrefixs:
# '3': '&fMad'
# '4': '&fRabid'
# '5': '&fGiant'
# '6': '&fKing'
# '7': '&fInfernal'
nameTagsLevel: 1
nameTagsName: '&f<prefix> <mobName>'
bossBarsName: '&fLevel <mobLevel> &f<prefix> <mobName>'
enableBossBar: true
bossBarSettings:
defaultColor: "PINK"
defaultStyle: "SOLID"
# perMob:
# PigZombie:
# color: "RED"
# style: "SEGMENTED_6"
# Ghast:
# color: "RED"
# style: "SEGMENTED_12"
# WitherSkeleton:
# color: "RED"
# style: "SEGMENTED_20"
# Blaze:
# color: "RED"
# style: "SEGMENTED_10"
# Creeper:
# color: "GREEN"
# style: "SEGMENTED_6"
# perLevel:
# 5:
# color: "GREEN"
# style: "SEGMENTED_6"
enableScoreBoard: false
showHealthOnScoreBoard: true
effectAllPlayerAttacks: true
enableParticles: true
enableDeathMessages: false
deathMessages:
- '&cplayer &chas killed an mob&c!'
- '&cAn mob &cwas slain by player&c!'
- '&cplayer &cowned an mob&c!'
- '&cAn mob &cwas beheaded by player&c''s weapon!'
- '&cplayer&c''s weapon &ckilled an mob&c!'
- '&cAn mob &cwas killed by player &cusing a weapon&c!'
enableSpawnMessages: false
spawnMessageRadius: 64
spawnMessages:
- '&cAn Infernal mob has spawned near you!'
- '&cWatch out!'
- '&cYou hear a faint scream...'
- '&cSomething is coming...'
- '&cYou hear a mob nearby...'
enabledworlds:
- <all>
enabledmobs:
- ELDER_GUARDIAN
- WITHER_SKELETON
- STRAY
- HUSK
- ZOMBIE_VILLAGER
- SKELETON_HORSE
- ZOMBIE_HORSE
#- DONKEY
#- MULE
- EVOKER
- VEX
- VINDICATOR
- CREEPER
- SKELETON
- SPIDER
- GIANT
- ZOMBIE
- SLIME
- GHAST
- PIG_ZOMBIE
- ENDERMAN
- CAVE_SPIDER
- SILVERFISH
- BLAZE
- MAGMA_CUBE
- ENDER_DRAGON
- WITHER
- BAT
- WITCH
- ENDERMITE
- GUARDIAN
- SHULKER
#- PIG
#- SHEEP
#- COW
#- CHICKEN
#- SQUID
#- WOLF
#- MUSHROOM_COW
#- SNOWMAN
#- OCELOT
#- IRON_GOLEM
#- HORSE
#- RABBIT
- POLAR_BEAR
- LLAMA
#- VILLAGER
enabledCharmSlots:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 36
poisonous: true
armoured: true
blinding: true
withering: true
tosser: true
thief: true
quicksand: true
bullwark: true
rust: true
sapper: true
1up: true
cloaked: true
ender: true
ghastly: true
lifesteal: true
sprint: true
storm: true
webber: true
vengeance: true
weakness: true
berserk: true
explode: true
potions: true
mama: true
molten: true
archer: true
necromancer: true
firework: true
gravity: true
flying: true
mounted: true
morph: true
ghost: true
confusing: true
ghost: true
mamaSpawnAmount: 3
vengeanceDamage: 6
berserkDamage: 3
moltenBurnLength: 5
gravityLevitateLength: 6
horseMountsHaveSaddles: true
armouredMountsHaveArmour: true
fireworkColour:
red: 255
green: 10
blue: 10
enabledSpawnReasons:
- BREEDING
#- BUILD_IRONGOLEM
#- BUILD_SNOWMAN
- BUILD_WITHER
- CHUNK_GEN
#- CURED
- CUSTOM
- DEFAULT
#- DISPENSE_EGG
#- EGG
- INFECTION
- SPAWNER_EGG
#- JOCKEY
- LIGHTNING
#- MOUNT
- NATURAL
- NETHER_PORTAL
- OCELOT_BABY
- REINFORCEMENTS
- SILVERFISH_BLOCK
- SLIME_SPLIT
#- SPAWNER
#- SPAWNER_EGG
#- TRAP
#- VILLAGE_DEFENSE
- VILLAGE_INVASION
mobParticles:
- lavaSpark:1:10
mountFate: nothing
enabledMounts:
- SPIDER
- SKELETON_HORSE
- ZOMBIE_HORSE
- DONKEY
- MULE
- SLIME
- GHAST
- MAGMA_CUBE
- ENDER_DRAGON
- BAT
- PIG
- SHEEP
- COW
- CHICKEN
- MUSHROOM_COW
- HORSE
- POLAR_BEAR
- LLAMA
enabledRiders:
- WITHER_SKELETON
- STRAY
- HUSK
- ZOMBIE_VILLAGER
- EVOKER
- VINDICATOR
- SKELETON
- ZOMBIE
- PIG_ZOMBIE
- ENDERMAN
- WITCH
- SNOWMAN
- VILLAGER
disabledBabyMobs:
- WOLF
- MUSHROOM_COW
- COW
- SHEEP
- PIG
- CHICKEN
- OCELOT
- HORSE
#The min/max amount of powers that a mob will get.
#NOTE: the amount of enabled powers must not be less than the maxpowers.
#healthMultiplier is what number the infernal mobs health will be multiplied by.
#If you have healthByPower enabled then healthMultiplier and healthByDistance will do nothing.
#dropChance is the chance a dead mob will drop loot, the lower the higher the chance (min 1)
#xpMultiplier is what the normal xp a mob drops will be multiplied by.
#healthByDistance makes mobs HP go up as you go further from the world spawn.
#Every addDistance blocks the mobs will get healthToAdd times how far they are HP.
minpowers: 3
maxpowers: 7
healthMultiplier: 4
healthByPower: false
healthByDistance: false
powerByDistance: false
healthToAdd: 5
powerToAdd: 1
xpMultiplier: 8
addDistance: 200
enableDrops: true
dropChance: 1
enableFarmingDrops: false
naturalSpawnHeight: 0
of course thats not how it looks in the config file, in the config file it looks like 1 long line
But i did find the problem
right on the first line
configVersion: "1.11"
so i copied the entire file contents and simply changed the configversion
if you still missed the problem
configVersion: '1.12' had to be changed to configVersion: "1.12"
so in the config file is it supposed to just say for mob chances
#mobChances:
# Ghast: 150
#levelChance:
Like is it supposed to have ghast as only one in mob chances? I just am new to this and want to make sure its not just going to spawn ghast infernals =) lol
Hi. Thank you for the best Mobs plugin ever. It is working 100% with Spigot 1.12. No errors or bugs. 10/10. You are the best.