Premium BungeeNPC [Command NPC is here!] | No dependencies! [Paid]

Discussion in 'Resource Discussion' started by MrMaurice211, Jan 31, 2017.

  1. [14:31:07] [Craft Scheduler Thread - 4/WARN]: Exception in thread "Craft Scheduler Thread - 4"
    [14:31:07] [Craft Scheduler Thread - 4/WARN]: org.apache.commons.lang.UnhandledException: Plugin BungeeNPC v1.3.4 generated an exception while executing task 39
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
    at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:482)
    at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1070)
    at me.mrmaurice.bnpc.utils.MessagingUtil.sendMsg(MessagingUtil.java:68)
    at me.mrmaurice.bnpc.utils.MessagingUtil.sendMsg(MessagingUtil.java:55)
    at me.mrmaurice.bnpc.utils.MessagingUtil.lambda$1(MessagingUtil.java:40)
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    ... 3 more


    How to solve this error
     
  2. Are you running a BungeeCord instance?
     
  3. yes. I am using BungeeCord
     
  4. Hi, i get this error with the latest version:

    Code (Text):
    16.04 19:40:58 [Server] ERROR Error occurred while enabling BungeeNPC v1.3.4 (Is it up to date?)
    16.04 19:40:58 [Server] INFO me.mrmaurice.bnpc.exceptions.ReflectionException: Cannot start instance of me.mrmaurice.bnpc.npc.NPCBungee
    16.04 19:40:58 [Server] INFO at me.mrmaurice.bnpc.utils.Reflections$ConsInvoker.newInstance(Reflections.java:301) ~[?:?]
    16.04 19:40:58 [Server] INFO at me.mrmaurice.bnpc.utils.Reflections$ConsInvoker.newInstance(Reflections.java:292) ~[?:?]
    16.04 19:40:58 [Server] INFO at me.mrmaurice.bnpc.managers.DataManager.<init>(DataManager.java:36) ~[?:?]
    16.04 19:40:58 [Server] INFO at me.mrmaurice.bnpc.BungeeNPC.onEnable(BungeeNPC.java:70) ~[?:?]
    16.04 19:40:58 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[BeerSpigot.jar:git-TacoSpigot-fd3209f3]
    16.04 19:40:58 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [BeerSpigot.jar:git-TacoSpigot-fd3209f3]
    16.04 19:40:58 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [BeerSpigot.jar:git-TacoSpigot-fd3209f3]
    16.04 19:40:58 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:360) [BeerSpigot.jar:git-TacoSpigot-fd3209f3]
    16.04 19:40:58 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:319) [BeerSpigot.jar:git-TacoSpigot-fd3209f3]
    16.04 19:40:58 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [BeerSpigot.jar:git-TacoSpigot-fd3209f3]
    16.04 19:40:58 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [BeerSpigot.jar:git-TacoSpigot-fd3209f3]
    16.04 19:40:58 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [BeerSpigot.jar:git-TacoSpigot-fd3209f3]
     
  5. I found an error: I modified something in the npc folder of the configuration and the plugin does not work after modified. I can say that the plugin does not load new configuration every time I give it reload

    https://pastebin.com/8b1ATLeR
     
  6. The next version will fix the /bnpc reload command and will prevent the plugin to stop working when any NPC file is wrong/corrupted
     
  7. Can we see how many players are in a server under the name of the NPC using this?
     
  8. That’s almost the whole point haha

    When you create a NPC of type Bungee the second line shows the player count with an extra text
    Also the plugin has a custom placeholder to use it with another type of NPC (Command one and inventory in near future): %count:serverName%
    Also the plugin supports PlaceHolderAPI and MWvDPlaceholder plugins!
     
  9. Can't edit names above the head... Dosen't show anything... I'm doing everything right.. Why?



    [​IMG]
     
  10. Change in the config file the field UseHooks, to true
     
  11. MrMaurice211 updated BungeeNPC [Command NPC is here!] | No dependencies! with a new update entry:

    1.3.8 - Some changes

    Read the rest of this update entry...
     
  12. There is always no hologram above head yet!
     
  13. Use holograms or Holographics displays