Finally things are set up to do Minecraft modding 🙂
After the CanaryMod server is up
Some modifications on server and world files has to be done first
Run Minecraft
Choose some settings before play
Choose Multiplayer
And there it is the server is waiting for login
And now we are inside the game ready to do some modifications! 🙂
This is a command in javascript to say hello to self
*note: don’t forget to op the username on the server command line
This is what happen when you declare an oak blocks:
So basically to do modifications, just create .js files under scriptcraft\plugins\{username} like this:
refresh the game
and then use the function has been created
to get something like this
and create another script
do refresh and try to boo yourself
and get boo-ed
or try some yo
and get yo-ed LOL
More complex command can also be done
Well, the possibility is endless! This is an awesome way to teach and encourage kids to create, to modify, to learn about codes subliminally (because they will also learn about looping, function and if-conditions by building things ;))
ProCodeCG is ready to teach programming with Minecraft Modding! 🙂
Useful references:
https://github.com/walterhiggins/ScriptCraft/blob/master/docs/YoungPersonsGuideToProgrammingMinecraft.md
One thought on “Getting Prepared for Minecraft Programming”