- Home
- Minecraft Datapack Generators
- Minecraft Script
Minecraft Script
What it is
Minecraft Script is a free, MIT-licensed programming language for developers creating Minecraft datapacks, maps, packages, and mcfunction files. Its compiler converts .mcscript files into Minecraft .mcfunction files. Documented language features include modals, loops, variables, constants, and command wrapping, with examples showing for, while, and if/else control flow. Variables can store numbers and perform operations such as addition and subtraction. The command-line tool can create datapacks, compile scripts, watch saved files for automatic recompilation, and add datapacks from a resource URL or mcScript Extension name. Scripts can generate multiple files, choose output paths, and extend previously generated files. Global .gl.mcscript files share declarations across files. Versions are listed for Linux, macOS, and Windows. Local installation requires Node.js and npm, using npm install -g mcscript. An online version exists, while the local compiler adds directory compilation, new-file output, and file watching. Syntax highlighting is listed for Visual Studio Code, Atom, and Notepad++.
For and against
For
- Compiles .mcscript into Minecraft .mcfunction files
- Supports loops, variables, constants, and modals
- CLI creates datapacks and watches file changes
- Generates multiple files with chosen output paths
- MIT licensed and free
Against
- Local installation requires Node.js and npm
- Online version has fewer compiler features
- Repository guide was last updated September 22, 2020
The verdict
Minecraft Script offers a focused language and CLI for generating Minecraft functions and datapacks. The local tool provides more automation than the online version, but requires a Node.js environment.
Who it suits
It suits Minecraft datapack and mcfunction developers, including people building maps and packages. Users comfortable with Node.js and npm can install the local compiler.
On the record
- CLI
- The CLI can create datapack files, compile scripts, and watch for saved changes to recompile.github.com · read 4 Oct 2026
- CLI commands
- The CLI can create a datapack, compile files, watch for saved changes and add a datapack by URL or package name.mcscript.stevertus.com · read 9 Oct 2026
- Community and help
- The maker's site links to a Discord community, and the repository documentation invites users to contact the team about proposals, problems, or errors.mcscript.stevertus.com · read 4 Oct 2026
- Compilation
- It compiles .mcscript files into Minecraft .mcfunction files.mcscript.stevertus.com · read 9 Oct 2026
- Compiler
- The compiler converts .mcscript files into Minecraft .mcfunction files.mcscript.stevertus.com · read 4 Oct 2026
- Control flow
- The home page demonstrates for and while loops, and if/else statements.mcscript.stevertus.com · read 9 Oct 2026
- Dependencies
- Installation requires the Node.js environment and Node Package Manager.mcscript.stevertus.com · read 9 Oct 2026
- Editor support
- The project lists syntax highlighting support for Visual Studio Code, Atom, and Notepad++.github.com · read 4 Oct 2026
- File generation
- The home page says it can generate and merge files, including files created in loops.mcscript.stevertus.com · read 9 Oct 2026
- Global declarations
- Global .gl.mcscript files can make variables, constants, and modals available to other files.github.com · read 4 Oct 2026
- Integrations
- The CLI's add command accepts a resource URL or mcScript Extension name to add a datapack.mcscript.stevertus.com · read 9 Oct 2026
- Intended users
- The documentation describes the audience as developers of mcfunctions, Minecraft maps and packages.mcscript.stevertus.com · read 9 Oct 2026
- Language features
- The documentation lists modals, loops, variables, constants and command wrapping as language features.mcscript.stevertus.com · read 9 Oct 2026
- License
- The maker's site identifies Minecraft Script as MIT licensed.mcscript.stevertus.com · read 4 Oct 2026
- Local compiler
- The compiler is distributed as a Node.js package installed locally with npm install -g mcscript.mcscript.stevertus.com · read 9 Oct 2026
- Maker location
- The maker's main site says it is made with heart in Germany.stevertus.com · read 4 Oct 2026
- Notable limit
- Installation requires a Node.js environment and Node Package Manager.mcscript.stevertus.com · read 4 Oct 2026
- Online version
- The documentation says the locally installed compiler enables more features than the online version, including compiling directories, writing output to new files and watching changes.mcscript.stevertus.com · read 9 Oct 2026