Spigot [BSAddon] Citizens integration 1.3.3

Allows adding NPCs for your bossshops

  1. TheCreeperCow submitted a new resource:

    [BSAddon] Citizens intergration - Allows adding NPCs for your bossshops

    Read more about this resource...
     
  2. I just upgraded to BossShopPro and this plugin stopped working. Can you allow it to work with BSP?
     
  3. Currently working that
     
    • Like Like x 1
  4. You're alright! No matter what they say about you on Twitter. :p

    Thanks for making this btw, I've just started using it and I think it's great!
     
    • Like Like x 1
  5. I am not sure what I am doing wrong, but this plugin doesn't seem to want to load for me. I have citizens2 and BSP.
     
  6. What error do you get
     
  7. None at all, it doesn't even load when rebooting the server. I've checked my startup logs and doublechecked to make sure the jar is in the plugins folder and it's not working at all. When I do /npcshop add (nameofmyshop) it just says Unknown command.
     
  8. Then its not my fault because your server is just not using the jar if it would be my fault it would spit out errors
     
  9. I take it back, after checking my latest.txt (for some reason it wasn't displaying in the console), I found this:
    Code (Text):
    [08:11:57]
    [Server thread/ERROR]: Could not load 'plugins/BSACitizens.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/black_ixx/bossshop/api/BossShopAddon
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:326) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:272) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:308) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:205) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
    Caused by: java.lang.NoClassDefFoundError: org/black_ixx/bossshop/api/BossShopAddon
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_144]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_144]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_144]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) ~[?:1.8.0_144]
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_144]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_144]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_144]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_144]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361) ~[?:1.8.0_144]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_144]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_144]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_144]
        at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_144]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        ... 6 more
    Caused by: java.lang.ClassNotFoundException: org.black_ixx.bossshop.api.BossShopAddon
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_144]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_144]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_144]
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_144]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_144]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_144]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) ~[?:1.8.0_144]
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_144]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_144]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_144]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_144]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361) ~[?:1.8.0_144]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_144]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_144]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_144]
        at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_144]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot-1.12.1.jar:git-Spigot-da42974-8f47214]
        ... 6 more
     
  10. are you using BSP or just BS
     
  11. BossShopPro. I bought it and then saw this plugin as well and installed both.
     
  12. @violetCU WTF this is the second time someone came with this error which makes 0 sense can i have your plugin list
     
  13. I'll PM it to you, i'd rather not have it public, if that's okay.
     
  14. Alright, think I got it working. BSP has to be loaded first before you install this addon. Once BSP is installed, shut down the server, install this plugin, then reboot and it should work. Sorry for any inconvenience ^-^;;
     
  15. @TheCreeperCow I also have the same error as @violetCU.
    We are running the latest BS v2.7.5.
    Citizens v2.0.22-SNAPSHOT (build 1494)
    Server is running CraftBukkit version git-Spigot-7754231-a3b3a42 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
    https://pastebin.com/DdpcfPct
     
  16. Try my solution, @ConnorFranta . Uninstall BSP and the citizens integration, then reinstall bsp, boot up the server, let it generate the configs, then shut it down, THEN install the citizens integration and reboot again.
     
  17. For future reference i can not reproduce this issue so if you get it please send over your server files i really do not know how to fix this
    It appears to be a issue where the plugin can't find the BSP classes
     
  18. @TheCreeperCow The paste bin (https://pastebin.com/DdpcfPct) is from the server console/log. That's all your plugin showed on startup. Everything else loaded normally.
    I will try @violetCU's fix by uninstalling everything within in the next few days.
    BossShop and Citizens were already existing plugins, then I tried adding your citizens integration plugin.
     
    #20 ConnorFranta, Oct 22, 2017
    Last edited: Oct 22, 2017