Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Client-side
Tags
Creators
Details
Licensed MIT
Published 18 hours ago
Updated last month
What it does
Open a live console overlay while you play. Type commands, run JavaScript, save multi-line scripts to files, and bind actions to keys. Everything runs on the client tick thread, so it stays stable while the game keeps running behind it.
Scripting
Three ways to run code:
| Prefix | What it runs |
|---|---|
| (none) | Console commands |
> |
JavaScript (GraalJS) — live game access |
>> |
Real Java via JShell (dev/JDK only) |
Scripts get mc, player, world, lc (feature toggles), and fx — a helper API for particles, movement, HUD text, and more that works on a normal install. |
|
Run code every tick with tick <code>, or save proper multi-line scripts as files: |
|
| script new myscript → create & open in your editor script run myscript → run once script tick myscript → run every tick |
Scripts live in config/live-console/scripts/.
Aliases
Set a shortcut for a visual effect:
alias ring > (function(){for(var i=0;i<16;i++){var a=i/16*6.283;fx.particle('flame',fx.px()+Math.cos(a)*2,fx.py()+0.5,fx.pz()+Math.sin(a)*2);}})()
Now when you type ring in the console, it spawns a flame ring. Remove it with unalias ring.
Bind it to a key:
bind r ring
Press R in-game and you get a ring of fire around your feet.
Interactions with the chat enviroment
var lines = [
"3",
"2",
"1",
"GO!"
];
for (var i = 0; i < lines.length; i++) {
// one message per run — run 4 times manually, or use tick with a timer
fx.say(lines[i].replace(/&/g, "&"));
}
fx.say(">>> GO! <<<");
To run it: script new chat Copy paste the content provided above into the new file Save script run chat
Console features
- Tab completion and command history
- Scrollback with mouse wheel / Page Up & Down
- Ctrl+C copies the full log; click a line to copy just that line
- In-game
docscommand for the full guide - Logo and header in the console UI
Requirements
- Minecraft 1.21.1+
- Fabric Loader + Fabric API
- Java 21+


