Chapter 2. Setting Up ScriptCraft

In the previous chapter you downloaded and installed CanaryMod, a customizable Minecraft server. In this chapter, you’ll install ScriptCraft—a server plugin that lets you write your own plugins using the JavaScript programming language.

What Is ScriptCraft?

ScriptCraft is a plugin for Minecraft that lets you create plugins using JavaScript instead of Java. It is a server plugin, which means it is installed on a server (CanaryMod) but once installed can be used by all players connected to that server. I created ScriptCraft for several reasons:

Image To make it easier for myself to create Minecraft mods

To make it ...

Get A Beginner’s Guide to Writing Minecraft Plugins in JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.