Language

Webcommands

Webcommands

Modrinth

Send commands and messages from the web.

1.8k downloads 13 followers updated 4mo ago
latest v2.2-SNAPSHOT-26.1 Modrinth
Fabric 1.20.1 – 26.2-snapshot-6 Utility

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).

sample usecase with streamdeck

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
fabric · 26.1-snapshot-1, 26.1-snapshot-2, 26.1-snapshot-3 · 4mo ago
Updated to Minecraft Official Mappings Updated to 26.1 Snapshot 1 or higher
57
Release
2.1-SNAPSHOT-1.21.6
fabric · 1.21.6, 1.21.7-rc1, 1.21.7-rc2 · 9mo ago
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…
218
Beta
2.0-SNAPSHOT-1.20.6
fabric · 1.20.6, 1.21, 1.21.1 · 25mo ago
**New Features:** - Retrieve the result of commands - NEW web editor (with codemirror & spyglassmc) - Support for 1.20.6-1.21.5
422
Alpha
1.8-SNAPSHOT-1.20.2
fabric · 1.20.2, 23w40a, 23w41a · 33mo ago
1.20.2-1.20.6 Version
202
Alpha
1.6-SNAPSHOT-1.20.2-pre2
fabric · 1.20.2-pre1 · 33mo ago
Updated to Loom 1.3-SNAPSHOT. Tested 1.20.2 Pre1 & Pre2
82
Alpha
1.5-SNAPSHOT
fabric · 1.20.1, 23w31a · 33mo ago
Added a translation file. Button texts can be translated now.
580
Alpha
1.4-SNAPSHOT
fabric · 1.20.1 · 34mo ago
- New Multicommand execution. Execute multiple commands by putting them in multiple lines. (This currently generates long URLs that are limited by the browser,…
92
Alpha
1.3-SNAPSHOT
fabric · 1.20.1 · 36mo ago
Fixed an issue with the mixin.
153

Comments 0

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