Plugins in Groovy?

Discussion in 'Plugin Development' started by Delocaz, Aug 5, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Delocaz

    I have just discovered Groovy, a language that can best be described as a mix of Java, Python and Ruby. It compiles to Java bytecode (.class files), and therefore I thought you could make plugins with it.

    The thing is, it has a pretty large library (~7mb, on top of Java), and I'd like to not bundle that with my plugins. Is there any way to avoid that?
     
  2. Offline

    Rocoty

    Use Java...............?
     
  3. You could require the end user to download it and place it in the "lib" directory.
     
  4. Offline

    Delocaz

    How would one make the plugin load the library?
     
  5. Offline

    Bill Kress

    I made a plugin that lets you use groovy--it even auto-loads scripts (You just edit them in place and they are automatically loaded and installed... you can even edit them in place and they are automatically recompiled and reloaded into your minecraft server without restarting it).

    Anyway, nobody but me ever used it as far as I know, but it did work (It was a while ago, might be broken now but you are welcome to give it a try).

    https://github.com/BillKress/EzPlugin

    Might take a few tweaks... if anyone was really interested I might take it up again.
     
  6. Offline

    xTrollxDudex

    Bill Kress
    Well you didn't have to bump a 4 month old thread...
     
Thread Status:
Not open for further replies.

Share This Page