Let Me Click And Send

A simple Minecraft client-side mod, that reverts the `run_command` click event restriction introduced in 1.19.1-rc1, so non-command messages can be sent freely via `run_command` click event again

Редакция NLZONE · 2 мин чтения · 1 просмотр
Let Me Click And Send
Скачать Let Me Click And Send1.19.1 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

A simple Minecraft client-side mod, that reverts the `run_command` click event restriction introduced in 1.19.1-rc1, so non-command messages can be sent freely via `run_command` click event again

  • Тип: мод
  • Загрузчик: fabric, forge, neoforge
  • Версии Minecraft: 1.19.1 – 26.3
  • Скачиваний на Modrinth: 51 192

Подробно

A simple Minecraft client-side mod, that reverts the runcommand click event restriction introduced in 1.19.1-rc1, so non-command messages can be sent freely as a chat message via runcommand click event again

If you want a solution without user awareness, here's a server-side only mod that does the same thing: LetMeClickAndSendForServer

| Mod | Side | Advantage | Disadvantage | |-------------------------------------------------------------------------------------------|--------|-------------------------------------------|-----------------------------------------------| | LetMeClickAndSend | client | Exactly the same behavior as pre mc1.19.1 | Needs to be installed on all players' clients | | LetMeClickAndSendForServer | server | No need to install on client | Reduces maximum chat message length by 7 |

Let's run the following command, and then click the shown text

bash Minecraft 1.7, 1.21.5) /tellraw @a {"text":"click me to send \"hi\"","clickEvent":{"action":"runcommand","value":"hi"}}

In vanilla 1.19.1 ~ 1.21.4, after clicking, you are not able to say anything since hi is not a valid command (not starts with /)

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

Since MC 1.21.5, the runcommand behavior has changed a lot

First is the change in command syntax, which has little impact:

bash Minecraft [1.21.5, ~) /tellraw @a {"text":"click me to send \"hi\"","clickevent":{"action":"runcommand","command":"hi"}}

Next is the change in behavior, which has a greater impact:

- The command value is always valid, regardless of whether it starts with a / or not - The client will strip the / prefix from the command value and send the remaining string as a command

It's no longer possible to correctly distinguish between "a runcommand for sending chat message" and "a runcommand for sending command"

As a workaround, LetMeClickAndSend for MC >= 1.21.5 will only allow certain commands to bypass the vanilla check and always be click-and-send-able. By default, only command value starting with !!, which is a commonly-used command prefix in [MCDReforged plugin ecosystem, will be allowed

A config file located at ./config/letmeclickandsend/config.json is added for customizing the bypass behavior

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также