[Addon] Boss Skin - Custom skin on mobs

Discussion in 'Add-Ons, API & Compatible Plugins' started by Tigierrei, Jul 29, 2017.

  1. Tigierrei

    Tigierrei New Member

    Joined:
    Aug 19, 2016
    Messages:
    17
    Likes Received:
    4
    I have developed a small plugin for my server that allows you to put custom skin on your MythicMobs mobs.
    I published it on spigot, here the link: https://www.spigotmc.org/resources/boss-skin.44718/
    I hope you will enojy :)

    P.S. If you find any bugs please let me know, I will fix them quickly
     
    #1
    jaylawl and Xikage like this.
  2. Xikage

    Xikage Administrator
    Administrator Developer Community Manager Premium Supporter Supporter Quality Assurance

    Joined:
    Jul 18, 2015
    Messages:
    664
    Likes Received:
    231
    Nice job!
     
    #2
    Tigierrei likes this.
  3. muhahahahe

    muhahahahe Well-Known Member
    Supporter Quality Assurance

    Joined:
    Mar 16, 2017
    Messages:
    1,001
    Likes Received:
    189
    in which format u add something to the list

    my configfile was generated empty
     
    #3
  4. muhahahahe

    muhahahahe Well-Known Member
    Supporter Quality Assurance

    Joined:
    Mar 16, 2017
    Messages:
    1,001
    Likes Received:
    189
    i guess i figured it out its just
    InternalName:
    but now i have this
    Code:
    02.08 18:34:11 [Server] INFO at it.tigierrei.BossSkin.listeners.BossSpawn.MobSpawnEvent(BossSpawn.java:25) ~[?:?]
    02.08 18:34:11 [Server] INFO Caused by: java.lang.NullPointerException
    02.08 18:34:11 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
    02.08 18:34:11 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:661) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:763) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:891) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at net.minecraft.server.v1_11_R1.WorldServer.doTick(WorldServer.java:230) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at net.minecraft.server.v1_11_R1.SpawnerCreature.a(SpawnerCreature.java:202) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at net.minecraft.server.v1_11_R1.WorldServer.addEntity(WorldServer.java:1084) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at net.minecraft.server.v1_11_R1.World.addEntity(World.java:1131) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:284) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:44) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor396.execute(Unknown Source) [?:?]
    02.08 18:34:11 [Server] INFO at io.lumine.xikage.mythicmobs.adapters.bukkit.events.MobSpawnListener.MobSpawnEvent(MobSpawnListener.java:41) [MythicMobs-4.1.1-SNAPSHOT.jar:?]
    02.08 18:34:11 [Server] INFO at io.lumine.xikage.mythicmobs.spawning.random.RandomSpawnerManager.handleSpawnEvent(RandomSpawnerManager.java:108) [MythicMobs-4.1.1-SNAPSHOT.jar:?]
    02.08 18:34:11 [Server] INFO at io.lumine.xikage.mythicmobs.spawning.random.RandomSpawner.spawn(RandomSpawner.java:220) [MythicMobs-4.1.1-SNAPSHOT.jar:?]
    02.08 18:34:11 [Server] INFO at io.lumine.xikage.mythicmobs.mobs.MobManager.spawnMob(MobManager.java:430) [MythicMobs-4.1.1-SNAPSHOT.jar:?]
    02.08 18:34:11 [Server] INFO at io.lumine.xikage.mythicmobs.mobs.MythicMob.spawn(MythicMob.java:685) [MythicMobs-4.1.1-SNAPSHOT.jar:?]
    02.08 18:34:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO at org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:46) ~[patched_1.11.2.jar:git-Paper-1104]
    02.08 18:34:11 [Server] INFO org.bukkit.event.EventException
    02.08 18:34:11 [Server] ERROR Could not pass event MythicMobSpawnEvent to BossSkin v1.0
     
    #4
  5. Tigierrei

    Tigierrei New Member

    Joined:
    Aug 19, 2016
    Messages:
    17
    Likes Received:
    4
    Thank you for the feedback. I have updated the plugin, now the config.yml should be generate well.
    You were right about the syntax but not about the name key, that is actually "Boss:"
     
    #5
    Last edited: Aug 7, 2017
  6. Tigierrei

    Tigierrei New Member

    Joined:
    Aug 19, 2016
    Messages:
    17
    Likes Received:
    4
    Updated to 1.12
     
    #6
  7. muhahahahe

    muhahahahe Well-Known Member
    Supporter Quality Assurance

    Joined:
    Mar 16, 2017
    Messages:
    1,001
    Likes Received:
    189
    with the latest version i get this
    Code:
    07.08 00:57:25 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
    07.08 00:57:25 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:661) [patched_1.11.2.jar:git-Paper-1104]
    07.08 00:57:25 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:763) [patched_1.11.2.jar:git-Paper-1104]
    07.08 00:57:25 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403) [patched_1.11.2.jar:git-Paper-1104]
    07.08 00:57:25 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:829) [patched_1.11.2.jar:git-Paper-1104]
    07.08 00:57:25 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356) [patched_1.11.2.jar:git-Paper-1104]
    07.08 00:57:25 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.11.2.jar:git-Paper-1104]
    07.08 00:57:25 [Server] INFO at it.tigierrei.BossSkin.listeners.BossSpawn$1.run(BossSpawn.java:30) ~[?:?]
    07.08 00:57:25 [Server] INFO java.lang.NoSuchMethodError: me.libraryaddict.disguise.DisguiseAPI.getCustomDisguise(Ljava/lang/String;)Lme/libraryaddict/disguise/disguisetypes/Disguise;
    07.08 00:57:25 [Server] WARN Task #1787 for BossSkin v1.2 generated an exception
    thats my disguises.yml
    Code:
    Disguises:
      libraryaddict: 'player libraryaddict setArmor GOLD_BOOTS,GOLD_LEGGINGS,GOLD_CHESTPLATE,GOLD_HELMET setItemInMainHand WRITTEN_BOOK setGlowing setSkin {"id":"a149f81bf7844f8987c554afdd4db533","name":"libraryaddict","properties":[{"signature":"afoGOO45t3iGvTyQ732AlugPOvj13/RNjM0/utYlD4PZ4ab4Jopbzr8Px75+ALdkyegoKNcfaH4aXzylMvL6mIwaRdL0af7pfGibMMCMJ8F1RAMl2WqRslKBKXHGS1OXxMweoXW+RRatGgZsUC1BjxHMwd4RuXxrV9ZZ7x1r4xouUXmMzn19wqNO9EeG2q8AgF/hZdrnJPdTTrqJs04r4vCQiFiQsTWiY/B5CBOTh6fw4NpOHeeiJwHOLvN+6xKnAm77nKawaKCSciDwt54EeZoE/Q5ReQUEFgj++jdyHb5PJbhGytr//mazpTVzvlDnO06CZqigbiueV2/ush2gKSXQeimCXeNZzcj/CFgqAmMSEZQW3qHp+DgoqqtBNabJa0FBzpbQQ/jQWzoHfmUC/hTf0A0+hgOe4NqDc+xXYf4A9M/6/0JHz0voWhQJi8QriM699DeeUa31bVdTdKjcyK6Zw6/HIOJt++eFnkf++/zKt0fMiqfdRamSqR/K3w+Kk7cs2D345BNubl5L83YWmLbebUcAPKaza5gi17lUW+h/FitzfKAJZ+xsfSdj27nQLa24xYsyB3Fi5DcFLI2oQt5BYAvViT37sabGOXbDBsrijS4t3++mIbC+pCDiKi0hwZzvy0TPRTle2RMhJ6D66DmpykwqBOxzD73fEsieWX4=","name":"textures","value":"eyJ0aW1lc3RhbXAiOjE0ODA1MjA3NjAxNTksInByb2ZpbGVJZCI6ImExNDlmODFiZjc4NDRmODk4N2M1NTRhZmRkNGRiNTMzIiwicHJvZmlsZU5hbWUiOiJsaWJyYXJ5YWRkaWN0Iiwic2lnbmF0dXJlUmVxdWlyZWQiOnRydWUsInRleHR1cmVzIjp7IlNLSU4iOnsidXJsIjoiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS84ZTQ5NDVkMzZjZjVhNjI1OGZjOGY4ZTM5NmZlZWYzMzY1ZjM2MjgyYjE2MjY0OWI2M2NmZWQzNzNmNzY1OSJ9LCJDQVBFIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZWZkNjFjM2M0YWM4OGYxYTM0NjhmYmRlZWY0NWNlYzg5ZTVhZmI4N2I5N2ExYTg0NWJmYjNjNjRmZDBiODgzIn19fQ=="}]}'
    
      ### Bandits ###
      RegularBandit: 'player &7Bandit setSkin {"id":"be50ed485697320ea26419425ff8985c","name":"&7Bandit","properties":[{"signature":"dNAyRYz3wmqxGKmOUK2Acc04OLZYA2fv8uGuTUnGkgGBP5JenwuMjjdhMbdQQ9N8TNzUCVen23kq6qqaS9eBjgp4TEZs5Vo6bStLXKU8VTK9XVkgnXcJu5r9/BrMwELrk8B5JAaMgYtJvkHpWAbc7wJ+2FG6J5r9SZ3o2Oi18pmMxqe6cr52rHLliEux8lkMf4fPZvFWi+mZdmAgO5tpE0nK3FDTIFxVvioIjVbRq9wnZ8br6U2c0v3OJamFA5udbMrl7ieFsdEdW7uWGbBONSeRiAlqF4JxhurDpvy2lGXbX6ArpHHWN6KWNh33XeKn0XnxfdXZEkMwKEi5Z5khMiJBP7FCMcQdBu1voqXvHnveZVUVyoPc9lHlQOfSSlhtRJKU6sNhln3sEajzjyxqHjoVi/Nzt+MnEabcJ+YctqxTUhITFVqdtJO0q1Cg3D4L+oZzrR4kZstgBDPT1qBQoLPQAVPDT2jFaOyQ6qBs3RzRVKVs8rcSOTH6DYWTKEWXKY1vqNTSKIHPbbldL/1ySF6NBggTae8N3e6O/XoS9iVL3YRaCgGTCFusZS9a1iP0hr9HPhJFGfAevRtGYaBmy7QLzHumBSSvxcSHWgUTgPFkWKmhmVV7gTrCSlfGJS6SW5N6VA7odgFmnwrJ1yH9RWzWRTZD+Vkz/lAPmoUzqj4=","name":"textures","value":"eyJ0aW1lc3RhbXAiOjE1MDE3MTE0OTM4OTcsInByb2ZpbGVJZCI6IjVjN2ZiNzhhMmQxMzQ5NTZhNWE1M2EyNGQ5NWY1YjRmIiwicHJvZmlsZU5hbWUiOiJQZWFyc29uSW5tYW4iLCJzaWduYXR1cmVSZXF1aXJlZCI6dHJ1ZSwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2M0YjBlOGNjNGZjYzM0YjhjY2Q4NmM4NmE3ZDZhMWEyYWZmYjdiNzZjYzk4Mjg3OTZiYWRlMjc0N2MzMGY4ZDgifX19"}]}'
     
    #7
  8. Tigierrei

    Tigierrei New Member

    Joined:
    Aug 19, 2016
    Messages:
    17
    Likes Received:
    4
    The problem is that you are not using the latest Lib's Disguises build. I have linked it the plugin description, anyway, here it is: https://ci.md-5.net/job/LibsDisguises/
     
    #8
    muhahahahe likes this.
  9. omikronchegggs

    omikronchegggs New Member

    Joined:
    Oct 25, 2017
    Messages:
    14
    Likes Received:
    0
    and it is possible to paint more in detail Hyde, especially, about points where to enter. For example, my LibsDisguises does not create a file named Disguises.yml. Created it manually using files from the forum, but then again questions.
    If you change, just change the name (title of the name, Signature, and Valueier, or Player Names, too, you need to change.) Then immediately the question is what to enter in MM, and where in Skin or Player
     
    #9
  10. Tigierrei

    Tigierrei New Member

    Joined:
    Aug 19, 2016
    Messages:
    17
    Likes Received:
    4
    I'm not sure what you are asking for but I will try answer you as best as I can.
    The name of the MM mob must be the same name you put in the config.yml of BossSkin and in disguises.yml of LibsDisguises
     
    #10
  11. Flynn_Adam

    Flynn_Adam New Member
    Premium Supporter Supporter

    Joined:
    Jul 18, 2019
    Messages:
    2
    Likes Received:
    0
    pleeasse make it for 1.14.4
    Im crying every day because i cant fix my mythicmobs
     
    #11
  12. Tigierrei

    Tigierrei New Member

    Joined:
    Aug 19, 2016
    Messages:
    17
    Likes Received:
    4
    The 1.14.4 version is ready, contact me on my discord server
     
    #12

Share This Page