Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_Ut6Uuj38.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Webcommands - 墨喵 Minecraft 资源
Webcommands 图标

Webcommands

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.2-SNAPSHOT-26.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/webcommands
资源信息

Minecraft 版本: 26.1-snapshot-1 26.1-snapshot-2 26.1-snapshot-3 26.1-snapshot-4 26.1-snapshot-5 26.1-snapshot-6 26.1-snapshot-7 26.1-snapshot-8 26.1-snapshot-9 26.1-snapshot-10 26.1-snapshot-11 26.1-pre-1 26.1-pre-2 26.1-pre-3 26.1-rc-1 26.1-rc-2 26.1-rc-3 26.1 26.1.1-rc-1 26.1.1 26.2-snapshot-1 26.1.2-rc-1 26.1.2 26.2-snapshot-2 26.2-snapshot-3 26.2-snapshot-4 26.2-snapshot-5 26.2-snapshot-6 26.2-snapshot-7 26.2-snapshot-8 26.2-pre-1 26.2-pre-2 26.2-pre-3 26.2-pre-4 26.2-pre-5 26.2-pre-6 26.2-rc-1 26.2-rc-2 26.2

平台: fabric

标签: 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
}
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
husk loot overhaul

价格:0 墨喵币
下载量:0

查看详情
BaguetteLib

价格:0 墨喵币
下载量:0

查看详情
Living Mause 5

价格:0 墨喵币
下载量:0

查看详情
Nautilium Spirits

价格:0 墨喵币
下载量:0

查看详情