Minecraft is a great platform to make learning programming fun and with the ScriptCraft plugin it becomes even more accessible.
To quote the ScriptCraft website:
ScriptCraft is a Minecraft Mod that lets you extend Minecraft using the Javascript Programming Language. ScriptCraft makes modding Minecraft easier. It includes a logo-like “Drone” object that can be used to build complex buildings, roads, villages, even entire cities. It also includes many other features that make modding Minecraft easier.
If you want to set up your own server locally to run ScriptCraft you can follow these steps
Download and install Java 1.8 (actually any version > 1.6 should work)
Create a CanaryMod folder in the root of the C: drive
C:\CanaryMod
C:\CanaryMod
folder
To allow the server to start on the first try create a C:\CanaryMod\eula.txt
file with the following content (otherwise it will ask you to edit this file and accept the eula)
eula=true
Create a C:\CanaryMod\start.bat
file with the following content
java -jar CanaryMod-1.2.0.jar
pause
- I find it nicer to run this without the GUI in case errors occur during initialization (eg. with bad config)
- It’s still possible to directly enter commands in the server’s console.
- If you do want to use the GUI then just remove the “java -jar” part from the front of the command or even skip the start.bat file and double click the jar file directly to start the server
C:\CanaryMod\start.bat
Ctrl-c
at the server console promptC:\CanaryMod\plugins
folder
Change or add the following configuration options in
C:\CanaryMod\config\worlds\default\default_NORMAL.cfg
``` ; completely flat worlds are best for building from scratch world-type=FLAT generate-structures=false
; creative mode gamemode=0 pvp=false
; turns off authentication online-mode=false spawn-npcs=false spawn-monsters=false ```
C:\CanaryMod\config\ops.cfg
C:\CanaryMod\worlds
folder (this is also a good way to reset a world)C:\CanaryMod\start.bat
localhost