This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I created a plugin that works (almost); and I'm trying to integrate your API.
On server start I get this message:
[ControllableMobsAPI] is not used by any plugins.
and when I execute this instruction:
final ControllableMob<?> controllableEntity = ControllableMobs.putUnderControl(_explorer);
(_explorer is a LivingEntity)
I get this error
[00:01:10 INFO]: [ControllableMobsAPI] initialized by an unknown component[00:01:10 ERROR]: nullorg.bukkit.command.CommandException: Unhandled exception executing command 'cex' in plugin ************v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-1326] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[spigot.jar:git-Spigot-1326] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:704) ~[spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:984) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:829) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.ServerConnection.c(ServerConnection.java:77) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:700) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:562) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:469) [spigot.jar:git-Spigot-1326] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1326]Caused by: java.lang.IllegalAccessError: tried to access class org.bukkit.plugin.java.PluginClassLoader from class de.ntcomputer.minecraft.controllablemobs.implementation.nativeinterfaces.server.CBInterfacePluginClassLoader at de.ntcomputer.minecraft.controllablemobs.implementation.nativeinterfaces.server.CBInterfacePluginClassLoader.<init>(CBInterfacePluginClassLoader.java:9) ~[?:?] at de.ntcomputer.minecraft.controllablemobs.implementation.nativeinterfaces.NativeInterfaces.<clinit>(NativeInterfaces.java:30) ~[?:?] at de.ntcomputer.minecraft.controllablemobs.implementation.CraftControllableMobAttributes.<init>(CraftControllableMobAttributes.java:23) ~[?:?] at de.ntcomputer.minecraft.controllablemobs.implementation.CraftControllableMob.<init>(CraftControllableMob.java:23) ~[?:?] at de.ntcomputer.minecraft.controllablemobs.api.ControllableMobs.putUnderControl(ControllableMobs.java:262) ~[?:?] at de.ntcomputer.minecraft.controllablemobs.api.ControllableMobs.putUnderControl(ControllableMobs.java:242) ~[?:?] at tk.andreaci.***************.Explorer.startRoute(Explorer.java:77) ~[?:?] at tk.andreaci.*************.********.SpawnExplorer(***********.java:167) ~[?:?] at tk.andreaci.************.*********.onCommand(***********.java:124) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-1326] ... 13 more
I have the same thing!
To post a comment, please login or register a new account.