Back to mods
Shell Bridge project artwork

Modrinth · Minecraft mod

Shell Bridge

A Minecraft mod that allows you to run shell commands from chat.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Shell Bridge release matches 1.19.4?

Updated 1 year ago
Best match for your filters 1.2.1
Game version 1.19.3, 1.19.4
Loader Fabric

Shell Bridge 1.2.1 targets 1.19.3, 1.19.4 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Shell Bridge required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Shell Bridge 1.2.1 need?

1.2.1 on 1.19.4. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Shell Bridge without breaking your instance.

Built for Shell Bridge 1.2.1 on 1.19.4. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.1. It targets 1.19.3, 1.19.4 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.1. It opens that exact file at the source.

About this project

What does Shell Bridge add?

A Minecraft mod that allows you to run shell commands via chat. \

It supports Linux and Windows shells. [ Bash & Powershell ]
use $config script_command "powershell.exe {path}" if on windows

Demo .gif

Commands

$help [command name (optional) - lists commands
$exec [args] - executes arguments in shell
$stop - stops current process
$cd [path] - changes working directory of the shell
$clear - clears the chat
$config- change config
$run - runs a script (more changes to come to this soon)

Config help

only option is $config script_command [value]
this is used when you do $run [path]
you can do {path} to put where the script path is
the reason for this is because different os use different executors such as bash or powershell
also it means you can do python or any other scripting command

Shell to minecraft?

This is a feature being worked on

Commands

asplayer [what does player put in chat]

powershell - script.ps1:

param (
    [Parameter(Mandatory=$true)]
    [string]$argument
)

$hostname = "localhost"
$port = 1234

$socket = New-Object System.Net.Sockets.TcpClient($hostname, $port)
$stream = $socket.GetStream()
$writer = New-Object System.IO.StreamWriter($stream)
$reader = New-Object System.IO.StreamReader($stream)

$writer.WriteLine($argument)
$writer.Flush()

$response = $reader.ReadLine()
Write-Host $response

$socket.Close()

to run it:

.\script.ps1 -argument "asplayer  [what does player put in chat]"

bash script.sh:

#!/bin/bash

argument=$1
hostname="localhost"
port=1234

exec 3<>/dev/tcp/$hostname/$port

echo "$argument" >&3
response=$(head -n 1 <&3)

echo $response

exec 3<&-
exec 3>&-

to run it:

./script.sh "asplayer  [what does player put in chat]"

About Project

Author: Username-31415
Contributor: Silverainox

Future releases will add support for based API's like Git, Pastebin, etc to allow users working with their beloved software directly from Minecraft.

We also value community feedback and reports as its critical for us to eventually perfect this project :)

If you have any questions or have a suggestion, feel free to join our community Discord server
[ Szmelc & Friends ] ~ [ Based Projects Server ] - https://discord.gg/dtEvHFXnSb

My discord username is:
@3_14159265358

Project description from Modrinth.

Pick your setup

Shell Bridge by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Shell Bridge versions and loaders

3 of 5 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.