Kode 1.1.0

Coding in Minecraft

  1. 915Ninja
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    Coding in Minecraft

    Kode is a Bukkit/Spigot plugin that enables one to code inside the game Minecraft. It utilizes the Conversations API as well as the Nashorn ScriptEngine (JDK 1.8).

    Simply compile it (or download) and put it into your server's /plugins directory. Additionally, add any other plugins that integrate additional functionality as desired.

    In-game, then use the /kode command to start an interpreter session. Code as desired, then when you are done, type "exit()" (without the quotes). During your session, you cannot talk through in-game chat, as input is redirected to the plugin.

    There are two global variables defined already. They are
    • Server - Provides access to the Bukkit instance. This is equivalent to calling
      Code (Text):
      inside a plugin.
    • Session - Provides access to the Kode Session that you are manipulating. Check out the source for more details on that class.

    Your server needs to be running Java 8 or later.

    • Nashorn Javascript / Bukkit API integration
    • Prototype and experiment without having to recompile a plugin and reload the server every time
    • Adds limitless possibility to a game with unlimited possibilities

    You can check out the source on Github