Script Interpreter is a Minecraft Bedrock add-on that lets players write and run JavaScript code directly in the game and see error feedback immediately. It works as a REPL, an interactive shell where the player types multi-line code into a form and presses Submit to execute it, and the add-on is mainly used by its creator to explore new Script APIs. The interpreter is opened through a special enchantment book named JavaScript Interpreter [Use], which can be obtained with a script event command or the /jayly:interpreter slash command. Script blocks are a persistent in-world feature that store JavaScript code and run it when activated by pressure plates or buttons, displaying the script output to the player who activates them. Script blocks are not flammable, have bedrock-level blast resistance, can be moved by pistons while keeping their stored data, and can hold up to 32,767 characters of code, though they cannot be mined in Survival mode and are obtained through commands or the pick block control. The add-on also supports startup and shutdown scripts, which are configured through a form opened with /function repl/startup or /function repl/shutdown and run automatically when the add-on loads or when the world shuts down. Additional custom commands provide access to the interpreter, display its version, manage script data with clear and stats options, and list available help. Beta API features require enabling the Beta APIs experiment in world settings, and the add-on supports several script modules such as @minecraft/server, @minecraft/server-ui, and @minecraft/diagnostics, and can be used on Bedrock Dedicated Servers with module setup.
Written from CurseForge and the GitHub README . How we write it
The newest release or beta for each Bedrock version, on CurseForge.
Have a copy of Script Interpreter [v1.21.120+]? Check that it is the official one.
Drop it here. We compare its fingerprint with the official Script Interpreter [v1.21.120+] files. A file we do not know is not sent: we only say what its manifest declares.
Who makes Script Interpreter [v1.21.120+], with their most downloaded other projects.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Goes online
Its scripts can send web requests with @minecraft/server-net.
This only works on a Bedrock Dedicated Server whose owner allows it. In single player and on Realms its scripts cannot go online.
We read the manifest and every script of its files, and list the web addresses the scripts write.
https://github.com/highlightjs/highlight.js/wiki/securitySomething wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
What we read in the file: its packs, their manifests and their scripts.
interpreter_v1.21.120.mcaddon · 782.5 KB@minecraft/common, @minecraft/debug-utilities (beta), @minecraft/diagnostics, @minecraft/server (beta), @minecraft/server-admin (beta), @minecraft/server-editor, @minecraft/server-editor-bindings, @minecraft/server-editor-private-bindings, @minecraft/server-gametest (beta), @minecraft/server-graphics, @minecraft/server-net, @minecraft/server-ui (beta)interpreterBP/scripts/Main.jsSomething wrong here? Report a mistake