Coder Social home page Coder Social logo

pokkit's Introduction

pokkit's People

Contributors

ankitm252 avatar boy0001 avatar davidboden avatar lmheesoo avatar mrpowergamerbr avatar oliveruv avatar petterim1 avatar pikyxos avatar raynlegends avatar rutgerkok avatar superalecs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pokkit's Issues

Error loading plugin

[ERROR] [Pokkit] Error loading plugin
java.lang.NoClassDefFoundError: org/bukkit/Server
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at nl.rutgerkok.pokkit.startup.NukkitHook.onLoad(NukkitHook.java:39)
at cn.nukkit.plugin.JavaPluginLoader.initPlugin(JavaPluginLoader.java:112)
at cn.nukkit.plugin.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:54)
at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:96)
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:278)
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:133)
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:125)
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:121)
at cn.nukkit.Server.(Server.java:379)
at cn.nukkit.Nukkit.main(Nukkit.java:65)
Caused by: java.lang.ClassNotFoundException: org.bukkit.Server
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at nl.rutgerkok.pokkit.startup.UrlFirstClassLoader.loadClass(UrlFirstClassLoader.java:50)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 14 more

when i turn on the server, this happended

Error in compiler

If i'm compile plugin,get error:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.527 s
[INFO] Finished at: 2016-11-06T14:28:01+02:00
[INFO] Final Memory: 22M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project pokkit: Compilation failure: Compilation failure:
[ERROR] /root/mm/src/main/java/nl/rutgerkok/pokkit/entity/PokkitEntity.java:[33,8] nl.rutgerkok.pokkit.entity.PokkitEntity is not abstract and does not override abstract method removeScoreboardTag(java.lang.String) in org.bukkit.entity.Entity
[ERROR] /root/mm/src/main/java/nl/rutgerkok/pokkit/entity/PokkitEntityLightningStrike.java:[8,8] nl.rutgerkok.pokkit.entity.PokkitEntityLightningStrike is not abstract and does not override abstract method removeScoreboardTag(java.lang.String) in org.bukkit.entity.Entity
[ERROR] /root/mm/src/main/java/nl/rutgerkok/pokkit/entity/PokkitLivingEntity.java:[30,8] nl.rutgerkok.pokkit.entity.PokkitLivingEntity is not abstract and does not override abstract method removeScoreboardTag(java.lang.String) in org.bukkit.entity.Entity
[ERROR] /root/mm/src/main/java/nl/rutgerkok/pokkit/entity/PokkitHumanEntity.java:[19,8] nl.rutgerkok.pokkit.entity.PokkitHumanEntity is not abstract and does not override abstract method removeScoreboardTag(java.lang.String) in org.bukkit.entity.Entity
[ERROR] /root/mm/src/main/java/nl/rutgerkok/pokkit/player/PokkitPlayer.java:[75,8] nl.rutgerkok.pokkit.player.PokkitPlayer is not abstract and does not override abstract method removeScoreboardTag(java.lang.String) in org.bukkit.entity.Entity

NullPointerException in timer of Essentials

Bug on essentials, spam error:

23:49:32 [CRITICAL] Exception while invoking run
java.lang.NullPointerException
at com.earth2me.essentials.EssentialsTimer.run(EssentialsTimer.java:99)
at cn.nukkit.scheduler.TaskHandler.run(TaskHandler.java:99)
at cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat(ServerScheduler.java:282)
at cn.nukkit.Server.tick(Server.java:1005)
at cn.nukkit.Server.tickProcessor(Server.java:800)
at cn.nukkit.Server.start(Server.java:779)
at cn.nukkit.Server.(Server.java:464)
at cn.nukkit.Nukkit.main(Nukkit.java:68)

Armour support or idk

Error: @MrPowerGamerBR
Plugin: https://dev.bukkit.org/bukkit-plugins/kitplugin/

20:32:18 [CRITICAL] Unhandled exception executing command 'kit start' in kit: java.lang.ClassCastException: nl.rutgerkok.pokkit.world.item.PokkitItemMeta cannot be cast to org.bukkit.inventory.meta.LeatherArmorMeta
at com.recon.KitPlugin.Handler.KitHandler.colorizeArmor(KitHandler.java:332)
at com.recon.KitPlugin.Handler.KitHandler.giveKit(KitHandler.java:155)
at com.recon.KitPlugin.Handler.CommandHandler.onCommand(CommandHandler.java:90)
at nl.rutgerkok.pokkit.plugin.PokkitPlugin.onCommand(PokkitPlugin.java:279)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:225)
at cn.nukkit.Server.dispatchCommand(Server.java:630)
at cn.nukkit.Player.handleDataPacket(Player.java:2663)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1750)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:63)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:989)
at cn.nukkit.Server.tickProcessor(Server.java:786)
at cn.nukkit.Server.start(Server.java:765)
at cn.nukkit.Server.(Server.java:456)
at cn.nukkit.Nukkit.main(Nukkit.java:65)

LaggClear KillMobs error Again

Error: 23:15:48 [ALERT] java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.5-SNAPSHOT
at nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:81)
at nl.rutgerkok.pokkit.entity.PokkitEntity.remove(PokkitEntity.java:373)
at me.minebuilders.clearlag.Util.removeEntitys(Util.java:89)
at me.minebuilders.clearlag.managers.EntityManager.removeEntities(EntityManager.java:35)
at me.minebuilders.clearlag.managers.EntityManager.removeEntities(EntityManager.java:23)
at me.minebuilders.clearlag.commands.KillmobsCmd.run(KillmobsCmd.java:26)
at me.minebuilders.clearlag.modules.CommandModule.processCmd(CommandModule.java:35)
at me.minebuilders.clearlag.CommandListener.onCommand(CommandListener.java:40)
at nl.rutgerkok.pokkit.plugin.PokkitPlugin.onCommand(PokkitPlugin.java:281)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:244)
at cn.nukkit.Server.dispatchCommand(Server.java:635)
at cn.nukkit.command.CommandReader$1.run(CommandReader.java:78)
at cn.nukkit.scheduler.TaskHandler.run(TaskHandler.java:99)
at cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat(ServerScheduler.java:282)
at cn.nukkit.Server.tick(Server.java:996)
at cn.nukkit.Server.tickProcessor(Server.java:791)
at cn.nukkit.Server.start(Server.java:770)
at cn.nukkit.Server.(Server.java:455)
at cn.nukkit.Nukkit.main(Nukkit.java:64)

EventException bug, on WorldGuard

22:09:28 [ERROR] [Pokkit] Could not pass event BlockBreakEvent to WorldGuard v6.1.3-SNAPSHOT;c904242
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at nl.rutgerkok.pokkit.plugin.BukkitEventManager.fireEvent(BukkitEventManager.java:64)
at nl.rutgerkok.pokkit.plugin.BukkitEventManager.callEvent(BukkitEventManager.java:49)
at nl.rutgerkok.pokkit.plugin.PokkitPluginManager.callEvent(PokkitPluginManager.java:79)
at nl.rutgerkok.pokkit.pluginservice.EventTranslator.callCancellable(EventTranslator.java:19)
at nl.rutgerkok.pokkit.pluginservice.PlayerBlockEvents.onBlockBreak(PlayerBlockEvents.java:59)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at cn.nukkit.plugin.MethodEventExecutor.execute(MethodEventExecutor.java:29)
at cn.nukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:56)
at cn.nukkit.plugin.PluginManager.callEvent(PluginManager.java:553)
at cn.nukkit.level.Level.useBreakOn(Level.java:1731)
at cn.nukkit.Player.handleDataPacket(Player.java:2649)
at cn.nukkit.network.Network.processPackets(Network.java:185)
at cn.nukkit.network.Network.processBatch(Network.java:156)
at cn.nukkit.Player.handleDataPacket(Player.java:1912)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:156)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:67)
at cn.nukkit.network.Network.processInterfaces(Network.java:76)
at cn.nukkit.Server.tick(Server.java:988)
at cn.nukkit.Server.tickProcessor(Server.java:791)
at cn.nukkit.Server.start(Server.java:770)
at cn.nukkit.Server.(Server.java:455)
at cn.nukkit.Nukkit.main(Nukkit.java:64)
Caused by: java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.5-SNAPSHOT
at nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:81)
at nl.rutgerkok.pokkit.player.PokkitPlayer.playEffect(PokkitPlayer.java:833)
at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.playDenyEffect(EventAbstractionListener.java:991)
at com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onBlockBreak(EventAbstractionListener.java:127)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
... 26 more

Intermittent "Could not pass event" error when testing RaspberryJuice Bukkit plugin. Block face = -1

Error logged in Nukkit server console was:

22:05:31 [CRITICAL] "Could not pass event 'cn.nukkit.event.player.PlayerInteractEvent' to 'Pokkit v0.5-SNAPSHOT': null on nl.rutgerkok.pokkit.pluginservice.PlayerInteractEvents 22:05:31 [ALERT] cn.nukkit.utils.EventException at cn.nukkit.plugin.MethodEventExecutor.execute(MethodEventExecutor.java:34) at cn.nukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:56) at cn.nukkit.plugin.PluginManager.callEvent(PluginManager.java:557) at cn.nukkit.Player.handleDataPacket(Player.java:2162) at cn.nukkit.network.Network.processPackets(Network.java:181) at cn.nukkit.network.Network.processBatch(Network.java:157) at cn.nukkit.Player.handleDataPacket(Player.java:1874) at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154) at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123) at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:63) at cn.nukkit.network.Network.processInterfaces(Network.java:76) at cn.nukkit.Server.tick(Server.java:986) at cn.nukkit.Server.tickProcessor(Server.java:793) at cn.nukkit.Server.start(Server.java:772) at cn.nukkit.Server.<init>(Server.java:463) at cn.nukkit.Nukkit.main(Nukkit.java:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: Unknown Vector3.SIDE: -1 at nl.rutgerkok.pokkit.world.PokkitBlockFace.toBukkit(PokkitBlockFace.java:24) at nl.rutgerkok.pokkit.pluginservice.PlayerInteractEvents.onPlayerInteract(PlayerInteractEvents.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at cn.nukkit.plugin.MethodEventExecutor.execute(MethodEventExecutor.java:29) ... 21 more

Add CraftBukkit's Command Map

I know we are implementing the Bukkit API, however a lot of plugins registers the plugin commands via Reflection + accessing the CraftBukkit's Command Map, so I think it is a good idea to create a fake CraftBukkit class with only the commandMap variable so we can properly register those commands.

Marriage Master: Player.chat

Plugin: https://mods.curse.com/bukkit-plugins/minecraft/marriage-master
All functions work ,but not work /marry gift

Bug; 16:28:47 [ALERT] java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.5-SNAPSHOT
at nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:81)
at nl.rutgerkok.pokkit.player.PokkitPlayer.chat(PokkitPlayer.java:264)
at at.pcgamingfreaks.MarriageMaster.Bukkit.Commands.Priest.MarryPlayer(Priest.java:381)
at at.pcgamingfreaks.MarriageMaster.Bukkit.Commands.Priest.Marry(Priest.java:154)
at at.pcgamingfreaks.MarriageMaster.Bukkit.Listener.OnCommand.onCommand(OnCommand.java:846)
at nl.rutgerkok.pokkit.plugin.PokkitPlugin.onCommand(PokkitPlugin.java:281)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:225)
at cn.nukkit.Server.dispatchCommand(Server.java:630)
at cn.nukkit.Player.handleDataPacket(Player.java:2663)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1750)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:65)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:977)
at cn.nukkit.Server.tickProcessor(Server.java:786)
at cn.nukkit.Server.start(Server.java:765)
at cn.nukkit.Server.(Server.java:456)
at cn.nukkit.Nukkit.main(Nukkit.java:65)

Plugins onLoad not called

As the title suggests the onLoad method of Bukkit plugins is not called, therefore they may not be loaded properly.

Wrong IDs for items

I was implementing some events to Pokkit and I found out a very strange bug:

http://i.imgur.com/jRoRZcl.png

http://i.imgur.com/1lClEjp.png

The items IDs are completly wrong! I'm not sure why this happens because the MCPE IDs and MCPC items IDs match, but Pokkit is saying that a gold shovel is a painting.

How???

How to add a PC plugin to PE Nukkit

Events aren't registered

Some plugins (GriefPrevention) are registering events however Pokkit simply doesn't register them.

        //register for events
        PluginManager pluginManager = this.getServer().getPluginManager();

        System.out.println("Plugin Manager: " + pluginManager);
        //player events
        PlayerEventHandler playerEventHandler = new PlayerEventHandler(this.dataStore, this);
        pluginManager.registerEvents(playerEventHandler, this);

        System.out.println("Player events registered!");

        //block events
        BlockEventHandler blockEventHandler = new BlockEventHandler(this.dataStore);
        pluginManager.registerEvents(blockEventHandler, this);

        System.out.println("Block events registered!");

They register successfully but nothing happens in game.

ClearLag: Chunk.getTileEntities & World.getAmbientSpawnLimit

ClearLagg plugin.

Error : 15:36:39 [ALERT] java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.5-SNAPSHOT
at nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:81)
at nl.rutgerkok.pokkit.world.PokkitChunk.getTileEntities(PokkitChunk.java:71)
at me.minebuilders.clearlag.commands.CheckCmd.run(CheckCmd.java:61)
at me.minebuilders.clearlag.modules.CommandModule.run(CommandModule.java:40)
at me.minebuilders.clearlag.modules.CommandModule.processCmd(CommandModule.java:33)
at me.minebuilders.clearlag.CommandListener.onCommand(CommandListener.java:40)
at nl.rutgerkok.pokkit.plugin.PokkitPlugin.onCommand(PokkitPlugin.java:281)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:225)
at cn.nukkit.Server.dispatchCommand(Server.java:630)
at cn.nukkit.Player.handleDataPacket(Player.java:2663)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1750)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:63)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:989)
at cn.nukkit.Server.tickProcessor(Server.java:786)
at cn.nukkit.Server.start(Server.java:765)
at cn.nukkit.Server.(Server.java:456)
at cn.nukkit.Nukkit.main(Nukkit.java:65)

how

how tu dovnloat pokkit.jar

Support AntiHacks plugin

Plugin issue , not found EntityPlayer.. 👍 You can add @MrPowerGamerBR or @rutgerkok or @Langsdorf or @zingding
23:36:18 [INFO] [Pokkit] [MineSecure] Enabling MineSecure v4.1

java.lang.ClassNotFoundException: net.minecraft.server.v1_99_R9.EntityPlayer
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at me.gervobis.netty.Reflection.getClass(h:199)
at me.gervobis.netty.PacketInjector.(e:210)
at me.gervobis.antihack.Main.onEnable(x:18)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
at nl.rutgerkok.pokkit.plugin.PokkitPluginLoader.enablePlugin(PokkitPluginLoader.java:69)
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:456)
at cn.nukkit.Server.enablePlugin(Server.java:618)
at cn.nukkit.Server.enablePlugins(Server.java:607)
at cn.nukkit.Server.(Server.java:454)
at cn.nukkit.Nukkit.main(Nukkit.java:65)
java.lang.NullPointerException
at me.gervobis.netty.Reflection.getField(h:116)
at me.gervobis.netty.PacketInjector.(e:210)
at me.gervobis.antihack.Main.onEnable(x:18)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
at nl.rutgerkok.pokkit.plugin.PokkitPluginLoader.enablePlugin(PokkitPluginLoader.java:69)
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:456)
at cn.nukkit.Server.enablePlugin(Server.java:618)
at cn.nukkit.Server.enablePlugins(Server.java:607)
at cn.nukkit.Server.(Server.java:454)
at cn.nukkit.Nukkit.main(Nukkit.java:65)
23:36:19 [INFO] Supported Hacks: Aimbot, BowAimbot, KillAura, Fly (Beta), NoFall, NoSwing, FastEat, FastHeal, InvWalk, Spam, WaterWalk (Jesus), Glide, AutoRespawn, CreativeNuker, FastBow, AutoClicker, BedFucker, Phase, FastLadder, SpeedHack (WaterSpeed/FlySpeed/Speed), AntiKnockBack, Reach
23:36:19 [INFO] ===========[MineSecure] Updater===========
23:36:19 [INFO] Plugin is Up-To-Date: v4.1
23:36:19 [INFO] ===========[MineSecure] Updater===========
23:36:19 [INFO] [Pokkit] [TrailGUI] Enabling TrailGUI v5.0.1-b62-SNAPSHOT

PLUGIN : https://www.spigotmc.org/resources/minesecure-antihacksystem-aimbot-killaura-bungeecord-support.11996/

cant load config

[WARNING] [Pokkit] config broken for xmpp
11:49:33 [INFO] [Pokkit] [Multiverse-Core] Enabling Multiverse-Core v2.5-b719
11:49:33 [WARNING] [Pokkit] [CoreLogging] Could not read 'bukkit.yml'. Any Default worldgenerators will not be loaded!

CircleCI

Hello. You can create CircleCI for download .jar from CircleCI? :)

Depedency problems?

2017-2-10 13:53:41 [INFO] [Pokkit] Set PluginClassLoader as parallel capable
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_spawnergui': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_IslandWorld': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_core': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_spawnergui': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_IslandWorld': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_core': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_spawnergui': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_IslandWorld': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_core': Unknown dependency
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_spawnergui': Circular dependency detected
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_IslandWorld': Circular dependency detected
2017-2-10 13:53:41 [CRITICAL] Could not load plugin 'ucraft_core': Circular dependency detected
2017-2-10 13:53:41 [INFO] [Pokkit] [Vault] Enabling Vault v1.5.6-b49

That same plugins works fine on Spigot server.

Cannot Build latest.

Followed Instructions with latest .Zip of source. Here's the error after running mvn install in the pokkit dir. What am I doing wrong here?

$ mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Pokkit 0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pokkit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ pokkit ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 79 source files to C:\NUKKIT2\MASTER\Pokkit-master\target\classes
[INFO] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/PokkitServer.java: Some input files use or override a deprecated API.
[INFO] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/PokkitServer.java: Recompile with -Xlint:deprecation for details.
[INFO] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/world/PokkitWorld.java: C:\NUKKIT2\MASTER\Pokkit-master\src\main\java\nl\rutgerkok\pokkit\world\PokkitWorld.java uses unchecked or unsafe operations.
[INFO] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/world/PokkitWorld.java: Recompile with -Xlint:unchecked for details.
[INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[12,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[13,76] incompatible types: cn.nukkit.inventory.InventoryType cannot be converted to int
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[13,25] enum types may not be instantiated
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[15,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[16,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[17,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[18,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[19,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[20,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[21,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[22,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[23,81] incompatible types: cn.nukkit.inventory.InventoryType cannot be converted to int
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[23,25] enum types may not be instantiated
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[25,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[26,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[27,78] incompatible types: cn.nukkit.inventory.InventoryType cannot be converted to int
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[27,25] enum types may not be instantiated
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[29,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[30,38] cannot find symbol
  symbol:   method get(cn.nukkit.inventory.InventoryType)
  location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[56,37] cannot find symbol
  symbol:   method get(int)
  location: class cn.nukkit.inventory.InventoryType
[INFO] 20 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.001 s
[INFO] Finished at: 2016-09-21T20:21:11-07:00
[INFO] Final Memory: 17M/142M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project pokkit: Compilation failure: Compilation failure:
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[12,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[13,76] incompatible types: cn.nukkit.inventory.InventoryType cannot be converted to int
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[13,25] enum types may not be instantiated
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[15,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[16,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[17,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[18,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[19,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[20,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[21,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[22,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[23,81] incompatible types: cn.nukkit.inventory.InventoryType cannot be converted to int
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[23,25] enum types may not be instantiated
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[25,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[26,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[27,78] incompatible types: cn.nukkit.inventory.InventoryType cannot be converted to int
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[27,25] enum types may not be instantiated
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[29,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[30,38] cannot find symbol
[ERROR] symbol:   method get(cn.nukkit.inventory.InventoryType)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] /C:/NUKKIT2/MASTER/Pokkit-master/src/main/java/nl/rutgerkok/pokkit/inventory/PokkitInventoryType.java:[56,37] cannot find symbol
[ERROR] symbol:   method get(int)
[ERROR] location: class cn.nukkit.inventory.InventoryType
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Pokkit not work

Plugin not work. If i'm starting server,plugin get errors and is not loaded..

Building

The plugin can't be builded:
[INFO] ------------------------------------------------------------------------
[INFO] Building Pokkit 0.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ pokkit ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ pokkit ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 100 source files to /root/Pokkit/target/classes
[INFO] /root/Pokkit/src/main/java/nl/rutgerkok/pokkit/scoreboard/PokkitTeam.java: Some input files use or override a deprecated API.
[INFO] /root/Pokkit/src/main/java/nl/rutgerkok/pokkit/scoreboard/PokkitTeam.java: Recompile with -Xlint:deprecation for details.
[INFO] /root/Pokkit/src/main/java/nl/rutgerkok/pokkit/world/PokkitWorld.java: /root/Pokkit/src/main/java/nl/rutgerkok/pokkit/world/PokkitWorld.java uses unchecked or unsafe operations.
[INFO] /root/Pokkit/src/main/java/nl/rutgerkok/pokkit/world/PokkitWorld.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /root/Pokkit/src/main/java/nl/rutgerkok/pokkit/player/PokkitPlayer.java:[77,8] nl.rutgerkok.pokkit.player.PokkitPlayer is not abstract and does not override abstract method sendTitle(java.lang.String,java.lang.String,int,int,int) in org.bukkit.entity.Player
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.896s
[INFO] Finished at: Mon Dec 26 04:38:57 EST 2016
[INFO] Final Memory: 17M/52M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project pokkit: Compilation failure
[ERROR] /root/Pokkit/src/main/java/nl/rutgerkok/pokkit/player/PokkitPlayer.java:[77,8] nl.rutgerkok.pokkit.player.PokkitPlayer is not abstract and does not override abstract method sendTitle(java.lang.String,java.lang.String,int,int,int) in org.bukkit.entity.Player
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Player.getEyeLocation not implemented

Exception in thread "Thread-12" java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.2-SNAPSHOT
at nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:65)
at nl.rutgerkok.pokkit.player.PokkitPlayer.getEyeLocation(PokkitPlayer.java:433)
at com.xxmicloxx.NoteBlockAPI.RadioSongPlayer.playTick(RadioSongPlayer.java:25)
at com.xxmicloxx.NoteBlockAPI.SongPlayer$1.run(SongPlayer.java:111)
at java.lang.Thread.run(Unknown Source)

when i play Music on my Server, this error happened.

(different plugin that is kind of Music also crashed.)

sorry for my english, and thanks~ :D

Nukkit and the inexistent InventoryClickEvent

Nukkit doesn't have a event to get if a player clicked on a item (InventoryClickEvent), however...

ContainerSetSlotPacket is sent from the client everytime he clicks on a item, at least Nukkit has a DataPacketReceiveEvent so we can intercept the click event.

However, there are issues with this:

  • We need to cache the last open inventory, since Nukkit doesn't have a API to get the current open inventory.
  • We need a way to convert Inventory (Nukkit) to InventoryView (Bukkit) because Bukkit needs a InventoryView.

But now I'm stuck, I tried doing this but I couldn't convert a Inventory (Nukkit) to a InventoryView (Bukkit).

Cannot package

***@ubuntu:(home)/MCPE/Pokkit$ mvn clean
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Pokkit 0.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pokkit ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.550s
[INFO] Finished at: Fri Dec 30 19:20:35 PST 2016
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
***@ubuntu:(home)/MCPE/Pokkit$ mvn package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Pokkit 0.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://ci.regularbox.com/plugin/repository/everything/org/spigotmc/spigot-api/1.11-R0.1-SNAPSHOT/maven-metadata.xml
Downloading: https://hub.spigotmc.org/nexus/content/groups/public/org/spigotmc/spigot-api/1.11-R0.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.spigotmc:spigot-api:1.11-R0.1-SNAPSHOT/maven-metadata.xml from/to spigot-repo (https://hub.spigotmc.org/nexus/content/groups/public/): peer not authenticated
[WARNING] Failure to transfer org.spigotmc:spigot-api:1.11-R0.1-SNAPSHOT/maven-metadata.xml from https://hub.spigotmc.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of spigot-repo has elapsed or updates are forced. Original error: Could not transfer metadata org.spigotmc:spigot-api:1.11-R0.1-SNAPSHOT/maven-metadata.xml from/to spigot-repo (https://hub.spigotmc.org/nexus/content/groups/public/): peer not authenticated
Downloading: http://ci.regularbox.com/plugin/repository/everything/org/spigotmc/spigot-api/1.11-R0.1-SNAPSHOT/spigot-api-1.11-R0.1-SNAPSHOT.pom
Downloading: https://hub.spigotmc.org/nexus/content/groups/public/org/spigotmc/spigot-api/1.11-R0.1-SNAPSHOT/spigot-api-1.11-R0.1-SNAPSHOT.pom
Downloading: https://hub.spigotmc.org/nexus/content/groups/public/cn/nukkit/nukkit/1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://ci.regularbox.com/plugin/repository/everything/cn/nukkit/nukkit/1.0-SNAPSHOT/maven-metadata.xml
Downloaded: http://ci.regularbox.com/plugin/repository/everything/cn/nukkit/nukkit/1.0-SNAPSHOT/maven-metadata.xml (606 B at 0.4 KB/sec)
[WARNING] Could not transfer metadata cn.nukkit:nukkit:1.0-SNAPSHOT/maven-metadata.xml from/to spigot-repo (https://hub.spigotmc.org/nexus/content/groups/public/): peer not authenticated
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.522s
[INFO] Finished at: Fri Dec 30 19:21:27 PST 2016
[INFO] Final Memory: 8M/20M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project pokkit: Could not resolve dependencies for project nl.rutgerkok:pokkit:jar:0.5-SNAPSHOT: Failed to collect dependencies for [org.spigotmc:spigot-api:jar:1.11-R0.1-SNAPSHOT (compile), org.xerial:sqlite-jdbc:jar:3.7.2 (compile), mysql:mysql-connector-java:jar:5.1.37 (compile), com.google.guava:guava:jar:17.0 (compile), junit:junit:jar:4.12 (test), cn.nukkit:nukkit:jar:1.0-SNAPSHOT (provided)]: Failed to read artifact descriptor for org.spigotmc:spigot-api:jar:1.11-R0.1-SNAPSHOT: Could not transfer artifact org.spigotmc:spigot-api:pom:1.11-R0.1-SNAPSHOT from/to spigot-repo (https://hub.spigotmc.org/nexus/content/groups/public/): peer not authenticated -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

BukkitPE support?

Support for BukkitPE? github.com/BukkitPE

or can be added inside the main core?

NullPointerException in EnchantmentWrapper.getStartLevel

Plugin: https://www.spigotmc.org/resources/kit.24164/

Error: 20:52:05 [ALERT] java.lang.NullPointerException
at org.bukkit.enchantments.EnchantmentWrapper.getStartLevel(EnchantmentWrapper.java:29)
at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:437)
at fr.werter.kit.item(kit.java:91)
at fr.werter.kit.onCommand(kit.java:156)
at nl.rutgerkok.pokkit.plugin.PokkitPlugin.onCommand(PokkitPlugin.java:279)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:225)
at cn.nukkit.Server.dispatchCommand(Server.java:630)
at cn.nukkit.Player.handleDataPacket(Player.java:2663)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1750)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:63)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:989)
at cn.nukkit.Server.tickProcessor(Server.java:786)
at cn.nukkit.Server.start(Server.java:765)
at cn.nukkit.Server.(Server.java:456)
at cn.nukkit.Nukkit.main(Nukkit.java:65)

NoCheatPlus: ConcurrentModificationException in recalculatePermissions

Plugin : NoCheatPlus.

Error:

18:28:08 [INFO] [Pokkit] [NoCheatPlus] Added hook: AllViolations(NCP) [1.0].
18:28:08 [ERROR] [Pokkit] [NoCheatPlus] Failed to complement permissions: ConcurrentModificationException
18:28:08 [ERROR] [Pokkit] [NoCheatPlus] java.util.ConcurrentModificationException
java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)
java.util.HashMap$ValueIterator.next(HashMap.java:1466)
cn.nukkit.permission.PermissibleBase.recalculatePermissions(PermissibleBase.java:133)
cn.nukkit.command.ConsoleCommandSender.recalculatePermissions(ConsoleCommandSender.java:68)
nl.rutgerkok.pokkit.command.PokkitCommandSender.recalculatePermissions(PokkitCommandSender.java:114)
org.bukkit.permissions.Permission.recalculatePermissibles(Permission.java:168)
org.bukkit.permissions.Permission.addParent(Permission.java:206)
fr.neatmonster.nocheatplus.permissions.PermissionUtil.addChildPermission(PermissionUtil.java:197)
fr.neatmonster.nocheatplus.NoCheatPlus.postEnable(NoCheatPlus.java:976)
fr.neatmonster.nocheatplus.NoCheatPlus$PostEnableTask.run(NoCheatPlus.java:230)
cn.nukkit.scheduler.TaskHandler.run(TaskHandler.java:99)
cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat(ServerScheduler.java:204)
cn.nukkit.Server.tick(Server.java:997)
cn.nukkit.Server.tickProcessor(Server.java:786)
cn.nukkit.Server.start(Server.java:765)
cn.nukkit.Server.(Server.java:456)
cn.nukkit.Nukkit.main(Nukkit.java:65)

18:28:08 [ALERT] java.lang.RuntimeException: java.util.ConcurrentModificationException
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:460)
at cn.nukkit.Server.enablePlugin(Server.java:618)
at cn.nukkit.Server.enablePlugins(Server.java:607)
at cn.nukkit.Server.reload(Server.java:677)
at cn.nukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:27)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:225)
at cn.nukkit.Server.dispatchCommand(Server.java:630)
at cn.nukkit.command.CommandReader.run(CommandReader.java:70)
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)
at java.util.HashMap$ValueIterator.next(HashMap.java:1466)
at cn.nukkit.permission.PermissibleBase.recalculatePermissions(PermissibleBase.java:133)
at cn.nukkit.command.ConsoleCommandSender.recalculatePermissions(ConsoleCommandSender.java:68)
at cn.nukkit.plugin.PluginManager.dirtyPermissibles(PluginManager.java:376)
at cn.nukkit.plugin.PluginManager.calculatePermissionDefault(PluginManager.java:364)
at cn.nukkit.plugin.PluginManager.addPermission(PluginManager.java:328)
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:454)
... 7 more

getAddress().getAddress() is always null, no matter what.

This is driving me crazy.

A lot of plugins uses getAddress() (from a InetSocketAddress) and, for some reason, it is ALWAYS null.

InetSocketAddress -> OK.
InetAddress (from getAddress()) -> null.

The only fix is by using reflection to change the addr on the InetSocketAddress object, but that's dirty... but maybe it is the only fix.

Creating a issue, maybe someone has a better fix for that.

Pokkit breaks (some) Nukkit plugins

16:53:23 [INFO] [Pokkit] Set PluginClassLoader as parallel capable
16:53:23 [DEBUG] Could not load plugin
org.bukkit.plugin.InvalidPluginException: main class `ru.nukkit.regions.RegionsPlugin' does not extend JavaPlugin
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:73)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129)
        at nl.rutgerkok.pokkit.plugin.PokkitPluginLoader.loadPlugin(PokkitPluginLoader.java:92)
        at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:96)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:278)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:133)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:125)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:121)
        at cn.nukkit.Server.<init>(Server.java:379)
        at cn.nukkit.Nukkit.main(Nukkit.java:65)
Caused by: java.lang.ClassCastException: class ru.nukkit.regions.RegionsPlugin
        at java.lang.Class.asSubclass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:71)
        ... 9 more

16:53:23 [CRITICAL] NÒo foi possÝvel carregar o plugin 'Regions'
16:53:23 [DEBUG] Could not load plugin
org.bukkit.plugin.InvalidPluginException: main class `com.mrpowergamerbr.sparklychat.SparklyChat' does not extend JavaPlugin
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:73)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129)
        at nl.rutgerkok.pokkit.plugin.PokkitPluginLoader.loadPlugin(PokkitPluginLoader.java:92)
        at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:96)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:278)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:133)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:125)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:121)
        at cn.nukkit.Server.<init>(Server.java:379)
        at cn.nukkit.Nukkit.main(Nukkit.java:65)
Caused by: java.lang.ClassCastException: class com.mrpowergamerbr.sparklychat.SparklyChat
        at java.lang.Class.asSubclass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:71)
        ... 9 more

16:53:23 [CRITICAL] NÒo foi possÝvel carregar o plugin 'SparklyChat'
16:53:23 [DEBUG] Could not load plugin
org.bukkit.plugin.InvalidPluginException: main class `com.mrpowergamerbr.sparklyelevadores.SparklyElevadores' does not extend JavaPlugin
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:73)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129)
        at nl.rutgerkok.pokkit.plugin.PokkitPluginLoader.loadPlugin(PokkitPluginLoader.java:92)
        at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:96)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:278)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:133)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:125)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:121)
        at cn.nukkit.Server.<init>(Server.java:379)
        at cn.nukkit.Nukkit.main(Nukkit.java:65)
Caused by: java.lang.ClassCastException: class com.mrpowergamerbr.sparklyelevadores.SparklyElevadores
        at java.lang.Class.asSubclass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:71)
        ... 9 more

16:53:23 [CRITICAL] NÒo foi possÝvel carregar o plugin 'SparklyElevadores'
16:53:23 [DEBUG] Could not load plugin
org.bukkit.plugin.InvalidPluginException: main class `com.mrpowergamerbr.sparklypvptweaks.SparklyPvPTweaks' does not extend JavaPlugin
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:73)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129)
        at nl.rutgerkok.pokkit.plugin.PokkitPluginLoader.loadPlugin(PokkitPluginLoader.java:92)
        at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:96)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:278)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:133)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:125)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:121)
        at cn.nukkit.Server.<init>(Server.java:379)
        at cn.nukkit.Nukkit.main(Nukkit.java:65)
Caused by: java.lang.ClassCastException: class com.mrpowergamerbr.sparklypvptweaks.SparklyPvPTweaks
        at java.lang.Class.asSubclass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:71)
        ... 9 more

16:53:23 [CRITICAL] NÒo foi possÝvel carregar o plugin 'SparklyPvPTweaks'
16:53:23 [DEBUG] Could not load plugin
org.bukkit.plugin.InvalidPluginException: main class `ru.nukkit.multipass.MultipassPlugin' does not extend JavaPlugin
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:73)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129)
        at nl.rutgerkok.pokkit.plugin.PokkitPluginLoader.loadPlugin(PokkitPluginLoader.java:92)
        at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:96)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:294)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:133)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:125)
        at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:121)
        at cn.nukkit.Server.<init>(Server.java:379)
        at cn.nukkit.Nukkit.main(Nukkit.java:65)
Caused by: java.lang.ClassCastException: class ru.nukkit.multipass.MultipassPlugin
        at java.lang.Class.asSubclass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:71)
        ... 9 more

16:53:23 [CRITICAL] NÒo foi possÝvel carregar o plugin 'Multipass'

And, of course, all of those plugins are inside the Nukkit's plugin directory (NOT Pokkit's plugin directory) but Pokkit tries to load them and fails.

BuyHead: World.spawnEntity

Plugin: https://www.spigotmc.org/resources/buyhead.14660/update?update=55263

Error: If you create /buyh newshop get this error:

16:54:18 [CRITICAL] Unhandled exception executing command 'buyh newshop test' in buyhead: java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.5-SNAPSHOT
at nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:81)
at nl.rutgerkok.pokkit.world.PokkitWorld.spawnEntity(PokkitWorld.java:756)
at me.poutineqc.buyhead.shop.Shop.(Shop.java:56)
at me.poutineqc.buyhead.commands.Buyh.onCommand(Buyh.java:155)
at nl.rutgerkok.pokkit.plugin.PokkitPlugin.onCommand(PokkitPlugin.java:281)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:225)
at cn.nukkit.Server.dispatchCommand(Server.java:630)
at cn.nukkit.Player.handleDataPacket(Player.java:2663)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1750)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:63)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:989)
at cn.nukkit.Server.tickProcessor(Server.java:786)
at cn.nukkit.Server.start(Server.java:765)
at cn.nukkit.Server.(Server.java:456)
at cn.nukkit.Nukkit.main(Nukkit.java:65)

16:54:18 [ALERT] java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.5-SNAPSHOT
at nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:81)
at nl.rutgerkok.pokkit.world.PokkitWorld.spawnEntity(PokkitWorld.java:756)
at me.poutineqc.buyhead.shop.Shop.(Shop.java:56)
at me.poutineqc.buyhead.commands.Buyh.onCommand(Buyh.java:155)
at nl.rutgerkok.pokkit.plugin.PokkitPlugin.onCommand(PokkitPlugin.java:281)
at cn.nukkit.command.PluginCommand.execute(PluginCommand.java:33)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:225)
at cn.nukkit.Server.dispatchCommand(Server.java:630)
at cn.nukkit.Player.handleDataPacket(Player.java:2663)
at cn.nukkit.network.Network.processPackets(Network.java:193)
at cn.nukkit.network.Network.processBatch(Network.java:164)
at cn.nukkit.Player.handleDataPacket(Player.java:1750)
at cn.nukkit.network.RakNetInterface.handleEncapsulated(RakNetInterface.java:154)
at cn.nukkit.raknet.server.ServerHandler.handlePacket(ServerHandler.java:123)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:63)
at cn.nukkit.network.Network.processInterfaces(Network.java:75)
at cn.nukkit.Server.tick(Server.java:989)
at cn.nukkit.Server.tickProcessor(Server.java:786)
at cn.nukkit.Server.start(Server.java:765)
at cn.nukkit.Server.(Server.java:456)
at cn.nukkit.Nukkit.main(Nukkit.java:65)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.