Spigot HeadsPlus » 1.15.2 - 1.18 7.0.4

A heads plugin with advanced head drops, crafting, selling, challenges and much more!

  1. Okay, figured out a small bug and I think I know why it's happening. With the night vision effect, the screen always flickers to let you know you have less than 10 seconds left, but because there's always only 10 seconds left the flickering never ends. One solution might be to have the effects be infinite when wearing the heads, then when unequipped the effects are cleared?
     
  2. Oh, I also get a notification in the console when starting server that it can be updated to 6.10.3, even though I'm on 6.10.4, just a small thing. Very happy with the current stage of development! Can't wait to see what else comes from this plugin!
     
  3. Thanks, Minecraft!

    Sadly there were problems caused with that system so I've just upped how long the effects last (temporarily uploaded here): https://cdn.discordapp.com/attachme...190187778099/HeadsPlus-v6.10.5-SNAPSHOT-1.jar

    That's because you updated faster than the update checker did! ;)
     
    • Like Like x 1
  4. Oh, excellent! The night vision works now, but nausea doesn't really work, just because the effect keeps getting reset. Other effects like health boost also keep resetting, so the player is pretty much invincible. Maybe if it was made so that the effect duration was infinite, then was just cleared when the head is switched out or removed it would fix it?
     
  5. Hmm, okay. I'm not really sure on that one. I don't exactly want to leave the effect running free for it to eventually reset, but I may make an option that resets the mask every X intervals with a chosen effect length.
    Until they take the mask off? I'm not sure what is meant by that. (EDIT: I do now.)
     
    #705 Thatsmusic99, May 7, 2020
    Last edited: May 7, 2020
  6. Hi - I'm not quite sure what you mean by that?

    The skin of the head does come from MHF_Spider if it's specified in the mobs.yml file.
     

  7. Okay, thank you.

    So, I have just updated to the latest version. Do I have to do that command every player request me to sell an old head? I think so, but what time last that command? I mean, old heads tend to dissapear in the future and it won't be possible to sell them, right?

    Or it's if I execute that command, now old and new heads will be selliable forever?

    Thanks :)
     
  8. If you need to make an old head sellable again, you’d use /hp debug fix <Entity type> whilst holding the head in your hand and it’ll apply the data necessary to the head so it is sellable again. I’m not sure about old heads eventually disappearing since it depends on how the players use them though.

    No worries!
     
    • Like Like x 2
  9. Hi again, for some reason wandering trader and trader llama head effects don't work for me?

    Here's my config: https://pastebin.com/jT5rAZdx

    I've tried resetting the configs and giving the same effects to different mobs, but it works just fine on other mobs
     
  10. Now that I think about it, I know what it is; I'll hopefully have a snapshot done by the end of the day providing that fix. Thanks for making me aware!
     
    • Like Like x 1
    • Like Like x 1
  11. Would this plugin drop multiple of 1 head at time, regardless of fortune? I have chances set to 0.3, fortune affect off, yet someone still just got three guardian heads without a fortune sword.
     
  12. At once?

    if not, then the chances are that they somehow got lucky or you have an interfering plugin.

    Otherwise, you most likely have an interfering plugin then, as by default, the plugin can drop multiple heads, which the help of looting, but only by increasing the chance (i.e. isn’t possible).

    Do /hp tests GUARDIAN 1000 to see how many a times a Guardian head drops on average after 1000 are killed.

    (I’ll answer any further queries tomorrow, I was just about to head to bed and I’m feeling super tired now.)
     
  13. I don't think this command did anything. Said it would take a while, it's been hours. I also ran it on a test server and it just say 0/1000 and never another message. I did sit at an enderman farm for 15 minutes and only got 1 head which is good.
     
  14. It should often be instantaneous most of the time since it’s just meant to run one calculation over and over, but that depends; running 100 on the other hand should be fine.

    It’s odd how the enderman head’s behaviour is different to the guardian’s though (assuming chances are similar). If the behaviour continues, are you able to send me your mobs.yml and a screenshot of the guardian heads dropped? Thanks!
     
  15. 17.05 02:15:28 [Server] Server thread/WARN java.lang.NullPointerException
    17.05 02:15:28 [Server] Server thread/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents.dropHead(DeathEvents.java:391)
    17.05 02:15:28 [Server] Server thread/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents.onEntityDeath(DeathEvents.java:186)
    17.05 02:15:28 [Server] Server thread/WARN at sun.reflect.GeneratedMethodAccessor430.invoke(Unknown Source)
    17.05 02:15:28 [Server] Server thread/WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    17.05 02:15:28 [Server] Server thread/WARN at java.lang.reflect.Method.invoke(Method.java:498)
    17.05 02:15:28 [Server] Server thread/WARN at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315)
    17.05 02:15:28 [Server] Server thread/WARN at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    17.05 02:15:28 [Server] Server thread/WARN at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589)
    17.05 02:15:28 [Server] Server thread/WARN at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576)
    17.05 02:15:28 [Server] Server thread/WARN at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:729)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.EntityLiving.d(EntityLiving.java:1328)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.EntityLiving.die(EntityLiving.java:1277)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.EntityLiving.damageEntity(EntityLiving.java:1124)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.EntityLiving.entityBaseTick(EntityLiving.java:246)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.EntityInsentient.entityBaseTick(EntityInsentient.java:212)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.Entity.tick(Entity.java:357)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.EntityLiving.tick(EntityLiving.java:2268)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.EntityInsentient.tick(EntityInsentient.java:275)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.WorldServer.entityJoinedWorld(WorldServer.java:626)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.World.a(World.java:694)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.WorldServer.doTick(WorldServer.java:395)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1082)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:406)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:984)
    17.05 02:15:28 [Server] Server thread/WARN at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:824)
    17.05 02:15:28 [Server] Server thread/WARN at java.lang.Thread.run(Thread.java:748)
    17.05 02:15:28 [Server] Server thread/ERROR HeadsPlus has failed to execute this task. An error report has been made in /plugins/HeadsPlus/debug
    17.05 02:15:28 [Server] Server thread/ERROR Report name: 05.16.2020 22_15_28-REPORT-0.json
    17.05 02:15:28 [Server] Server thread/ERROR Please submit this report to the developer at one of the following links:
    17.05 02:15:28 [Server] Server thread/ERROR https://github.com/Thatsmusic99/HeadsPlus/issues
    17.05 02:15:28 [Server] Server thread/ERROR https://discord.gg/nbT7wC2
    17.05 02:15:28 [Server] Server thread/ERROR https://www.spigotmc.org/threads/headsplus-1-8-x-1-12-x.237088/
     
  16. Please use https://github.com/Thatsmusic99/HeadsPlus/releases/tag/v6.10.5-SNAPSHOT-2 to fix that one and tell me if anything new comes up.
     
  17. 17.05 08:14:03 [Server] Craft Scheduler Thread - 4/ERROR Error thrown when creating the head for BLAZE. If it's a custom head, please double check the name. (Error code: 6)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN java.lang.NullPointerException
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.api.Head.withTexture(Head.java:48)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents.setupHeads(DeathEvents.java:306)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents.access$100(DeathEvents.java:29)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents$1.run(DeathEvents.java:71)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:81)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.lang.Thread.run(Thread.java:748)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/ERROR Error thrown when creating the head for CAVE_SPIDER. If it's a custom head, please double check the name. (Error code: 6)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN java.lang.NullPointerException
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.api.Head.withTexture(Head.java:48)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents.setupHeads(DeathEvents.java:306)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents.access$100(DeathEvents.java:29)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents$1.run(DeathEvents.java:71)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:81)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.lang.Thread.run(Thread.java:748)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/ERROR Error thrown when creating the head for CHICKEN. If it's a custom head, please double check the name. (Error code: 6)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN java.lang.NullPointerException
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.api.Head.withTexture(Head.java:48)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents.setupHeads(DeathEvents.java:306)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents.access$100(DeathEvents.java:29)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at io.github.thatsmusic99.headsplus.listeners.DeathEvents$1.run(DeathEvents.java:71)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:81)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    17.05 08:14:03 [Server] Craft Scheduler Thread - 4/WARN at java.lang.Thread.run(Thread.java:748)
    17.05 08:14:04 [Server] Craft Scheduler Thread - 3/INFO HeadsPlus » Current version: 6.10.5-SNAPSHOT-1
    17.05 08:14:04 [Server] INFO HeadsPlus » New version: 6.10.4
    17.05 08:14:04 [Server] INFO HeadsPlus » Description: Bug fixes (mainly masks)
    17.05 08:14:04 [Server] Craft Scheduler Thread - 3/INFO Download link: https://www.spigotmc.org/resources/headsplus-1-8-x-1-12-x.40265/
     
  18. Can you send me your mobs.yml and customheads.yml files?
     
  19. Hi.

    Why are some heads which have this weird name or similar ones?

    upload_2020-5-17_13-8-23.png