Mod
Let Me Click And Send
No reviews yet
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
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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 as a chat message via run_command 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 |
Example
Let's run the following command, and then click the shown text
# Minecraft [1.7, 1.21.5)
/tellraw @a {"text":"click me to send \"hi\"","clickEvent":{"action":"run_command","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
MC 1.21.5+
Since MC 1.21.5, the run_command behavior has changed a lot
First is the change in command syntax, which has little impact:
# Minecraft [1.21.5, ~)
/tellraw @a {"text":"click me to send \"hi\"","click_event":{"action":"run_command","command":"hi"}}
Next is the change in behavior, which has a greater impact:
- The
commandvalue is always valid, regardless of whether it starts with a/or not - The client will strip the
/prefix from thecommandvalue and send the remaining string as a command
It's no longer possible to correctly distinguish between "a run_command for sending chat message" and "a run_command for sending command"
As a workaround, LetMeClickAndSendForServer for MC >= 1.21.5 will only replace certain command with the /lmcas command.
By default, only command value starting with !!, which is a commonly-used command prefix
in MCDReforged plugin ecosystem, will be replaced
A config file located at ./config/letmeclickandsendforserver/config.json is added for customizing the replacing behavior
{
"sendChatPattern": "!!.*"
}
The sendChatPattern should be a valid regex pattern. All command values that fully match the pattern will be as chat messages
To test with the default configuration, you can use:
/tellraw @a {"text":"click me to send \"!!MCDR\"","click_event":{"action":"run_command","command":"!!MCDR"}}
Requirements
It's a client-side only mod. It requires 0 extra dependency
Requirements:
- Minecraft >= 1.19.1
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 as a chat message via run_command 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 |
Example
Let's run the following command, and then click the shown text
# Minecraft [1.7, 1.21.5)
/tellraw @a {"text":"click me to send \"hi\"","clickEvent":{"action":"run_command","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
MC 1.21.5+
Since MC 1.21.5, the run_command behavior has changed a lot
First is the change in command syntax, which has little impact:
# Minecraft [1.21.5, ~)
/tellraw @a {"text":"click me to send \"hi\"","click_event":{"action":"run_command","command":"hi"}}
Next is the change in behavior, which has a greater impact:
- The
commandvalue is always valid, regardless of whether it starts with a/or not - The client will strip the
/prefix from thecommandvalue and send the remaining string as a command
It's no longer possible to correctly distinguish between "a run_command for sending chat message" and "a run_command 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
{
"sendChatPattern": "!!.*"
}
The sendChatPattern should be a valid regex pattern. All command values that fully match the pattern will be as chat messages
To test with the default configuration, you can use:
/tellraw @a {"text":"click me to send \"!!MCDR\"","click_event":{"action":"run_command","command":"!!MCDR"}}
Requirements
It's a client-side only mod. It requires 0 extra dependency
Requirements:
- Minecraft >= 1.19.1
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers