Hello World in Minecraft with Scriptcraft

By now you’ve installed your server with Scriptcraft, connected to it, and you’re playing in multiplayer mode on it. If you’re not, go back to our main Minecraft modding page and follow one of the tutorials on installing your Scriptcraft-enabled server, either locally or in the cloud.

Entering your JS code in Minecraft

This is your first line of code in Minecraft. The /js part tells Minecraft to run what follows through the JavaScript interpreter. The echo("hello world"); part tells Minecraft to echo what you typed back to your output line. Type that into Minecraft and hit Enter.

Hello World Output

And this is the output you should have.

Feeling confident? Move on to finding out about variables, functions, and arguments.

Or go back to the main Minecraft modding menu

Leave a Reply

Your email address will not be published. Required fields are marked *

*