Webcommands
ModrinthSend commands and messages from the web.
1.8k downloads 13 followers updated 4mo ago
latest v2.2-SNAPSHOT-26.1 Modrinth
You can send commands and messages with a GET request.
With that, there are many use cases; some examples:
- Executing commands from an Elgato Stream Deck (using the "Website" button with "Get Request in the Background" enabled)
- Making lists of commands to execute and running them (automation)
- External apps can interact with the game
You can specify the port in the pause menu (default: 80).

With a new web UI, that allows you to generate the link to execute the command or send the chat message. The new webpage also includes the Spyglass command completion and syntax highlighting. This allows for easier debugging.
With the newest version, you can also receive the command result. On the webpage, you can just execute one command and instantly get the result. When you execute the command with the GET request, you can also get the unformatted data.
Sample return from the command /list from visiting http://localhost/get?"/list"
{
"commandResult":"translation{key='commands.list.players', args=[1, 8, literal{BlauToad}[style={clickEvent=class_10610[command=/tell BlauToad ],hoverEvent=class_10611[entity=net.minecraft.class_2568$class_5248@e5c10f33],insertion=BlauToad}]]}",
"commandResultText":"There are 1 of a max of 8 players online: BlauToad",
"debug":0
}
Versions
Release
2.2-SNAPSHOT-26.1
Updated to Minecraft Official Mappings
Updated to 26.1 Snapshot 1 or higher
Release
2.1-SNAPSHOT-1.21.6
TLDR; Support for >= 1.21.6
The color was updated from just using RGB to using ARGB. To support this change the color had to be updated for the Port…
Beta
2.0-SNAPSHOT-1.20.6
**New Features:**
- Retrieve the result of commands
- NEW web editor (with codemirror & spyglassmc)
- Support for 1.20.6-1.21.5
Alpha
1.4-SNAPSHOT
- New Multicommand execution. Execute multiple commands by putting them in multiple lines.
(This currently generates long URLs that are limited by the browser,…

Comments 0
No comments yet. Be the first to share your thoughts.