Sueta

Kode

1.1.0

Coding in Minecraft

·Plugin

Kode
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).

Usage
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
    Bukkit.getServer()
    inside a plugin.
  • Session - Provides access to the Kode Session that you are manipulating. Check out the source for more details on that class.

Prerequisites
Your server needs to be running Java 8 or later.

Features

  • 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

Screenshot

Source
You can check out the source on Github

Similar projects

Plugin →