This still: Code (Text): [04:01:46 WARN]: [InfernalMobs] Task #149 for InfernalMobs v4.8 generated an exception java.lang.NullPointerException at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.applyEffect(infernal_mobs.java:1300) ~[?:?] at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs$6.run(infernal_mobs.java:1332) ~[?:?] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.10.jar:git-Paper-785] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [patched_1.10.jar:git-Paper-785] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:802) [patched_1.10.jar:git-Paper-785] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:403) [patched_1.10.jar:git-Paper-785] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:730) [patched_1.10.jar:git-Paper-785] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:629) [patched_1.10.jar:git-Paper-785] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72] And the numbers is this: Code (Text): [Server thread/INFO]: LL: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90]
Eliminator updated Infernal Mobs with a new update entry: Infernal Mobs - v4.8.1 Read the rest of this update entry...
There is a new error in the console, now effects works correctly, but there is not boss bar Code (Text): [10:27:37] [Server thread/INFO]: Fargus5 issued server command: /im spawn zombie [10:27:40] [Server thread/WARN]: java.lang.IllegalArgumentException: No enum constant org.bukkit.Sound.AMBIENCE_CAVE [10:27:40] [Server thread/WARN]: at java.lang.Enum.valueOf(Enum.java:238) [10:27:40] [Server thread/WARN]: at org.bukkit.Sound.valueOf(Sound.java:1) [10:27:40] [Server thread/WARN]: at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.showEffect(infernal_mobs.java:1213) [10:27:40] [Server thread/WARN]: at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs$4.run(infernal_mobs.java:1240) [10:27:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) [10:27:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [10:27:40] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:741) [10:27:40] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [10:27:40] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [10:27:40] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [10:27:40] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
Looking into your code (with decompiler) on line infernal_mobs.java:1213 you only checks for "is19" in line 1210. I think you need to check if the version is > 19 and not if = 19. I using this to check versions: https://github.com/FabioZumbi12/Red.../fabiozumbi12/RedProtect/RedProtect.java#L224
Sorry but I don't understand, could you gime me a more simply explication? I restarted my server with new config file for infernal mobs, but at the same there is not boss bar... I don't understant what are you saying about to check the version.... i downloaded your latest version of plugin... Also in config file everythyng is set: Code (Text): #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: 10000 #mobChances: # Ghast: 150 #levelChance: # '1': 1 # '2': 10 # '3': 20 # '4': 30 # '5': 40 # '6': 50 # '7': 60 # '8': 70 # '9': 90 # '10': 100 #namePrefix: '&fDemone Infernale' levelPrefixs: '1': '&fReietto del Void' '2': '&fMarchiato del Void' '3': '&fDemone del Void' '4': '&fCarnefice del Void' '5': '&fSpettro del Void' '6': '&fVendicatore del Void' '7': '&fApocalisse del Void' '8': '&fPrincipe del Void' '9': '&fDominatore del Void' '10': '&fDio del Void' nameTagsLevel: 1 nameTagsName: '&f<mobName> <prefix>' bossBarsName: '&f<mobName> <prefix> &fLvl <mobLevel>' 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: true showHealthOnScoreBoard: true effectAllPlayerAttacks: true enableParticles: true enableDeathMessages: false deathMessages: - '&9[Storia] &cplayer &cha annientato mob&c!' - '&9[Storia] &cmob &ce'' stato ucciso da player&c!' - '&9[Storia] &cplayer &cha trucidato mob&c!' - '&9[Storia] &cmob &ce'' stato sconfitto da player utilizzando weapon&c!' - '&9[Storia] &cplayer&c ha trucidato mob&c usando weapon&c!' - '&9[Storia] &cmob &ce'' stato ucciso da player &cusando weapon&c!' enableSpawnMessages: true spawnMessageRadius: 64 spawnMessages: - '&9[Storia] &cUn Demone Infernale e'' apparso nelle tue vicinanze!' - '&9[Storia] &cStai lontano dai Demoni!' - '&9[Storia] &cHai appena sentito un urlo agghiacciante...' - '&9[Storia] &cQualcosa di terribile si sta avvicinando...' - '&9[Storia] &cSenti dei passi dietro di te...' enabledworlds: - <all> enabledmobs: #- Chicken - PigZombie - Spider - CaveSpider - Creeper - Witch - Enderman - Pig - Slime - LavaSlime - Wolf - Ghast - Giant - SilverFish - Blaze - Squid - Rabbit - Shulker - Guardian - Endermite - PolarBear - Zombie - Husk - Skeleton - WitherSkeleton - Stray 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 #- 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 - MushroomCow - Cow - "Sheep:BLACK" - Pig - "EntityHorse:SKELETON_HORSE" - "EntityHorse:UNDEAD_HORSE" - Slime - Ghast - PolarBear enabledRiders: - PigZombie - Skeleton - Zombie - Witch - Creeper - SnowMan - Blaze - Enderman - WitherSkeleton disabledBabyMobs: - Wolf - MushroomCow - Cow - Sheep - Pig - Chicken - Ozelot - EntityHorse #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: 1 maxpowers: 10 healthMultiplier: 4 healthByPower: false healthByDistance: false powerByDistance: false healthToAdd: 5 powerToAdd: 1 xpMultiplier: 8 addDistance: 200 enableDrops: true dropChance: 1 enableFarmingDrops: false naturalSpawnHeight: 0
Yes, when @Eliminator change that method to accept 1.10 the bossbar will show! For @Eliminator: On GUI.java:60|127|174
this happened 20.06 15:34:01 [Server] WARN at java.lang.Thread.run(Thread.java:745) 20.06 15:34:01 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) 20.06 15:34:01 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) 20.06 15:34:01 [Server] WARN at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) 20.06 15:34:01 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:741) 20.06 15:34:01 [Server] WARN at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) 20.06 15:34:01 [Server] WARN at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) 20.06 15:34:01 [Server] WARN at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs$4.run(infernal_mobs.java:1240) 20.06 15:34:01 [Server] WARN at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.showEffect(infernal_mobs.java:1213) 20.06 15:34:01 [Server] WARN at org.bukkit.Sound.valueOf(Sound.java:1) 20.06 15:34:01 [Server] WARN at java.lang.Enum.valueOf(Enum.java:238) 20.06 15:34:01 [Server] WARN java.lang.IllegalArgumentException: No enum constant org.bukkit.Sound.AMBIENCE_CAVE 20.06 15:33:55 [Server] WARN at java.lang.Thread.run(Thread.java:745) 20.06 15:33:55 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) 20.06 15:33:55 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) 20.06 15:33:55 [Server] WARN at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) 20.06 15:33:55 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:741) 20.06 15:33:55 [Server] WARN at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) 20.06 15:33:55 [Server] WARN at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) 20.06 15:33:55 [Server] WARN at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs$4.run(infernal_mobs.java:1240) 20.06 15:33:55 [Server] WARN at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.showEffect(infernal_mobs.java:1213) 20.06 15:33:55 [Server] WARN at org.bukkit.Sound.valueOf(Sound.java:1) 20.06 15:33:55 [Server] WARN at java.lang.Enum.valueOf(Enum.java:238) 20.06 15:33:55 [Server] WARN java.lang.IllegalArgumentException: No enum constant org.bukkit.Sound.AMBIENCE_CAVE 20.06 15:33:54 [Server] INFO Entity remove due to Morph 20.06 15:33:51 [Server] WARN at java.lang.Thread.run(Thread.java:745) 20.06 15:33:51 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) 20.06 15:33:51 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) 20.06 15:33:51 [Server] WARN at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) 20.06 15:33:51 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:741) 20.06 15:33:51 [Server] WARN at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) 20.06 15:33:51 [Server] WARN at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) 20.06 15:33:51 [Server] WARN at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs$4.run(infernal_mobs.java:1240) 20.06 15:33:51 [Server] WARN at io.hotmail.com.jacob_vejvoda.infernal_mobs.infernal_mobs.showEffect(infernal_mobs.java:1213) 20.06 15:33:51 [Server] WARN at org.bukkit.Sound.valueOf(Sound.java:1) 20.06 15:33:51 [Server] WARN at java.lang.Enum.valueOf(Enum.java:238) 20.06 15:33:51 [Server] WARN java.lang.IllegalArgumentException: No enum constant org.bukkit.Sound.AMBIENCE_CAVE then i crashed
Eliminator updated Infernal Mobs with a new update entry: Infernal Mobs v4.9 Read the rest of this update entry...
Just updated to the latest version of Infernal Mobs and I have an error spamming my console - http://pastebin.com/mg0rMZYU