This is cool, but for the server it is already possible to use a number of scripting languages. By using the Bukkit server mod, which provides a stable plugin API, it is relatively easy to add a wrapper around a scripting engine [0]. For example, a plugin providing Rhino support [2] and one providing python support [2]. I would recommend either porting your work to the Bukkit framework, or working with one of the exi…
ScriptCraft: Building cool things using Javascript in Minecraft
21–30 of 34 posts
Re: ScriptCraft: Building cool things using Javascript in Minecraft
#22Earlier quoted context omitted.
I'm currently introducing my 10 year old niece to programming using ComputerCraft, a single player mod that introduces several programmable objects in to the Minecraft world. Installing is a bit of an exercise, because it requires Forge, but it is otherwise worth it. I recommend using MCPatcher to load Forge, then just drop the ComputerCraft zip in to the /mods folder inside your Minecraft data folder. http://www.com…
Using MagicLauncher[1] makes it much easier. 1: http://www.minecraftforum.net/topic/939149-launcher-magic-la...
One of the downsides of the diversity in the Minecraft modding community is that it can be difficult to identify the "best" way to do something. New tools come and go, and compatibility wanes when new releases hit.
Re: ScriptCraft: Building cool things using Javascript in Minecraft
#23Considering how much of Minecraft can be about grinding for resources or MCMMO levels... imagine being able to script the player, or even being allowed "bot teammates" you can script! Since that part of it could run on just the client (minus small interface stuff on the server for clients to request basic info and send player input), you could go all out with as much advanced AI as you can muster, without draining th…
It needs a small fixes to work with the current version of Minecraft but it's pretty feature complete. We were using it internally for load testing (until we made our architecture support multiple games).
Re: ScriptCraft: Building cool things using Javascript in Minecraft
#24Cool. As a matter of fact, about a week ago I tried to do something similar by trying to integrate Python with Minecraft. I actually did expose the full Bukkit API to Python (easy enough to do), so all its commands are available. I didn't really like the "type your code in Minecraft chat"-approach many similar projects were/are taking (i.e. "/js myCodeHere()" in chat) and wanted a proper interpreter window. To integr…
Re: ScriptCraft: Building cool things using Javascript in Minecraft
#25Considering how much of Minecraft can be about grinding for resources or MCMMO levels... imagine being able to script the player, or even being allowed "bot teammates" you can script! Since that part of it could run on just the client (minus small interface stuff on the server for clients to request basic info and send player input), you could go all out with as much advanced AI as you can muster, without draining th…
There exists a mod that lets you build mining turtles, script-able in lua. If you really want to destroy your time, look up the Technic modpack-it has all sorts of awesome stuff like that.
Re: ScriptCraft: Building cool things using Javascript in Minecraft
#26With this, I've created an entirely custom RPG class plugin, and a complete dungeon editor.
Problem was, with the 1.4.6 update, Skript stopped working in some areas so I've been forced to go into Eclipse and write Java with the bukkit APIs directly. For someone with experience, jumping into Bukkit plugin development was a piece of cake, but I was able to build out very very very sophisticated plugins with Skript before the update broke it.
Re: ScriptCraft: Building cool things using Javascript in Minecraft
#27Cool. As a matter of fact, about a week ago I tried to do something similar by trying to integrate Python with Minecraft. I actually did expose the full Bukkit API to Python (easy enough to do), so all its commands are available. I didn't really like the "type your code in Minecraft chat"-approach many similar projects were/are taking (i.e. "/js myCodeHere()" in chat) and wanted a proper interpreter window. To integr…
I have been using a python-bukkit plugin layer for quite some time for a lot of small administrative plugin tasks on my private server. You should check out his project, it's on github.
Re: ScriptCraft: Building cool things using Javascript in Minecraft
#28This is cool, but for the server it is already possible to use a number of scripting languages. By using the Bukkit server mod, which provides a stable plugin API, it is relatively easy to add a wrapper around a scripting engine [0]. For example, a plugin providing Rhino support [2] and one providing python support [2]. I would recommend either porting your work to the Bukkit framework, or working with one of the exi…
Bukkit plugins require running a separate server and giving the kids access to the server. Doesn't seem as practical as a client mod if you're trying to make it kid friendly.
I agree a client mod is a great place to have this functionality, but if it is being done on the server as well then using a framework like Bukkit is a great choice.
For one thing, the author complained about obfuscation making it difficult to expose different functions in the game. Bukkit provides a stable API, so it makes sense for a scripting wrapper to expose those functions, and by doing so gain a lot of functionality.
Re: ScriptCraft: Building cool things using Javascript in Minecraft
#29Re: ScriptCraft: Building cool things using Javascript in Minecraft
#30This is cool, but for the server it is already possible to use a number of scripting languages. By using the Bukkit server mod, which provides a stable plugin API, it is relatively easy to add a wrapper around a scripting engine [0]. For example, a plugin providing Rhino support [2] and one providing python support [2]. I would recommend either porting your work to the Bukkit framework, or working with one of the exi…