1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon NpcAddon 1.0.0

An API and Skript addon that creates Npc's without any dependencies

  1. LimeGlass

    VIP Supporter ++ Regular Diner Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    622
    Likes Received:
    439
    Medals:
    LimeGlass submitted a new resource:

    NpcAddon - An API and Skript addon that creates Npc's without any dependencies

    Read more about this resource...
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Can you add 1.8 Support? :emoji_slight_smile:
     
    • Agree Agree x 1
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    @LimeGlass I am getting this error on join and leave (I think):
    Code (Java):
    1. 25.04 19:56:46 [Server] WARN at java.lang.Thread.run(Unknown Source)
    2. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    3. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    4. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    5. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814)
    6. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148)
    7. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231)
    8. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54)
    9. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144)
    10. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157)
    11. 25.04 19:56:46 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298)
    12. 25.04 19:56:46 [Server] WARN at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    13. 25.04 19:56:46 [Server] WARN at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    14. 25.04 19:56:46 [Server] WARN at me.incomprehendable.dev.pwp.transparentlisteners.PWPRegisteredListener.callEvent(PWPRegisteredListener.java:28)
    15. 25.04 19:56:46 [Server] WARN at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    16. 25.04 19:56:46 [Server] WARN at me.incomprehendable.dev.pwp.transparentlisteners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:116)
    17. 25.04 19:56:46 [Server] WARN at java.lang.reflect.Method.invoke(Unknown Source)
    18. 25.04 19:56:46 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    19. 25.04 19:56:46 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    20. 25.04 19:56:46 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    21. 25.04 19:56:46 [Server] WARN at com.gmail.thelimeglass.Utils.Packets.PacketListener.onJoin(PacketListener.java:22)
    22. 25.04 19:56:46 [Server] WARN at com.gmail.thelimeglass.Utils.Packets.PacketListener.create(PacketListener.java:70)
    23. 25.04 19:56:46 [Server] WARN at com.comphenix.protocol.injector.netty.ChannelInjector$5$1.addBefore(ChannelInjector.java:297)
    24. 25.04 19:56:46 [Server] WARN at com.comphenix.protocol.injector.netty.PipelineProxy.addBefore(PipelineProxy.java:66)
    25. 25.04 19:56:46 [Server] WARN at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:150)
    26. 25.04 19:56:46 [Server] WARN at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:158)
    27. 25.04 19:56:46 [Server] WARN at io.netty.channel.DefaultChannelPipeline.checkDuplicateName(DefaultChannelPipeline.java:900)
    28. 25.04 19:56:46 [Server] WARN java.lang.IllegalArgumentException: Duplicate handler name: G3TREKT
    29. 25.04 19:56:46 [Server] INFO ... 15 more
    30. 25.04 19:56:46 [Server] INFO at me.incomprehendable.dev.pwp.transparentlisteners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:116) ~[?:?]
    31. 25.04 19:56:46 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
    32. 25.04 19:56:46 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    33. 25.04 19:56:46 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    34. 25.04 19:56:46 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
    35. 25.04 19:56:46 [Server] INFO at me.limeglass.npcaddon.util.PacketListener.onJoin(PacketListener.java:32) ~[?:?]
    36. 25.04 19:56:46 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_77]
    37. 25.04 19:56:46 [Server] INFO at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_77]
    38. 25.04 19:56:46 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    39. 25.04 19:56:46 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) ~[spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    40. 25.04 19:56:46 [Server] INFO Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_11_R1.World
    41. 25.04 19:56:46 [Server] INFO ... 15 more
    42. 25.04 19:56:46 [Server] INFO at me.incomprehendable.dev.pwp.transparentlisteners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:116) ~[?:?]
    43. 25.04 19:56:46 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
    44. 25.04 19:56:46 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    45. 25.04 19:56:46 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    46. 25.04 19:56:46 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
    47. 25.04 19:56:46 [Server] INFO at me.limeglass.npcaddon.util.PacketListener.onJoin(PacketListener.java:32) ~[?:?]
    48. 25.04 19:56:46 [Server] INFO Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_11_R1/World
    49. 25.04 19:56:46 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
    50. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    51. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    52. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    53. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    54. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    55. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    56. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    57. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    58. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    59. 25.04 19:56:46 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    60. 25.04 19:56:46 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    61. 25.04 19:56:46 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    62. 25.04 19:56:46 [Server] INFO at me.incomprehendable.dev.pwp.transparentlisteners.PWPRegisteredListener.callEvent(PWPRegisteredListener.java:28) [PerServerPlugins.jar:?]
    63. 25.04 19:56:46 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_1.8.8_latest.jar:git-Spigot-e4d4710-e1ebe52]
    64. 25.04 19:56:46 [Server] INFO at me.incomprehendable.dev.pwp.transparentlisteners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:118) ~[?:?]
    65. 25.04 19:56:46 [Server] INFO org.bukkit.event.EventException
    66. 25.04 19:56:46 [Server] INFO Could not pass event PlayerJoinEvent to NpcAddon v1.0.0
    Also...
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    It's conflicting with PerWorldPluginLoader.
    This addon supports all versions. It uses reflections.
     
    • Informative Informative x 1
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Code (Skript):
    1. [12:39:47] [Thread-129/INFO]: UUID of player marcellmit2l is ea1269bc-ae39-4071-82f6-0d0dec3e1515
    2. [12:39:48] [Server thread/ERROR]: Could not pass event PlayerJoinEvent to NpcAddon v1.0.0
    3. org.bukkit.event.EventException
    4.     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
    5.     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
    6.     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    7.     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    8.     at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    9.     at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    10.     at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    11.     at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    12.     at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    13.     at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    14.     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    15.     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    16.     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    17.     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-21fe707-e1ebe52]
    18.     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
    19. Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_11_R1/World
    20.     at me.limeglass.npcaddon.util.PacketListener.onJoin(PacketListener.java:32) ~[?:?]
    21.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
    22.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
    23.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
    24.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
    25.     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
    26.     ... 14 more
    27. Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_11_R1.World
    28.     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
    29.     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
    30.     at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_91]
    31.     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_91]
    32.     at me.limeglass.npcaddon.util.PacketListener.onJoin(PacketListener.java:32) ~[?:?]
    33.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
    34.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
    35.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
    36.     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
    37.     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
    38.     ... 14 more
    39. [12:39:48] [Server thread/WARN]: java.lang.IllegalArgumentException: Duplicate handler name: marcellmit2l
    40. [12:39:48] [Server thread/WARN]:     at io.netty.channel.DefaultChannelPipeline.checkDuplicateName(DefaultChannelPipeline.java:900)
    41. [12:39:48] [Server thread/WARN]:     at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:158)
    42. [12:39:48] [Server thread/WARN]:     at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:150)
    43. [12:39:48] [Server thread/WARN]:     at com.comphenix.protocol.injector.netty.PipelineProxy.addBefore(PipelineProxy.java:66)
    44. [12:39:48] [Server thread/WARN]:     at com.comphenix.protocol.injector.netty.ChannelInjector$5$1.addBefore(ChannelInjector.java:297)
    45. [12:39:48] [Server thread/WARN]:     at com.gmail.thelimeglass.Utils.Packets.PacketListener.create(PacketListener.java:70)
    46. [12:39:48] [Server thread/WARN]:     at com.gmail.thelimeglass.Utils.Packets.PacketListener.onJoin(PacketListener.java:22)
    47. [12:39:48] [Server thread/WARN]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    48. [12:39:48] [Server thread/WARN]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    49. [12:39:48] [Server thread/WARN]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    50. [12:39:48] [Server thread/WARN]:     at java.lang.reflect.Method.invoke(Method.java:498)
    51. [12:39:48] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
    52. [12:39:48] [Server thread/WARN]:     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    53. [12:39:48] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    54. [12:39:48] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    55. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298)
    56. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157)
    57. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144)
    58. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54)
    59. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231)
    60. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148)
    61. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814)
    62. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    63. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    64. [12:39:48] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    65. [12:39:48] [Server thread/WARN]:     at java.lang.Thread.run(Thread.java:745)
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    1.11 imports while using Reflection?
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Hello,
    When a player clicks on an npc with your addon the player is disconected ^^
    Version: Spigot 1.8.8
    Skript: 2.2-dev26f
    Code (Skript):
    1. Spartan9802 has disconnected, reason: Internal Exception: java.lang.NoClassDefFoundError: net/minecraft/server/v1_11_R1/PacketPlayInUseEntity$EnumEntityUseAction
     
    #7 ShaneBee, Apr 27, 2017
    Last edited by a moderator: Apr 27, 2017
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Seems that it only supports the 1.11 for now.
     
    • Agree Agree x 1

Share This Page

Loading...