Experimental Pokkit 0.9.6

Compatible API Versions
Nukkit 1.0.8+ / Spigot 1.13.2
ZINGDING, Rutger Kok, OliverUv, MrPowerGamerBR, Langsdorf, daveboden, SuperAlecs, RaynLegends, PikyCZ, NycuRO, Ankit, Jesse Boyd, PetteriM1, Magikcraft, wode490390, RednedEpic
This plugin is still in development.
Please report bugs here: https://github.com/PetteriM1/Pokkit/issues and remember to include full stack trace in case of an error!

For Bukkit/Spigot 1.13.2 plugins.

The Minecraft multiplayer scene is fragmented. There are many competing server implementations. A popular server software is Spigot. Spigot is able to load plugins, which can interact with Minecraft through the Spigot Plugin API. For Minecraft Pocket Edition, the mobile version of Minecraft, a server with a plugin API similar to Spigot exists: Nukkit. Unfortunately, plugins written for Spigot cannot run on Nukkit.

Pokkit is a translation layer that allows plugins written for Spigot to work on Nukkit. However, it is far from perfect. Because of the size of the Spigot API, it is not possible for me to implement all of the Spigot API.

Do not expect that Pokkit allows you to run a random Spigot plugin on Nukkit. Pokkit is still very incomplete, so only a handful of plugins will work. A list of plugins that are confirmed to work or not to work can be found on Google Docs. You are encouraged to edit this list yourself if you have found a Spigot plugin that works or doesn't work.

My motivation for creating Pokkit was to allow some plugins that I use to work on Nukkit. I am not trying to write a complete implementation of the Spigot API myself. This would be impossible. Keep in mind that Spigot was created over the span of five years by hundreds of different programmers.

For Spigot plugin developrs
If you are a Spigot plugin developer looking to port your plugin, Pokkit may be very interesting to you. Instead of maintaining two code bases, or introducing large amounts of abstraction into your codebase, you can simply keep using the Spigot API.

While testing your plugin, you will most likely come accross an unimplemented method or event. You are encouraged to implement these methods and events, and to submit your changes as a pull request. This will bring us closer to a complete implementation of the Spigot API.

To get started writing code for Pokkit, there a file with examples on how methods can be implemented.

How to use it
Install Pokkit like you would install any Nukkit plugin: place the JAR file in the plugins directory of your Nukkit server. Start your server, then stop it again. You'll notice that a new folder has been created inside the plugins directory: a folder called Pokkit. Open this folder. Inside the folder, there is three things:

  • A folder called bukkitPlugins: place any plugin written for Spigot in this folder.
  • A file called permissions.yml: this is Bukkit's permissions.yml file.
  • A file called scoreboard.yml: scoreboard data is saved here.
It is important to remember that you must put Bukkit plugins in the plugins/Pokkit/bukkitPlugins/ directory, and not in the Nukkit plugins directory.

License is MIT, except for the files that were derived from the Bukkit project. See the license file for details.
First release
Last update
4.00 star(s) 17 ratings

More resources from PetteriM1

Latest updates

  1. Update

    Some improvements
  2. Update

    Uploaded the latest version
  3. Update

    More stuff implemented Please report bugs here: https://github.com/PetteriM1/Pokkit/issues

Latest reviews

please supporting gui.
if plugin have gui , its not working
#more updates. This plugin is great 8 really like it
It's a nice Plugin but could you update the Plugin that more bukkit plugins will work?
If the plugin has GUI system, it will shut down the server automatically.
Hope you can fix this vulnerability
I am from china.
I don't speak English very well
This plugin is great
As soon as I install pokkit my server just always turns its self off till I delete pokkit What can I do?
java.lang.UnsupportedOperationException: This method is not supported yet by Pokkit 0.9.3
at nl.rutgerkok.pokkit.Pokkit.unsupported(Pokkit.java:69) ~[?:?]
at nl.rutgerkok.pokkit.player.PokkitPlayer.setSleepingIgnored(PokkitPlayer.java:1273) ~[?:?]
at com.earth2me.essentials.EssentialsPlayerListener$1DelayJoinTask.run(EssentialsPlayerListener.java:250) ~[?:?]
at cn.nukkit.scheduler.TaskHandler.run(TaskHandler.java:99) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.scheduler.ServerScheduler.runTasks(ServerScheduler.java:296) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.scheduler.ServerScheduler.mainThreadHeartbeat(ServerScheduler.java:277) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.tick(Server.java:1134) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.tickProcessor(Server.java:905) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.start(Server.java:882) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.<init>(Server.java:567) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:112) [nukkit-1.0-SNAPSHOT.jar:?]
This is great and useful, But please add BossBar support.
how do i give permission?
Does that allow me to connect to the API of plugins running through Pokkit?