All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Webcommands

Webcommands

by BlauToad • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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
}

How to Install Webcommands (Mod)

Webcommands by BlauToad is verified for Fabric across Minecraft versions 1.20.1, 1.20.2, 1.20.2-pre1, 1.20.3, 1.20.3-pre1, 1.20.3-pre2, 1.20.3-pre3, 1.20.3-pre4 (latest release: 2.2-SNAPSHOT-26.1, file size: 75 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.2-pre1, 1.20.3, 1.20.3-pre1, 1.20.3-pre2, 1.20.3-pre3, 1.20.3-pre4) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Webcommands file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.4.x 26.3.x 26.2.x +1
Fabric
10mo ago 1
1.21.x
Fabric
last yr. 1
1.21.x 1.20.6
Fabric
last yr. 1
23w46a 23w45a 23w44a +6
Fabric
last yr. 1
1.20.2-pre1
Fabric
last yr. 1
23w31a 1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
Updated to Minecraft Official Mappings
Updated to 26.1 Snapshot 1 or higher
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 configuration in the pause menu.

  • New Features:**
  • Retrieve the result of commands
  • NEW web editor (with codemirror & spyglassmc)
  • Support for 1.20.6-1.21.5
1.20.2-1.20.6 Version
Updated to Loom 1.3-SNAPSHOT.

Tested 1.20.2 Pre1 & Pre2
Added a translation file. Button texts can be translated now.
  • New Multicommand execution. Execute multiple commands by putting them in multiple lines.
(This currently generates long URLs that are limited by the browser, this will be improved in a future version -> Testing with Edge got me running ~ 20000 lines of commands, so it shouldn't be that big of a limiting factor... )
  • Added two new commands for the execution:
  • A onetime delay with **/&timeout [time]**, which waits before executing the next command.
  • And a global delay from now on, which adds a delay after each command with **/&setdelay [time]**

  • > **[time]** is in the two commands in milliseconds, so 500 would be half of a second!

  • Added an option to exclude lines that begin with **#**, this mimics the comment function in datapack functions.
Fixed an issue with the mixin.
Webcommands Icon
Download Webcommands
Select game version
Select platform