Re: Anyone interested in helping on a Minecraft plugin project?
Jim Baker <[email protected]>
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <CAOhO=aOhPt1TXuApOzdGSRVkN6j4AwtudYST+3tbYycCZ+yS0w@mail.gmail.com> |
I have no problem holding hands here :) Sometimes I'm limited by time, but such annotation support is now a work priority for me. Given that Minecraft Jython support should be a very good demonstration of what Clamp can do, and what we need to work on, I'm especially eager for any and all guinea pigs. Let's do it! - Jim On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <[email protected]> wrote: > Sorry about taking it off-list, was trying to be considerate to others > here, as I was coming hat-in-hand. > > You and I have talked before about Clamp as a build solution. I’m all for > being a guinea pig on Clamp, annotations, etc. but I worry that my huge > deficit on Java/Jython building will result in my outsourcing our building > to you. :) > > But if you’re up for hand-holding, I’ll gladly provide the hands. > > —Paul > > On Oct 19, 2015, at 7:31 PM, Jim Baker <[email protected]> wrote: > > Paul, > > I don't think this needs to be in a private email - threads work well > enough :), and this list is very low traffic. > > Anyway, I'm back from vacation, and I should let you and Ben know that I > plan to work next on Clamp's support for Java annotations [1]. We need this > for a project using Spring annotations; that it supports Minecraft sounds > like a very nice bonus to me. I'm sure others will find this very > beneficial as well in their Jython usage. > > - Jim > > [1]: https://github.com/jythontools/clamp#supporting-java-annotations > > On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <[email protected]> wrote: > >> >> To save everybody from a discussion about this on-list, I’ll reply to you >> in private. >> >> —Paul >> >> On Oct 19, 2015, at 5:41 PM, Ben Lewis <[email protected]> wrote: >> >> Hello Paul >> >> Recently I have also been investigating ways of creating minecraft >> plugins in python. I have came up with a prototype of building plugins on >> top of the Sponge API. >> >> I have put the code on github here https://github.com/skinny121/PySponge >> >> The major hurdles for creating a binding is that the different plugin >> apis all like to use annotations and they often use annotations statically >> to discovers plugins. >> >> The solution I came up with was to simply generate the main plugin java >> class via a setup script and link to the plugin python files from there. >> >> Ben Lewis >> >> On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <[email protected]> >> wrote: >> >>> >>> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer < >>> [email protected]> wrote: >>> >>> Hi Paul, >>> >>> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >>> >>> >>> >>> As has been discussed here a few times, Minecraft is a great place for >>> getting kids interested in programming. Python, via Jython, is a great >>> match for that, as the #1 teaching language. >>> >>> >>> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to >>> teach MC some new tricks if >>> it would be approachable. >>> >>> >>> It certainly has the potential to be quite approachable. Seppe’s >>> original blog post has a screencast showing how you can let people type in >>> Python code, from a browser: >>> >>> >>> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html >>> >>> We have other material in a different place (GitHub organization with >>> some repos) but I don’t want to promote that name until it’s clear the >>> project will continue. >>> >>> >>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you >>> run Python code that talks to the Minecraft server API, including a >>> websocket-based Web UI for typing in code that is sent over and executed. >>> It’s fascinating stuff. I’m pitching in to work on that frontend and some >>> other project stuff. >>> >>> >>> Do you have a link somewhere? >>> >>> >>> But we need some help on the Java/Jython side if it is going to go >>> anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, >>> and Jython would go a long way. I don’t know those things, and am unlikely >>> to learn it well enough in the time I have available. >>> >>> >>> Well -- I don't know about java (cough) but we do have experience in >>> Jython -- our company's software >>> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >>> >>> The problem is I have not the faintest idea how MC works. Any concrete >>> issues / suggestions? >>> >>> >>> Minecraft servers support server-side extension via plugin systems. >>> There are 3 main plugin projects at the moment: >>> >>> - Canary (dead) >>> - Spigot (successor to Canary’s API) >>> - Sponge (more ambitious) >>> >>> Seppe’s code has support for Canary and Spigot. For the most part, it >>> works, but there are some things that could be done. >>> >>> What’s more needed, though, is basic Java/Jython stuff. We don’t have an >>> automated way to build it (e.g Gradle or Maven) which also means we can’t >>> really hook it up to a CI server. (For that matter, we don’t have any >>> tests.) >>> >>> At the point where we want to attract any outsiders, we need to pay >>> attention to some form of distribution. Our build is currently very large >>> and you have to do a few semi-error-prone manual steps to install. >>> >>> Finally, you have to run a web server manually to serve up the static >>> files for the web UI. Would be nice to have the Jython process do that, >>> just to eliminate some steps needed. >>> >>> Beyond that, the sky is the limit. A system where plugin people could >>> create, collaborate, and share little snippets is certainly feasible. And >>> once we get to the point where we can reach out to the Python community, >>> we’ll have plenty of help. But we’re stuck at the moment on Java janitorial >>> work. [wink] >>> >>> —Paul >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Jython-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >>> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jython-users > > ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-users