Quantcast
Channel: Server Mods from Bukkit.org
Viewing all articles
Browse latest Browse all 2356

cljminecraft

$
0
0

This plugin enables other Clojure plugins on CraftBukkit. This doesn't do much on its own except open up a clojure REPL and add some sample commands.

See clj-minecraft on github for most up to date instructions on how to build your own Clojure plugins, but in essence:

lein new cljminecraft yourplugin
cd yourplugin
lein jar
cp target/*.jar /path/to/bukkit/plugins/

Add this mod to your Bukkit/plugins folder and fire it up, you should have a running plugin. Now go and look at the generated source and hack away.

With just this mod on default settings, you can connect to the REPL directly using :

lein repl :connect 4005

This will connect to your server and you'll be able to interactively write and run code directly into the server. More on this later.

You can disable the REPL for your server in the config.yml file that gets created.


Viewing all articles
Browse latest Browse all 2356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>