Перейти к содержимому
Mineforgian

Webcommands

Send commands and messages from the web.

Загрузки
2K
Подписчики
13
Обновлён
3 февраля 2026 г.
Лицензия
Apache-2.0

Опубликован 18 июня 2023 г.

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
}

Ченджлог

2.2-SNAPSHOT-26.1Релиз26.2-rc-1, 26.2-rc-2, 26.2 · 3 февраля 2026 г.

Updated to Minecraft Official Mappings Updated to 26.1 Snapshot 1 or higher

2.1-SNAPSHOT-1.21.6Релиз1.21.9, 1.21.10, 1.21.11 · 30 августа 2025 г.

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.

2.0-SNAPSHOT-1.20.6Бета1.21.3, 1.21.4, 1.21.5 · 5 мая 2024 г.

New Features:

  • Retrieve the result of commands
  • NEW web editor (with codemirror & spyglassmc)
  • Support for 1.20.6-1.21.5
1.8-SNAPSHOT-1.20.2Альфа1.20.4, 1.20.5, 1.20.6 · 21 сентября 2023 г.

1.20.2-1.20.6 Version

1.6-SNAPSHOT-1.20.2-pre2Альфа1.20.2-pre1 · 12 сентября 2023 г.

Updated to Loom 1.3-SNAPSHOT.

Tested 1.20.2 Pre1 & Pre2

1.5-SNAPSHOTАльфа1.20.1, 23w31a · 7 сентября 2023 г.

Added a translation file. Button texts can be translated now.

1.4-SNAPSHOTАльфа1.20.1 · 22 августа 2023 г.
  • 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.

1.3-SNAPSHOTАльфа1.20.1 · 3 июля 2023 г.

Fixed an issue with the mixin.

Комментарии

Загружаем…