Let Me Click And Send for Server 图标

Let Me Click And Send for Server

作者:rebot | 分类:模组

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

Minecraft 版本: 1.20.5 1.20.6 1.21

平台: fabric

标签: utility

资源介绍

Let Me Click and Send for Server

TL;DR

Server-side version of LetMeClickAndSend that reverses the run_command click event restriction introduced in 1.19.1-rc1.

Why?

For example, we run the following command and then click on the displayed text:

/tellraw @a {"text":"click me to send \"hi\"","clickEvent":{"action":"run_command","value":"hi"}}

In vanilla 1.19.1+ you cannot say anything after clicking because hi is not a valid command (a command shall start with /).

With this mod, you will automatically send a hi message to the server after clicking, which is the same behavior as previous versions of Minecraft.

How?

Unlike the original LetMeClickAndSend, which changed the client behavior, we introduce a random 5-character server-side command generated from [0-9A-za-z] to send a fake player chat.

If we detect a "run_command" action whose value doesn't start with "/", we replace it with the generated command. This way the client will always find a real command from the `run_command' action.

Still using the previous example, we would replace the value "hi" with something like "/a2xBg hi", then client would correctly execute it to send hi from player.

As a result, the maximum length of the `run_command' action is reduced from 256 to 249.

Contact

If you have any problems or suggestions, please let us know on Github.

Copyright

Concept by Alex3236, Authored by ZhuRuoLing, Alex3236, Optijava and HuajiMURsMC.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Michael.jar

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

查看详情
Fantasycraft (optimización)

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

查看详情
The Mole (horror)

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

查看详情
Flaming Swords X Advanced Netherite

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

查看详情