Let Me Click And Send for Server
Reverses the run_command click event restriction introduced in 1.19.1-rc1.
介绍
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.
常见问题
Let Me Click And Send for Server 支持哪些 Minecraft 版本?
Let Me Click And Send for Server 支持 Minecraft Java 版 1.19.1–1.21,共 12 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Let Me Click And Send for Server 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分